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 blog.risingstack.com #
 
PREVIOUS NEXT
Tagged: #await #async
ADD COMMENT
Topic
Name
5+7 =