Metadata

Using the same Organization service described earlier, we can also access to the entire CRM metadata.

As opposed to its previous version where the metadata uses a different service, now the Organization service can be also used to create, update, or delete entities, as well as create or delete relationships within entities. You can also use it to add, delete, or modify attributes to an existing entity programmatically.

Using the metadata can be very useful for Independent Software Vendors (ISVs) to look up entities on a setup installer to see whether a solution was already installed or to check whether any conflict exists with the entities of the CRM system on which a customization would be deployed.

By using the Execute method, you ...

Get Microsoft Dynamics CRM 2011 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.