GlideDialogForm vs GlideDialogWindow window sizing

nmartinez
Kilo Contributor

I am using GlideDialogForm to pull up another table within the incident form and I need to change the size of the window.

In GlideDialogWindow I can set the size with this code: dialog.setSize(width, height);

However GlideDialogForm seems to completely ignore this setting.

Any ideas?

7 REPLIES 7

sebastian_g_snc
ServiceNow Employee
ServiceNow Employee

Maybe this helps somebody in the future:


xyz.setSize('500', '500');
> set the parameters width and height as strings


This did not worked for me, maybe is related to the version of the instance (Fuji) or the fact that I am reading from the user table?



deekark
Kilo Contributor

Try dialog.setDialogHeight(400);