- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2016 09:59 PM
hi all,
I have creating sites from (uipage) content management ,in that i have a reference filed ,which i need to change it to glidelist field ,.?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2016 10:28 PM
Hi Sandhya,
You can use below code snippet in UI Page HTML Section.
<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
Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.
Thanks
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
06-22-2020 06:21 AM
Hi Ankur,
I want to save those values in a record but I'm not able to access them.
Can you tell me how to access the values of GlideList field in Client Script?
Thanks in Advance.
Regards,
Deepak K
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2021 12:39 PM
Hi Ankur,
How can I access the above glide list value in client script. I use the below snippet code
var list = gel("change_subsystem").value;
and I am getting null value .
Can you please help.
Thanks
Gautam

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2016 12:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2019 10:03 AM
Hi Ankur,
Can u tell me how can we put on a reference qualifier for Glidelist field in ui page. My glidelist field is reffering to group table and i want a filter .
How can i set this up