What to use in the place of a UI script and GlideDialogWindow in Next Experience

Corrie Van Wyk
Tera Expert

In the UI 16 we have a UI Script that evaluates the current logged in user and diplays a 'popup' using GlideDialogWindow and a UI Page to to inform the user of specific things relevant to the user regardless of where they are on the platform. This works 100% fine in UI 16.

But when we are testing this with Next Experience activated in our sub prod it doesn't work

So my question is: For next experience, what should I be using to achieve the above use case.

Any information will be valuable thanks.

1 REPLY 1

Paul Curwen
Giga Sage

 At the moment ServiceNow do not provide a single method for Modal Popups across Portal, Classic Forms and Workspaces. The use of Alert, Confirm and Prompt should be avoided, they look awful and are a bad user experience DON'T DO IT. sp_modal does not work anyplace other than Portal, GlideModal (replacement for GlideDialogWindow) works on Classic Forms but does not work on either Portal, or WorkSpaces. g_modal is only available in Workspace, but not Classic Forms or Portal.

 

My solution is to use g_modal for Workspaces and SweetAlert for Classic Form and Portals.

 

 

***If Correct/Helpful please take time mark as Correct/Helpful. It is much appreciated.***

Regards

Paul