Hello,
I hope someone can help me with my problem.
I created a javascript that calls a process to run a plugin, meanwhile, I added
Xrm.Utility.showProgressIndicator("Processing..."); to show a loading screen as the plugin executes.
function CallCustomActionFromJavaScript(primaryControl){
debugger;
Xrm.Utility.showProgressIndicator("Custom Message");
setTimeout(mainFunction, 1000);
function mainFunction(){}
}
Hello Abdul Wahab ,
Thank you for your help.
I have already read these blogs and checked them, yet its still not working.
As you can see in my GIF it is returning undefined, as it should, but the loading UI is not appearing.
Thank you!
Hi MZB,
The progress dialogue blocks the UI until it is closed using the closeProgressIndicator method. So, you must use this method with caution. For more details:
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156