1
我不知道如何創建綁定到賬戶的聯繫人。我有一個帳戶和聯繫人的csv文件,我想將這些數據導入到我的CRM中。這是我的代碼添加到CRM的帳戶:在CRM中創建賬戶聯繫人綁定C#
#region Column One Mappings
// Create a column mapping for a 'text' type field. Ajouter un Compte
ColumnMapping colMapping1 = new ColumnMapping()
{
// Set source properties.
SourceAttributeName = "my_new_accounts",
SourceEntityName = "Account_1",
// Set target properties.
TargetAttributeName = "name",
TargetEntityName = Account.EntityLogicalName,
// Relate this column mapping with the data map.
ImportMapId = new EntityReference(ImportMap.EntityLogicalName, importMapId),
// Force this column to be processed.
ProcessCode = new OptionSetValue((int)ColumnMappingProcessCode.Process)
};
// Create the mapping.
Guid colMappingId1 = _serviceProxy.Create(colMapping1);
#endregion
我想創建綁定到一個帳戶的許多聯繫人。