TechNet
Expand All
The document is archived and information here might be outdated

Metadata Sample Code

Dynamics
banner art

[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

Detect metadata changes for the purposes of building a cache.

Retrieve the Metadata

Retrieve the metadata for all entities and write it to an XML file.

Retrieve the Localized State Name

Learn to retrieve the localized state names for an attribute.

Retrieve the Status Codes for Account

Retrieve the status codes for the account entity.

Dump the Entity Metadata

Retrieve the metadata for a single entity and write it to an XML file.

Create a Picklist with Labels in Multiple Languages

How to add multiple language labels to a picklist item.

Other Resources

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.


Show:
© 2016 Microsoft