Add options to the sys_choice table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12 hours ago
Hello,
I have to create a field on a catalog item giving users the option to select "Library or List".
If 'Library' is chosen, a *multi-selection* dropdown is needed with the following options:
Site Secure
Safety
Environmental
Product Safety
Voice of Customer
Operational Strategy
Other
I have created a a *multi-selection* dropdown before, but it referenced a certain table, the location table. In this instance there is no table with the above options, so I will have to add the options to the sys_choice table, but I am not sure how to do it. If you can, will you explain plainly how do this? Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12 hours ago
Hello @DeIvory Gordon
The catalog item doesn't provide a multiple select dropdown as of today. The only variable type which sort of look alike a dropdown would be checkbox.
If you have already explored List Collector then you know that you have to create a custom table with these choices to be populated.
Hope that helps!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago - last edited 3 hours ago
The key point is that you don't need to create records in sys_choice for this requirement.
In ServiceNow, create the variables directly on the Catalog Item:
1. Create a Select Box variable named Library or List, with choices Library and List.
2. Create a List Collector variable for the library options.
3. Configure the List Collector's List table and Reference qualifier to retrieve the available options.
This helps other users find accurate and useful information more easily
