GlideModalForm - template toolbar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
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
2 hours ago
screenshots please
code screenshots of that UI action
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hi @Colleen
Share the current screen shot which you are getting.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
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();