- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2023 11:01 PM
I have a heavy JS code which would take approx couple of mins to run.
Hence, I would like to show a dialog box(Loading Screen) to the user while the code is being run.
The Code will get triggered by a UI action button, and it would invoke a script include.
Is there a way to get the loading screen for the user, on clicking the UI action?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2023 12:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2023 11:32 PM
You can use GlideModal to show the dialog.
GlideModal doc: https://developer.servicenow.com/dev.do#!/reference/api/quebec/client/r_GMODV3-setWidth_S
Refer below link to add the loader:
https://www.w3schools.com/howto/howto_css_loader.asp
Please mark as correct answer if this solves your issue.
ServiceNow Community Rising Star, Class of 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2023 12:21 AM
This post has solved my issue.
https://www.servicenow.com/community/developer-articles/how-to-make-a-custom-progress-bar-a-guide-to...