Does anybody know how to set position to GlideDialogWindow?

alex_me_
Kilo Contributor

I'd like to place my custom dialog in centerof the form, now it appears closer to right bottom corner.

I can't find methods or properties of GlideDialogWindow which can do this..

find_real_file.png

1 ACCEPTED SOLUTION

Chuck Tomasi
Tera Patron

There doesn't appear to be any methods with the GlideDialogWindow class.



Have you also tried GlideModal? (Search for GlideModal here ServiceNow Developers )



No method to set position there either, but it may be smarter about auto placement.


View solution in original post

2 REPLIES 2

Chuck Tomasi
Tera Patron

There doesn't appear to be any methods with the GlideDialogWindow class.



Have you also tried GlideModal? (Search for GlideModal here ServiceNow Developers )



No method to set position there either, but it may be smarter about auto placement.


Hey Chuck,


Thank you so much, I didn't hear about GlideModal, it really appears in very good position.


But there is another problem - Seems that GlideModal doesn't works inside Catalog Clint Scripts .. GlideDialogWindow works fine, but GlideModal doesn't.