开发者

Dynamics CreateEntityRequest - assign entity to a display area

开发者 https://www.devze.com 2023-02-04 00:26 出处:网络
I\'m tryi开发者_开发问答ng to create a new entity and have it appear in the \'My Finances\' and \'Personal Assets\' areas.

I'm tryi开发者_开发问答ng to create a new entity and have it appear in the 'My Finances' and 'Personal Assets' areas.

I am able to create the entity without problems using CreateEntityRequest.

If I create the entity manually I get a list of the variuos areas where I can display the entity.

How can I do the same thing programmatically?

Thanks,

David


You'd have to manipulate the SiteMap to do that; that's not something that's done in the metadata of the entity itself.


I was able do get this to work using the Microsoft.Crm.Sdk.IsvReadiness.SupportingItems.SiteMap class that comes with the SDK in conjunction with ExportXmlRequest and ImportXmlRequest.

Thanks,

David

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号