Populating the choices for a list collector variable in the service catalog

David Sloan
Giga Guru

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.

find_real_file.png

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.

find_real_file.png

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?

8 REPLIES 8

Community Alums
Not applicable

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.

find_real_file.png

Copied query you can give in the Reference qualifier field. As show in the below image:

find_real_file.png

Please mark it as a helpful, if you feel my answer is helped you in anyway.

Thanks,

J P Ramya Priya

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.

Community Alums
Not applicable

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!

 

Aman Kumar S
Kilo Patron

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.

Best Regards
Aman Kumar