GlideModalForm - template toolbar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2026 05:26 AM
We're using a plugin that adds a UI action button to task. When the button is clicked it calls GlideModalForm to open a record on another table in a pop-up form. When the user fills in the pop-up form and saves the record, the task is automatically closed.
Our users want the option to use a template to fill in fields in the pop-up form. The users do have rights to create templates on that table, but the template toolbar is not visible on the pop-up form.
How do I make the template toolbar visible on a pop-up form opened by a GlideModalForm call?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2026 05:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2026 05:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2026 05:40 AM
Never mind. I've figured it out.
I have to set sysparm_titleless to false via GlideModalForm.setPreference, e.g.
var modal = new GlideModalForm('The Title', 'the_table');
modal.setPreference('sysparm_titleless', 'false');
modal.setSysID(id);
modal.render();