如何更新en实体,例如: updateEntity"name“= ":"...我不明白我应该如何处理图像( pre/post )和"New Steps“pre/post。请给我一些指南,我如何更新一个实体。除了最后一步,一切似乎都很好。如何使用某个值(字符串)更新实体。谢谢..。弗雷德下面的代码有什么问题?
// Obtain the target business entity from the input parmameters
DynamicEntity entity = (DynamicEntity)context.PreEntityImages["PreServiceMobile"];// context.InputParameters.Properties["Target"];
DynamicEntity updateEntity = (DynamicEntity)context.InputParameters.Properties["Target"];
updateEntity["name"] = "value";发布于 2011-01-06 03:57:08
您只能在pre stage插件期间设置input实体中的值。在后期插件中,实体已经保存。如果需要在post阶段更新实体,则需要调用CrmService.Update( entity )
https://stackoverflow.com/questions/4608460
复制相似问题