傳回字串,代表儲存記錄時將傳送至伺服器的 XML。 只有已變更或提交模式設定為「一律」的欄中的資料才會傳送至伺服器。
語法
formContext.data.entity.getDataXml();
傳回值
類型:字串。
說明:在此範例中,已更新帳戶記錄的下列三個資料行:name、accountnumber、telephone2。
"<account><name>Contoso</name><accountnumber>55555</accountnumber><telephone2>425 555-1234</telephone2></account>"
備註
此方法不適用於平板電腦版 Microsoft Dynamics 365。