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,863 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-05-2022 11:14 AM
Hello,
Can you try by giving proper query in the reference qualifier field.
Just go to Question Choice table and give a sys id which you wanted and right click on the filter and copy the query.
Copied query you can give in the Reference qualifier field. As show in the below image:
Please mark it as a helpful, if you feel my answer is helped you in anyway.
Thanks,
J P Ramya Priya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-08-2022 10:29 AM
I went ahead and tried that, but it produced the same result. Roled users can see the choices and unroled users cannot. I think we are dealing with an ACL problem here, not a problem with the reference qualifier.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-10-2022 02:20 AM
Okay, in that case create new read ACL with filter. Before that check any existing ACL's are being override to the new one.
Please mark it as a helpful, if you feel my answer is helped you in anyway.
Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-08-2022 10:31 AM
Yes, in order to see the reference records on the form, the logged in user should have relevant read acl to see the list records and select them.
The read ACLs needs to be changed, if you want to go through with this.
Aman Kumar