Custom table data is not showing in the list collector for end user.

NeethuB
Tera Contributor

I'm creating a catalog item form in ITSM. So I'm using a catalog item, maintain item. So I have created a custom table called u_month to save all 12 months so that in the form I can use a list collector so that the end user can select multiple months from the dropdown. So what I did was I just created a custom table u_month and added 12 months there and put the month field display as true and I refer that in the list collector. As an admin, I can see the applicable month, in the applicable month field, all the 12 months. But as an end user, when the user is trying to open the applicable month field, it is showing as no match found. When I created the table, I have unticked the roles creation, so no role has been created, and no ACLs are also there. So I'm not understanding why the end user is not able to see the values. And for the role, I can't give all the end user a role because if a new user come to the system, I can't give them the role. So can anyone help me to resolve this issue?

1 ACCEPTED SOLUTION

drbob
Giga Guru

I added a "read" ACL for question_choice with the same filter as the variable...


drbob_0-1785168364566.png

drbob_1-1785168390480.png

 

 

This made the options available to a plain user. I didn't test this exhaustively - it may have removed other access as ACLs tend to (this being a table.none it's fairly safe, I'm just noting to be cautious). Always test access changes every way possible before promoting ...at least until you're an ACL-guru...and probably even then

 

 

View solution in original post

8 REPLIES 8

NeethuB
Tera Contributor

Can you make sure it is visible for the end user because for admin it was visible.

drbob
Giga Guru

Additional note...

 

The question_choice table has ACLs that now come into play it seems. So you'll have to allow whoever is using the form to see the choices - you can't get away from ACLs !!! 🙂

drbob
Giga Guru

I added a "read" ACL for question_choice with the same filter as the variable...


drbob_0-1785168364566.png

drbob_1-1785168390480.png

 

 

This made the options available to a plain user. I didn't test this exhaustively - it may have removed other access as ACLs tend to (this being a table.none it's fairly safe, I'm just noting to be cautious). Always test access changes every way possible before promoting ...at least until you're an ACL-guru...and probably even then

 

 

NeethuB
Tera Contributor

Thankyou 🙂