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 CRM (Archived)

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

(0) ShareShare
ReportReport
Posted on by 352

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

I have the same question (0)
  • Thomas David Dayman Profile Picture
    11,323 on at

    Hi Xavier,

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

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

  • Suggested answer
    Gopalan Bhuvanesh Profile Picture
    11,401 on at

    Hi

    You can use Alert.js

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

  • Xavier Villafuerte Profile Picture
    352 on at

    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
    Andreas Cieslik Profile Picture
    9,267 on at

    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.

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 CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans