Loading
文件範本中的資料實現權杖

文件範本中的資料實現權杖

在 DOCX 範本中使用資料實現權杖,以啟用文件內容與 Salesforce 記錄欄位值之間的雙向同步。

必要版本

提供版本:Lightning Experience
可用版本:Professional、Enterprise、Unlimited及 Developer Edition

資料實現權杖概觀

資料驗證權杖 描述
定義 用來比較和同步化文件及其 Salesforce 記錄之間欄位值的特殊合併權杖。
權杖格式

需要 DT_ 字首才能啟用資料實現功能。例如:{{DT_FieldName}}.

僅需要 DT_ 字首。資料對應器或內容服務中的權杖對應必須遵循此結構:


         {
         "DT_<tokenkey>": {
         "objectId": "<ID of the object for which the field value is computed>",
         "objectName": "<Name of the reference object>",
         "fieldName": "<Name of the field from which the value is retrieved>",
         "fieldValue": "<Actual value of ObjectName.FieldName>"
         }
         }
        

例如:


         {
         "DT_start": {
         "objectId":"800X4000001ohuvIAA",
         "objectName": "Contract",
         "fieldName": "StartDate",
         "fieldValue": "2022-08-20"
         }
         }
        
目的 啟用在文件編輯期間透過 Microsoft 365 Word 附加元件推送和提取欄位值。
支援的範本類型 Microsoft 365 Word
支援的物件 標準與自訂物件。僅支援同步化父系層級欄位。
不支援 子系物件欄位、PPTX 範本、PDF 檔案
需要工具 Microsoft 365 Word 附加元件
在字詞中暫留標籤 當您按一下具有 DT_ 字首的權杖時,這些權杖會以標記為「資料真實」欄位的內容邊界顯示。這可協助您區別其與其他權杖類型,例如變數權杖。
其他備註 如果您刪除下載文件中包含 DT 權杖值的整行,則也會移除相關聯的內容邊界。
 
正在載入
Salesforce Help | Article