- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2022 04:06 AM
Hi Team,
On clicking of UI button on incident form, i need to show a popup where user can add watchlist users.
Any idea how can we display existing field on popup of ui page?
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2022 05:06 AM
Hi,
you can use the macro to show glide list
that macro can be included in UI page which will be invoked from UI action
I had shared solution to this 6 years ago
How to create a Glide list field in ui page
sharing again here
<g:macro_invoke macro= "lightweight_glide_list" id="change_subsystem" name="change_subsystem" control_name="myListCollector" reference="core_company" can_write="true" />
It looks like this. You can remove the selected value from glide list as well.
It invokes macro for glide list which is provided by servicenow.
reference attribute specifies to which table it should refer to. Here it refers to "core_company" table
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2022 04:34 AM
Why would you need that? Instead, you can display the watchlist field on the form and just click the Unlock button to add people.
Please mark Correct and Helpful if my answer helps you resolve your issue. Thanks!
Martin Ivanov
Community Rising Star 2022
Please mark Correct and click the Thumb up if my answer helps you resolve your issue. Thanks!
Martin Ivanov
ServiceNow MVP 2023, 2024
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2022 04:57 AM
Hi Martin,
This will be a different watchlist field (label will be changed). Idea is it will be a sort of recipient field where we can select SN users as well as put any mail id (just like watchlist).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2022 05:06 AM
Hi,
you can use the macro to show glide list
that macro can be included in UI page which will be invoked from UI action
I had shared solution to this 6 years ago
How to create a Glide list field in ui page
sharing again here
<g:macro_invoke macro= "lightweight_glide_list" id="change_subsystem" name="change_subsystem" control_name="myListCollector" reference="core_company" can_write="true" />
It looks like this. You can remove the selected value from glide list as well.
It invokes macro for glide list which is provided by servicenow.
reference attribute specifies to which table it should refer to. Here it refers to "core_company" table
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2022 05:30 AM