
Hi. I'm using D365. And I want to showing progressing message box when onSave event to using script at D365
So I found Xrm.Utility.showProgressIndicator method in MS Docs.
But that isn't work. When I used method, I haven't ever seen any message box.
So I have questions.
Can I use Xrm.Utility.showProgressIndicator in onSave event?
And using showProgressIndicator method need any another reference?
Thanks & Regards
Hi TokyoKim,
I tested it on my side. It can work for me and don't need any reference.
Below is my JS:
function onSave(executionContext){
console.log("start...");
Xrm.Utility.showProgressIndicator("data is saving");
setTimeout(()=>{
Xrm.Utility.closeProgressIndicator();
console.log("end...");
},5000)
}
Result:
Could you share a sample code which Xrm.Utility.showProgressIndicator() can't work in it?