Export (0) Print
Expand All

Metadata Messages

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

The metadata Web service uses the MetadataService.Execute method to access the metadata database.

Exactly like the CrmService.Execute method, MetadataService.Execute takes a request parameter, which is a subclass of the MetadataServiceRequest class, and returns a response, which is a subclass of the MetadataServiceResponse class.

The following table contains a list of messages supported by this Web service to be used with the MetadataService.Execute method.

MessageDescription
CanBeReferencedChecks to see if the specified entity can be the primary entity (one) in a one-to-many relationship.
CanBeReferencingChecks to see if the specified entity can be the referencing entity (many) in a one-to-many relationship.
CanManyToManyChecks to see if the entity can participate in a many-to-many relationship.
CreateAttributeCreates a custom attribute for an entity.
CreateEntityCreates a custom entity.
CreateManyToManyCreates a many-to-many relationship between two entities.
CreateOneToManyCreates a one-to-many relationship between two entities.
DeleteAttributeDeletes an attribute from an entity.
DeleteEntityDeletes an entity.
DeleteOptionValueDeletes an option value from a list of options.
DeleteRelationshipDeletes a relationship.
GetValidManyToManyReturns the set of entities that can participate in a many-to-many relationship.
GetValidReferencedEntitiesReturns the set of entities that are valid as the primary entity (one) from the specified entity in a one-to-many relationship. If no entity is specified, this message returns all entities that can be the primary entity in a one-to-many relationship.
GetValidReferencingEntitiesReturns the set of entities that are valid as the related entity (many) to the specified entity in a one-to-many relationship. If no entity is specified, this message returns all entities that can be the related entity in a one-to-many relationship.
InsertOptionValueInserts an option value into a list of options.
InsertStatusValueAdds a new status code to an entity's statuscode attribute.
OrderOptionSets the order of a list of options.
RetrieveAllEntitiesRetrieves the metadata for all entities.
RetrieveAttributeRetrieves the metadata for the specified attribute.
RetrieveEntityRetrieves the metadata for the specified entity.
RetrieveRelationshipRetrieve the metadata for the specified relationship.
RetrieveTimestampRetrieves a time stamp for the metadata.
UpdateAttributeUpdates the metadata for an attribute.
UpdateEntityUpdates the metadata for an entity.
UpdateOptionValueUpdates the metadata for an option value.
UpdateRelationshipUpdates the metadata for a relationship.

See Also

Concepts

Reference


© 2010 Microsoft Corporation. All rights reserved.


Show:
© 2014 Microsoft