Dynamics 365 – Xrm.Page.data.refresh and Xrm.Page.data.save
Dynamics 365 has a couple of JavaScript functions that are useful in refreshing and saving pages – xrm.page.data.refresh and xrm.page.data.save. We will go though examples of using these. The refresh function is defined as: Xrm.Page.data.refresh(save).then(successCallback, errorCallback); We can pass an optional save boolean as well. For the purpose of the demo, let’s say when tabbing off the Account’s website field, we want to refresh the current page. Our code: function RunJavaScript() … Continue reading Dynamics 365 – Xrm.Page.data.refresh and Xrm.Page.data.save