[英]Getting a list of filtering attributes for a CRM Plugin (already installed)
I have Dynamics CRM 4.0 installed and wrote a plugin, registered it, and setup a "step" that included a few filtering attributes. 我安装了Dynamics CRM 4.0,并编写了一个插件,进行了注册,然后设置了包含一些过滤属性的“步骤”。 2 questions:
2个问题:
If you want to get every property in an image that you've sent to a plugin you can iterate through the property bag after setting it to a dynamic entity. 如果要获取已发送到插件的图像中的每个属性,可以在将属性设置为动态实体后遍历属性包。 This will include every field on the entity.
这将包括实体上的每个字段。
DynamicEntity postEntity = (DynamicEntity)context.PostEntityImages["entityimage"]
foreach (Property p in postEntity.Properties)
{
// Do something with my property
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.