Share via


CrmServiceClient.ImportDataMapToCrm(String, Boolean, Boolean) Method

Definition

Used to upload a data map to the CRM

public Guid ImportDataMapToCrm (string dataMapXml, bool replaceIds = true, bool dataMapXmlIsFilePath = false);
member this.ImportDataMapToCrm : string * bool * bool -> Guid
Public Function ImportDataMapToCrm (dataMapXml As String, Optional replaceIds As Boolean = true, Optional dataMapXmlIsFilePath As Boolean = false) As Guid

Parameters

dataMapXml
String

XML of the datamap in string form

replaceIds
Boolean

True to have CRM replace ID's on inbound data, False to have inbound data retain its ID's

dataMapXmlIsFilePath
Boolean

if true, dataMapXml is expected to be a File name and path to load.

Returns

Returns ID of the datamap or Guid.Empty

Applies to