Microsoft Dynamics字段映射
下表包含Microsoft Dynamics源字段及其相应的体验数据模型(XDM)字段之间的映射。
联系人 contacts
源字段
目标XDM字段
注释
address1_addressidworkAddress._idaddress1_cityworkAddress.cityaddress1_countryworkAddress.countryaddress1_countyworkAddress.stateProvinceaddress1_latitudeworkAddress._schema.latitudeaddress1_line1workAddress.street1address1_line2workAddress.street2address1_line3workAddress.street3address1_longitudeworkAddress._schema.longitudeaddress1_postalcodeworkAddress.postalCodeaddress1_postofficeboxworkAddress.postOfficeBoxaddress1_stateorprovinceworkAddress.stateassistantnameextendedWorkDetails.assistantDetails.name.fullNameassistantphoneextendedWorkDetails.assistantDetails.phone.numberbirthdateperson.birthDate"Dynamics"b2b.personKey.sourceType"${CRM_ORG_ID}"b2b.personKey.sourceInstanceID将自动替换
"${CRM_ORG_ID}"的值。contactidb2b.personKey.sourceIDconcat(contactid,"@${CRM_ORG_ID}.Dynamics")b2b.personKey.sourceKey主要身份。 将自动替换
"${CRM_ORG_ID}"的值。iif(contactid != null && contactid != "", to_object("sourceType", "Dynamics", "sourceInstanceID", "${CRM_ORG_ID}","sourceID", contactid, "sourceKey", concat(contactid,"@${CRM_ORG_ID}.Dynamics")), null)personComponents.sourcePersonKeydepartmentextendedWorkDetails.departmentsfullnameperson.name.fullNamesuffixperson.name.suffixiif(parentcustomerid != null && parentcustomerid != "", to_object("sourceType", "Dynamics", "sourceInstanceID", "${CRM_ORG_ID}", "sourceID", parentcustomerid, "sourceKey", concat(parentcustomerid,"@${CRM_ORG_ID}.Dynamics")), null)personComponents.sourceAccountKeyiif(parentcustomerid != null && parentcustomerid != "", to_object("sourceType", "Dynamics", "sourceInstanceID", "${CRM_ORG_ID}", "sourceID", parentcustomerid, "sourceKey", concat(parentcustomerid, "@${CRM_ORG_ID}.Dynamics")), null)b2b.accountKeycreatedonextSourceSystemAudit.createdDateemailaddress1workEmail.address次要标识符。
emailaddress2personalEmail.addressemailaddress1personComponents.workEmail.addressfirstnameperson.name.firstNamefullnameperson.name.fullNamelastnameperson.name.lastNamejobtitleextendedWorkDetails.jobTitlemiddlenameperson.name.middleNamemobilephonemobilePhone.numbermodifiedonextSourceSystemAudit.lastUpdatedDatesalutationperson.name.courtesyTitletelephone1workPhone.number潜在客户 leads
源字段
目标XDM字段
注释
address1_addressidworkAddress._idaddress1_cityworkAddress.cityaddress1_countryworkAddress.countryaddress1_countyworkAddress.stateProvinceaddress1_latitudeworkAddress._schema.latitudeaddress1_line1workAddress.street1address1_line2workAddress.street2address1_line3workAddress.street3address1_longitudeworkAddress._schema.longitudeaddress1_postalcodeworkAddress.postalCodeaddress1_postofficeboxworkAddress.postOfficeBoxaddress1_stateorprovinceworkAddress.statetelephone1workPhone.numbermobilephonemobilePhone.numbercreatedonextSourceSystemAudit.createdDateemailaddress1workEmail.address次要标识符
emailaddress2personalEmail.addressemailaddress1personComponents.workEmail.addressfaxfaxPhone.numberfirstnameperson.name.firstNamefullnameperson.name.fullNamejobtitleextendedWorkDetails.jobTitlelastnameperson.name.lastName"Dynamics"b2b.personKey.sourceType"${CRM_ORG_ID}"b2b.personKey.sourceInstanceID将自动替换
"${CRM_ORG_ID}"的值。leadidb2b.personKey.sourceIDconcat(leadid,"@${CRM_ORG_ID}.Dynamics")b2b.personKey.sourceKey主要身份。 将自动替换
"${CRM_ORG_ID}"的值。iif(leadid != null && leadid != "", to_object("sourceType", "Dynamics", "sourceInstanceID", "${CRM_ORG_ID}","sourceID", leadid, "sourceKey", concat(leadid,"@${CRM_ORG_ID}.Dynamics")), null)personComponents.sourcePersonKeymiddlenameperson.name.middleNamemobilephonemobilePhone.numbermodifiedonextSourceSystemAudit.lastUpdatedDatesalutationperson.name.courtesyTitle帐户 accounts
源字段
目标XDM字段
注释
"Dynamics"accountKey.sourceType"${CRM_ORG_ID}"accountKey.sourceInstanceID将自动替换
"${CRM_ORG_ID}"的值。accountidaccountKey.sourceID主要身份。 将自动替换
"${CRM_ORG_ID}"的值。accountnumberaccountNumberaccountratingcodeaccountOrganization.ratingaddress1_addressidaccountPhysicalAddress._idaddress1_cityaccountPhysicalAddress.cityaddress1_countryaccountPhysicalAddress.countryaddress1_countyaccountPhysicalAddress.regionaddress1_latitudeaccountPhysicalAddress._schema.latitudeaddress1_line1accountPhysicalAddress.street1address1_line2accountPhysicalAddress.street2address1_line3accountPhysicalAddress.street3address1_longitudeaccountPhysicalAddress._schema.longitudeaddress1_nameaccountPhysicalAddress.labeladdress1_postalcodeaccountPhysicalAddress.postalCodeaddress1_postofficeboxaccountPhysicalAddress.postOfficeBoxaddress1_stateorprovinceaccountPhysicalAddress.statecreatedonextSourceSystemAudit.createdDatedescriptionaccountDescriptionfaxaccountFax.numbermodifiedonextSourceSystemAudit.lastUpdatedDatenameaccountNamenumberofemployeesaccountOrganization.numberOfEmployeesrevenueaccountOrganization.annualRevenue.amountsicaccountOrganization.SICCodetelephone1accountPhone.numbertickersymbolaccountOrganization.tickerSymbolwebsiteurlaccountOrganization.websiteconcat(accountid,"@${CRM_ORG_ID}.Dynamics")accountKey.sourceKey机会 opportunities
源字段
目标XDM字段
注释
nameopportunityName"Dynamics"opportunityKey.sourceType"${CRM_ORG_ID}"opportunityKey.sourceInstanceID将自动替换
"${CRM_ORG_ID}"的值。iif(parentaccountid != null && parentaccountid != "", to_object("sourceType", "Dynamics", "sourceInstanceID", "${CRM_ORG_ID}","sourceID", parentaccountid, "sourceKey", concat(parentaccountid, "@${CRM_ORG_ID}.Dynamics")), null)accountKeyactualclosedateactualCloseDateactualvalueopportunityAmount.amountiif(campaignid != null && campaignid != "", to_object("sourceType", "Dynamics", "sourceInstanceID", "${CRM_ORG_ID}", "sourceID", campaignid, "sourceKey", concat(campaignid,"@${CRM_ORG_ID}.Dynamics")), null)campaignKeycloseprobabilityprobabilityPercentagecreatedonextSourceSystemAudit.createdDatedescriptionopportunityDescriptionestimatedclosedateexpectedCloseDateestimatedvalueexpectedRevenue.amountmodifiedonextSourceSystemAudit.lastUpdatedDateopportunityidopportunityKey.sourceIDconcat(opportunityid,"@${CRM_ORG_ID}.Dynamics")opportunityKey.sourceKey主要身份。 将自动替换
"${CRM_ORG_ID}"的值。salesstageopportunityStagestepnamenextStep机会联系人角色 opportunity-contact-roles
源字段
目标XDM字段
注释
"Dynamics"opportunityPersonKey.sourceType"${CRM_ORG_ID}"opportunityPersonKey.sourceInstanceID将自动替换
"${CRM_ORG_ID}"的值。connectionidopportunityPersonKey.sourceIDconcat(connectionid,"@${CRM_ORG_ID}.Dynamics")opportunityPersonKey.sourceKey主要身份。 将自动替换
"${CRM_ORG_ID}"的值。createdonextSourceSystemAudit.createdDatemodifiedonextSourceSystemAudit.lastUpdatedDateiif(record1id != null && record1id != "", to_object("sourceType", "Dynamics", "sourceInstanceID", "${CRM_ORG_ID}", "sourceID", record1id, "sourceKey", concat(record1id,"@${CRM_ORG_ID}.Dynamics")), null)opportunityKeyiif(record2id != null && record2id != "", to_object("sourceType", "Dynamics", "sourceInstanceID", "${CRM_ORG_ID}", "sourceID", record2id, "sourceKey", concat(record2id,"@${CRM_ORG_ID}.Dynamics")), null)personKeyconnectionrole1.namepersonRolerecord1objecttypecode自定义字段组必须定义为目标架构。 请参阅附录部分以了解有关如何将选取列表类型源字段映射到目标XDM架构的步骤,以获取更多信息。
有关
record1objecttypecode源字段的可能值及标签列表,请参阅此Microsoft Dynamics 连接实体参考文档。record2objecttypecode自定义字段组必须定义为目标架构。 请参阅附录部分以了解有关如何将选取列表类型源字段映射到目标XDM架构的步骤,以获取更多信息。
有关
record2objecttypecode源字段的可能值及标签列表,请参阅此Microsoft Dynamics 连接实体参考文档。营销活动 campaigns
源字段
目标XDM字段
注释
campaignidcampaignKey.sourceID"${CRM_ORG_ID}"campaignKey.sourceInstanceID将自动替换
"${CRM_ORG_ID}"的值。concat(campaignid,"@${CRM_ORG_ID}.Dynamics")campaignKey.sourceKey主要身份。 将自动替换
"${CRM_ORG_ID}"的值。"Dynamics"campaignKey.sourceTypeiif(campaignid != null && campaignid != "", to_object("sourceType", "Dynamics", "sourceInstanceID", "${CRM_ORG_ID}","sourceID", campaignid, "sourceKey", concat(campaignid,"@${CRM_ORG_ID}.Dynamics")), null)extSourceSystemAudit.externalKeyextSourceSystemAudit.externalKey是辅助标识。 将自动替换"${CRM_ORG_ID}"的值。createdonextSourceSystemAudit.createdDatemodifiedbyextSourceSystemAudit.lastUpdatedBymodifiedonextSourceSystemAudit.lastUpdatedDatedescriptioncampaignDescriptionnamecampaignNametotalactualcostactualCost.amountbudgetedcostbudgetedCost.amountexpectedrevenueexpectedRevenue.amountactualendcampaignEndDateactualstartcampaignStartDateexpectedresponseexpectedResponseutcconversiontimezonecodetimeZoneutcconversiontimezonecodetimezoneName营销列表 marketing-list
源字段
目标XDM字段
注释
"Dynamics"marketingListKey.sourceType"${CRM_ORG_ID}"marketingListKey.sourceInstanceID将自动替换
"${CRM_ORG_ID}"的值。descriptionmarketingListDescriptionlistnamemarketingListNamelistidmarketingListKey.sourceIDconcat(listid,"@${CRM_ORG_ID}.Dynamics")marketingListKey.sourceKey主要身份。 将自动替换
"${CRM_ORG_ID}"的值。modifiedonextSourceSystemAudit.lastUpdatedDatecreatedonextSourceSystemAudit.createdDate营销列表成员 marketing-list-members
源字段
目标XDM字段
注释
"Dynamics"marketingListMemberKey.sourceType"${CRM_ORG_ID}"marketingListMemberKey.sourceInstanceID将自动替换
"${CRM_ORG_ID}"的值。iif(entityid != null && entityid != "", to_object("sourceType", "Dynamics", "sourceInstanceID", "${CRM_ORG_ID}", "sourceID", entityid, "sourceKey", concat(entityid,"@${CRM_ORG_ID}.Dynamics")), null)personKeylistmemberidmarketingListMemberKey.sourceIDconcat(listmemberid,"@${CRM_ORG_ID}.Dynamics")marketingListMemberKey.sourceKey主要身份。 将自动替换
"${CRM_ORG_ID}"的值。iif(listid != null && listid != "", to_object("sourceType", "Dynamics", "sourceInstanceID", "${CRM_ORG_ID}", "sourceID", listid, "sourceKey", concat(listid,"@${CRM_ORG_ID}.Dynamics")), null)marketingListKeycreatedonextSourceSystemAudit.createdDate附录
以下部分提供了可在为Microsoft动态源配置B2B映射时使用的其他信息。
选择列表类型字段 picklist-type-fields
您可以使用计算字段将选取列表类型源字段从Microsoft Dynamics映射到目标XDM字段。
例如,genderCode字段包含两个选项:
值
标签
1
male2
female您可以使用以下选项将genderCode源字段映射到person.gender目标字段:
使用逻辑运算符
源字段
目标XDM字段
decode(genderCode, "1", "male", "2", "female", "default")person.gender在此方案中,该值对应于键(如果在选项中找到键)或default(如果存在default但未找到键)。 如果选项为null或没有default且未找到键,则该值对应于null。
使用计算字段
源字段
目标XDM字段
iif(gendercode.equals("1"),"male",iif(gendercode.equals("2"),"female",null))person.genderTIP
上述操作的嵌套迭代将类似于:
iif(condition, iif(cond1, tv1, fv1), iif(cond2, tv2, fv2))。有关详细信息,请参阅 Data Prep🔗中关于逻辑运算符的文档
recommendation-more-help
337b99bb-92fb-42ae-b6b7-c7042161d089