Metadata Sample Code
[Applies to: Microsoft Dynamics CRM 4.0]
Find the latest SDK documentation: CRM 2015 SDK
This section contains sample code that shows how to work with the metadata database.
In This Section
Detect metadata changes for the purposes of building a cache.
Retrieve the metadata for all entities and write it to an XML file.
Learn to retrieve the localized state names for an attribute.
Retrieve the status codes for the account entity.
Retrieve the metadata for a single entity and write it to an XML file.
How to add multiple language labels to a picklist item.
Metadata Diagram Full Sample
See the SDK download package: SDK\Server\FullSample\MetadataDiagram. This sample command-line tool creates a Microsoft Office Visio diagram that details the relationships among Microsoft Dynamics CRM entities.
© 2010 Microsoft Corporation. All rights reserved.