The CreatorCon Call for Content is officially open! Get started here.

Required help on 'showLoadingDialog();' and 'HideLoadingDialog();'

Ajit Kumar2
Tera Contributor

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.

1 REPLY 1

Mohammed Al-Mar
Tera Guru

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.