resize GlideModalForm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2018 09:32 PM
When we populate table through GlideModalForm it comes quite larger size. can someone help to reduce the size of the pop up?
Thanks,
Muthu
- Labels:
-
User Interface (UI)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2018 09:56 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2018 10:22 PM
Hi Muthu,
In GlideModalForm their is method as setWidth(Number width)
For more information refer this link:
https://docs.servicenow.com/bundle/jakarta-application-development/page/app-store/dev_portal/API_reference/GlideModalClientSideV3/concept/c_GlideModalV3API.html#c_GlideModalClientSideV3API
Mark correct/helpful , if it helps you
Regards
Ashwini
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2018 02:55 AM
Thanks for the replies. But provided solution is not working for GlideModalForm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2018 10:33 PM
Hi Muthukumar,
I came across this in one of my requirement
var gm = new GlideModal();
gm.setTitle('Related Incidents Raised On Same CI');
gm.setWidth(750);
gm.setPreference('table', 'incident_list');
gm.setPreference('sysparm_view', 'default');
var ci = g_form.getControl('cmdb_ci').value;
//alert(ci);
var query = 'active=true^cmdb_ci=' + ci;
var query1 = 'ORDERBYDESCsys_updated_on';
gm.setPreference('sysparm_query', query);
gm.setPreference('sysparm_query',query1);
gm.render();
if setWidth() didn't work with you, please drop your code so that I could help.
Thanks & Regards,
Rupesh Pulamarasetty.