Populating the choices for a list collector variable in the service catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2022 10:25 AM
I would like to build catalog items with list collector variables where I provide the choices that can be used in the list collector. I found that if I set the variable type as Select Box, I can use the related list on the form for that variable to build a list of question choices. I can then change the variable type to List Collector and set the list table to question_choice and the reference qualifier to question=[sys_id of this variable], and it will give me the list I just created as options for list collector.
The problem is that unroled users cannot see these choices. When the variable type is Select Box, they can see the choices just fine, but when the variable type is List Collector, it says "No matches found." This is only for unroled users; those of us with the catalog role get the correct list of choices here.
I assume this is because of the Read ACLs on question_choice. What is the best workaround for this limitation? Should I access a script include that looks up the appropriate choices, or is there a better solution?
- Labels:
-
Service Portal Development
- 3,864 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-08-2022 12:04 PM
I assume there is a reason that ServiceNow limits read access for this table to catalog_manager and catalog_editor. Is it advisable for me to open read access to this table up to anyone?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-09-2022 10:33 PM
Hi,
You are absolutely right, question choices should not be opened to all the users, but you can restrict the access to the question choices which are only required for this catalog item, you can utilize filter condition in the read ACL form to enable access to only specific choices, that will protect other question choices to be accessed.
Aman Kumar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-10-2022 04:48 AM
Please mark the appropriate response as correct if it helped you answer your query.
Aman Kumar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-29-2022 02:36 PM
Hi
Is your query resolved?
Feel free to mark correct, If I answered your query.
Will be helpful for future visitors looking for similar questions 🙂
Aman Kumar