For a requirement i was asked to export information into a custom entity that was created in MS CRM 4.0. I am trying to do this programmatically and I have not found a single code that actually accomplishes this. I wrote code to check if a certain value for a field exists in the entity but creating a new entity seems to be a little bit of puzzle for me. Any help on this would be appreciated.
R – Creating or Updating Custom Entites in MS CRM 4.0
dynamics-crmdynamics-crm-4
Best Answer
To create a custom entity from code, you need to use the MetadataService web service. The 'CreateEntity' method is used to create custom entities.
The CRM SDK for v4.0 shows you how:
CreateEntity Message (MetadataService)