
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-29-2020 03:28 AM
What is listID passed on to the g_list.get('<listID>') Api? and how to get listId for particular list view in servicenow?
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-29-2020 04:34 AM
you can try something like below.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-29-2020 04:10 AM
Hi,
The listID is the name of the list, which is usually the table name.
You can use this link to check all the APIs and way to fetch view of your current list
Please mark as CORRECT if this solves your query
Thanks,
DR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-29-2020 04:31 AM
hi,
Thanks for the reply but,
my requirement is :- GlideList2.get('<listID>').setFilterAndRefresh('');
to refresh the related list of a form.
how i will fetch the listId of list?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-29-2020 04:34 AM
you can try something like below.