Add new values to List Collector
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2020 07:46 AM
Hey folks,
I have a variable List Collector whose data is populating from a table 'sys_toupan_data'.
On catalog from, I have 2 new values of logged-on user's primary account (account) and secondary account (account_dev) which is not available in the table and is missing in the dropdown. These 2 accounts I need to add to List collector dropdown as options. I am fetching account values through catalog client script, but I don't have idea how to append to dropdown.
How can I achieve this? Any suggestions will be very helpful.
ThankYou.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2020 08:13 AM
Hi,
you need to create those 2 values in the table being referred by that list collector variable.
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
10-05-2020 08:36 AM
Hi
As account values are dynamic for every user, I am not allowed to add any account to Table.
Is there a dynamic way to just display account values in the dropdown List Collector?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2020 08:41 AM
Hi,
Since list collector variable is of type reference it will always show data from the table being referred.
Unless data is present in the referred table it cannot be shown
If you want to show those 2 options in the list collector when the form loads records for that should be present in the table being referred.
Is the list collector referring to sys_toupan_data? then add the required data in this
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
10-05-2020 08:57 AM
Hi Mohammed - You can customize the slushbucket and show additional information as long as the field is on the same table.
https://www.servicenowguru.com/system-ui/customizing-slushbucket/