Required help on 'showLoadingDialog();' and 'HideLoadingDialog();'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2023 09:11 AM
Hi Everyone,
I am working on converting old catalogs to compatible with portal. I came across a issue where in one of the catalog client script 'showLoadingDialog();' and 'HideLoadingDialog();' are used. They are throwing error in portal. How do I convert them to portal ?
Could anyone please help me on this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2023 12:09 AM
From what I understand, showLoadingDialog() and HideLoadingDialog() use the deprecated GlideDialogWindow and you can't use them in service portal. While you can design a custom widget or modify the DOM in client script to create a loading dialog which is not recommend.
Hopefully, they'll introduce an out-of-the-box loading dialog in future releases.