![]() |
#6 |
Участник
|
Да там появилась функция обратного вызова:
Цитата:
Saves the record asynchronously with the option to set callback functions to be executed after the save operation is completed.
JScript Copy Code Xrm.Page.data.save().then(successCallback, errorCallback) Parameters The successCallback and errorCallback functions are executed depending on whether an error is returned. The successCallback will not have any arguments passed to it. It will simply be called if the operation succeeds. The errorCallback will be passed an object with the following properties: errorCode Type: Number. The error code. message Type: String. A localized error message. Remarks This method is only available for Updated Entities. |
|
|
За это сообщение автора поблагодарили: vasya-serega (1). |