Replace GlideDialogWindow in Washington DC Version

sreekeerthi
Tera Contributor

Hi,

 

We used GlideDialogWindow API on a UI Page. It seems to be not working now. After going through the documentation I was able to understand that GlideDialogWindow  is deprecated in servicenow and is replaced with GlideModal API. I tried to use it but it doesn't get defined in the script. Can someone help on replacing this in the code.

 

These are the lines in the script and needs to be updated:

1.  var gdw = GlideDialogWindow.get();
2.  GlideDialogWindow.get().destroy();
 

Please help me with replacing the above lines.

 

Thank you in advance!

0 REPLIES 0