CRM 2013 系统设置新功能一:界面自动保存 及 SDK 中 Xrm.Page.data.entity.save

CRM 2013 界面会自动保存了。。在系统设置中默认“是”,如果不需要可以调整。

CRM实体记录在新建时会有出现“保存”按钮,非新建状态下,没有“保存”按钮只有“新建”按钮,系统将会自动为你保存最后一次修改的结果。

说到保存,SDK中多了新方法,前期版本经常会用save(),新版本可以用Xrm.Page.data.entity.save(),多了些参数选择。

Both Xrm.Page.data.save and Xrm.Page.data.entity.save will save the record, but Xrm.Page.data.save provides callback functions after the save operation completes.

Xrm.Page.data.entity.save( null | "saveandclose" |"saveandnew" )

原文地址:https://www.cnblogs.com/Earson/p/3365221.html