返回一个字符串,表示保存记录时将发送到服务器的 XML。 只有已更改或将其提交模式设置为“始终”的列中的数据才会发送到服务器。
Syntax
formContext.data.entity.getDataXml();
返回值
类型:字符串。
说明:在此示例中,更新了帐户记录的以下三列:名称、accountnumber、telephone2。
"<account><name>Contoso</name><accountnumber>55555</accountnumber><telephone2>425 555-1234</telephone2></account>"
注解
此方法不适用于适用于平板电脑的 Microsoft Dynamics 365。