- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-27-2022 02:32 PM
Hello,
I am attempting to create a new service catalog item with a question that is a multi-select choice. However in the additional details tab it will only let me pull those options from a source table, and not custom list of options like I can do with a dropdown with fixed values.
Does anyone know what to do about this? I suspect that I'll have to create a custom table to populate the desired options for the question, but I'm not sure where to start with that.
Any help is appreciated,
P.S. I am quite new to ServiceNow administration and have zero coding knowledge.
Solved! Go to Solution.
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-06-2023 03:37 PM
Hey Ian,
One way I know of to accomplish what you're trying to do is to group checkbox options together. For instance, in the Catalog Builder, if you add multiple checkboxes right after another it will group them together. If you make the first one mandatory, it will treat checking off any of the options as fulfilling that mandatory requirement and will let you select multiple choices that you add in manually. There is another method using a SlushBucket/List Collector variable, but I haven't tried that as I try to stick to Catalog Builder as much as possible to stay away from coding/complexity when possible.
Catalog Builder view:
Catalog Item view:
Hope this helps!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-06-2023 03:37 PM
Hey Ian,
One way I know of to accomplish what you're trying to do is to group checkbox options together. For instance, in the Catalog Builder, if you add multiple checkboxes right after another it will group them together. If you make the first one mandatory, it will treat checking off any of the options as fulfilling that mandatory requirement and will let you select multiple choices that you add in manually. There is another method using a SlushBucket/List Collector variable, but I haven't tried that as I try to stick to Catalog Builder as much as possible to stay away from coding/complexity when possible.
Catalog Builder view:
Catalog Item view:
Hope this helps!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-06-2023 04:04 PM
Hello and thank you for the reply. Check boxes is what I ended up using and it seems to be working well enough.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2023 12:54 PM
I've taken this approach as well but noticed on the desktop/platform UI view, the error validation doesn't work properly. It's not setting the focus or lighting up the checkboxes with red like it does in the portal or how all other variables are treated when you try to submit the form but missed a mandatory field.
Does anyone have any ideas on how to get the setFocus to work? I tried a catalog client script onSubmit but it never triggers because a mandatory field (my checkbox) isn't filled in yet.