CRM SDK-更新实体的主要图像到另一个字段
我正在尝试以编程方式更新现有实体的primary图像
属性。
我一直在尝试访问实体的属性,但找不到有关主要图像的任何属性。
是否有可能在C#中使用CRM SDK请求实现这一目标?如果是,我该如何实现?
我正在尝试以下方法:
var entityMetadata = RetrieveEntityMetadata(service);
entityMetadata.PrimaryImageAttribute = "ps_anotherPrimaryImage";
var updateEntityRequest = new UpdateEntityRequest();
updateEntityRequest.Entity = entityMetadata;
I am trying to update the existing entity's PrimaryImage
attribute programmatically.
I have been trying to access the entity's attributes but couldn't find any regarding PrimaryImage.
Is it even possible to achieve that using CRM SDK request in C#? If yes, how can I achieve it?
I am trying with below approach:
var entityMetadata = RetrieveEntityMetadata(service);
entityMetadata.PrimaryImageAttribute = "ps_anotherPrimaryImage";
var updateEntityRequest = new UpdateEntityRequest();
updateEntityRequest.Entity = entityMetadata;
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论