共用方式為


定義管道執行個體帳戶的延伸設定實體

適用的管道:只適用 SMS

建立自訂 SMS 管道時,您必須定義實體來代表管道執行個體帳戶 (msdyn_channelinstanceaccount) 的延伸設定。 例如,您可能會有一個已啟用多個電話號碼的 MessageBird 帳戶。 管道執行個體帳戶與您建立的管道執行個體 (在此範例中為 MessageBird 電話號碼) 有 1:N 關聯。

重要

若要允許 Customer Insights - Journeys 在提交期間存取延伸設定實體,您必須將延伸設定實體的讀取權限新增至「Cxp 管道定義服務使用者」角色。

針對每個自訂管道解決方案,您必須執行下列各項:

  1. 建立自訂實體,以代表在基礎解決方案中所定義之管道執行個體帳戶 實體的延伸設定。

    實體名稱會透過管道定義步驟指派給 msdyn_channeldefinitionaccountexternalentity 屬性。

  2. msdyn_extendedentityid 屬性中,將關聯性新增至基礎管道執行個體帳戶實體。

    此屬性是多型查詢。 以下是以 XML 表示的關聯性範例:

<?xml version="1.0" encoding="utf-8"?>
<EntityRelationships xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <EntityRelationship Name="msdyn_ChannelInstanceAccount_extendedentityid_cr65f_samplechannelinstanceaccount">
    <EntityRelationshipType>OneToMany</EntityRelationshipType>
    <IsCustomizable>0</IsCustomizable>
    <IntroducedVersion>1.0.0.0</IntroducedVersion>
    <IsHierarchical>0</IsHierarchical>
    <ReferencingEntityName>msdyn_ChannelInstanceAccount</ReferencingEntityName>
    <ReferencedEntityName>cr65f_samplechannelinstanceaccount</ReferencedEntityName>
    <CascadeAssign>NoCascade</CascadeAssign>
    <CascadeDelete>RemoveLink</CascadeDelete>
    <CascadeReparent>NoCascade</CascadeReparent>
    <CascadeShare>NoCascade</CascadeShare>
    <CascadeUnshare>NoCascade</CascadeUnshare>
    <CascadeRollupView>NoCascade</CascadeRollupView>
    <IsValidForAdvancedFind>1</IsValidForAdvancedFind>
    <ReferencingAttributeName>msdyn_extendedentityId</ReferencingAttributeName>
    <RelationshipDescription>
      <Descriptions>
        <Description description="" languagecode="1033" />
      </Descriptions>
    </RelationshipDescription>
    <EntityRelationshipRoles>
      <EntityRelationshipRole>
        <NavPaneDisplayOption>UseCollectionName</NavPaneDisplayOption>
        <NavPaneArea>Details</NavPaneArea>
        <NavPaneOrder>10000</NavPaneOrder>
        <NavigationPropertyName>msdyn_extendedentityid_cr65f_samplechannelinstanceaccount</NavigationPropertyName>
        <RelationshipRoleType>1</RelationshipRoleType>
      </EntityRelationshipRole>
      <EntityRelationshipRole>
        <NavigationPropertyName>msdyn_ChannelInstanceAccount_extendedentityid_cr65f_samplechannelinstanceaccount</NavigationPropertyName>
        <RelationshipRoleType>0</RelationshipRoleType>
      </EntityRelationshipRole>
    </EntityRelationshipRoles>
  </EntityRelationship>
</EntityRelationships>
  1. 建立表單以公開設定欄位。

    表單不需要包含名稱或描述等屬性,因為這些屬性來自 Customer Insights - Journeys 自訂控制項。 表單會在 Customer Insights - Journeys SMS 精靈 (設定步驟) 中載入。 表單識別碼會透過管道定義步驟指派給 msdyn_channeldefinitionaccountexternalformid 屬性。

    例如,在 SMS 中,表單看起來像這樣:

    SMS 管道表單的螢幕擷取畫面。