Reputation: 7289
I want to create a new Entity named "Record" with fields like ApprovalStatus, PendingWith. How can I create it programatically a part of the solution so that I can deploy it to higher environments
I was able to find links for creating new entity items, but I want to create a new entity
I have to create few entities like Record,Management etc and I also need to create some views, forms for these What is the best approach for this? I am using CRM 2016
Upvotes: 2
Views: 759
Reputation: 17552
You can use the Metadata Web Service to manipulate the CRM metadata and so create entities, with attributes. Specifically you are looking for functions like CreateEntityRequest.
However if you are looking to move components between environments you would be better served using solutions which are explicitly for that purpose
Upvotes: 2