Updated: November 29, 2016
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Contains the data that is needed to generate a new set of attribute mappings based on the metadata.
For the Web API use the AutoMapEntity Action.
Assembly: Microsoft.Crm.Sdk.Proxy (in Microsoft.Crm.Sdk.Proxy.dll)
Gets or sets the ID of the entity map to overwrite when the automated mapping is performed. Required.
Gets or sets the structure that contains extra data. Optional.(Inherited from OrganizationRequest.)
Gets or sets the indexer for the Parameters collection.(Inherited from OrganizationRequest.)
Gets or sets the collection of parameters for the request. Required, but is supplied by derived classes.(Inherited from OrganizationRequest.)
Gets or sets the ID of an asynchronous operation (system job). Optional. (Inherited from OrganizationRequest.)
Gets or sets the name of the request. Required, but is supplied by derived classes.(Inherited from OrganizationRequest.)
For this message to work, the caller must be connected to the server.
Privileges and Access Rights
To perform this action, the caller must have the privileges that are listed in AutoMapEntity message privileges.
Notes for Callers
Use this helper function after you create a new relationship. This message is provided as a productivity enhancement so that you don’t have to manually add all attribute mappings. Instead, you can generate a set of likely mappings and minimize the amount of manual work to add or remove individual mappings to meet your requirements. This message will map all the attributes between the two related entities where the attribute names are identical and the types are identical. The mapping may result in some mappings that you don’t want; therefore, you should always check the resulting mapping before you publish the customization.
If you use this function where entity mappings already exist, the existing mappings are removed.
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright