Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

supported way to display a "Please wait while processing .." message in CRM 2016 and above

(0) ShareShare
ReportReport
Posted on by 350

Hi, I am looking for a supported way in CRM 2016 and above to display a "Please wait while processing .." message while some time-consuming JS script is being executed. I googled the question but I found some code which manipulates the DOM and I am sure that is not supported. If you can point me to some code to analyze and specially how can I call it so the message is hidden after the JS process is complete, I would appreciate it a a lot.

Xavier

*This post is locked for comments

  • Suggested answer
    Andreas Cieslik Profile Picture
    Andreas Cieslik 9,267 on at
    RE: supported way to display a "Please wait while processing .." message in CRM 2016 and above

    As an example:

    alertjs.codeplex.com/documentation

    in your sync/async JavaScript code you could call Alert.showLoading() first, and after job is done you could Alert.hide() to hide that window.

  • Xavier Villafuerte Profile Picture
    Xavier Villafuerte 350 on at
    RE: supported way to display a "Please wait while processing .." message in CRM 2016 and above

    Thanks Thomas. I was testing it and I am able to load the message calling the alerjs function but I am not sure about the correct way to hide it. Do you have a working example of how to properly use alerjs functionality for my scenario?

  • Suggested answer
    Gopalan Bhuvanesh Profile Picture
    Gopalan Bhuvanesh 11,401 on at
    RE: supported way to display a "Please wait while processing .." message in CRM 2016 and above

    Hi

    You can use Alert.js

    I do not think this access any of the DOM elements in the form.

  • Thomas David Dayman Profile Picture
    Thomas David Dayman 11,323 on at
    RE: supported way to display a "Please wait while processing .." message in CRM 2016 and above

    Hi Xavier,

    You could try this out https://alertjs.codeplex.com/

    Its not a supported option but works with 2016 and above.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,979 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,848 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans