Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

await async

function afterPrintSave() {
    Xrm.Page.data.save().then(
        function () {
            resolve();
        },
        function (err) {
            resolve(alert(err.message));
        }
    );
}
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #await #async
ADD COMMENT
Topic
Name
4+4 =