在兩種情況下,必須建立目標對應:
目標映射建立嚮導將幫助您建立使用自定義表所需的所有方案。
在您建立目標對應之前,Adobe Campaign必須進行數種設定,才能使用新的收件者資料結構。
若要這麼做,請套用下列步驟:
建立整合您要使用之自訂表格欄位的新資料架構。
有關詳細資訊,請參閱架構參考(xtk:srcSchema)。
在我們的示例中,我們將建立一個客戶模式,一個非常簡單的表,其中包含以下欄位:ID、名字、姓氏、電子郵件地址、行動電話號碼。 其目標是能夠向儲存在此表中的個人發送電子郵件或SMS警報。
範例結構(cus:individual)
<srcSchema name="individual" namespace="cus" label="Individuals">
<element name="individual">
<key name="id" internal="true">
<keyfield xpath="@id"/>
</key>
<attribute name="id" type="long" length="32"/>
<attribute name="lastName" type="string" length="100"/>
<attribute name="firstName" type="string" length="100"/>
<attribute name="email" type="string" length="100"/>
<attribute name="mobile" type="string" length="100"/>
</element>
</srcSchema>
使用="true"屬性將架構宣告為外部檢視。 請參閱視圖屬性。
<srcSchema desc="External recipient table" namespace="cus" view="true"....>
...
</srcSchema>
如果您需要新增直效郵件位址,請使用下列結構類型:
<element advanced="true" name="postalAddress" template="nms:common:postalAddress">
<attribute expr="SubString(JuxtWords(Smart([../infos/@firstname]), Upper([../infos/@name])), 1, 80)"
name="line1"/>
<attribute expr="Upper([../address/@line2])" name="line2"/>
<attribute expr="Upper([../address/@line])" name="line3"/>
<attribute expr="Upper([../address/@line])" name="line4"/>
<attribute expr="Upper([../address/@line])" name="line5"/>
<attribute expr="Upper([../address/@line])" name="line6"/>
<attribute _operation="delete" name="line7"/>
<attribute _operation="delete" name="addrErrorCount"/>
<attribute _operation="delete" name="addrQuality"/>
<attribute _operation="delete" name="addrLastCheck"/>
<element expr="@line1+'n'+@line2+'n'+@line3+'n'+@line4+'n'+@line5+'n'+@line6"
name="serialized"/>
<attribute expr="AllNonNull2([../address/@line], [../infos/@name])" name="addrDefined"/>
</element>
按一下Administration > Campaign management > Target mappings節點。
按一下新建按鈕以開啟目標映射建立嚮導。
輸入Label欄位,並選擇剛在Targeting dimension欄位中建立的方案。
在編輯地址表單窗口中,選擇與各種傳送地址匹配的方案欄位。 在這裡,我們可以映射@email和@mobile欄位。
在以下Storage視窗中,輸入擴充結構描述的字尾欄位,以區分新結構描述和Adobe Campaign提供的現成結構描述。
按一下Define new additional fields以選取您要在傳送中定位的維度。
依預設,排除管理會儲存在與訊息相同的表格中。 如果要為連結到目標映射的跟蹤配置儲存,請選中生成用於跟蹤的儲存架構框。
Adobe Campaign不支援連結至相同廣播和/或追蹤記錄結構的多個收件者結構描述,稱為定位結構描述。 否則,在事後的資料協調中可能會出現異常。 有關此的詳細資訊,請參閱建議與限制頁面。
在擴充功能視窗中,選取您要產生的選用結構(可用結構的清單取決於Adobe Campaign平台上安裝的模組)。
按一下保存按鈕以關閉嚮導。
嚮導使用啟動模式建立新目標映射工作所需的所有其他模式。
使用新架構作為傳送目標有兩種方式:
相關主題