开发者

Dynamics CreateEntityRequest - assign entity to a display area

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜