The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Remove the Close X on Glide Dialog window / UI Page

jeremyeperdue
Giga Expert

HI Question - Close X button.PNG

This is a GlideDialog Window / UI Page. Is there somewhere I can go to remove the little x in the upper right corner?

1 ACCEPTED SOLUTION

salemsap
Tera Expert

Hi,


use the below code to remove it.


dialog.removeCloseDecoration();


replace the dialog with your dialog window object.



Thanks,


Alex


View solution in original post

2 REPLIES 2

salemsap
Tera Expert

Hi,


use the below code to remove it.


dialog.removeCloseDecoration();


replace the dialog with your dialog window object.



Thanks,


Alex


Is there a list of available / useful code snippets like this? I don't know what the correct ServiceNow term is for "removeCloseDecoration();".



The "Master List of Options" would be super handy.



Thanks again !