web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Not working Xrm.Utility.showProgressIndicator method

(0) ShareShare
ReportReport
Posted on by 15

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

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    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:

    pastedimage1637567338053v1.png

    Could you share a sample code which Xrm.Utility.showProgressIndicator() can't work in it?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 76

#3
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans