How can I make reference fields to list collector type of field where these fields are dependent on
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2025 08:43 AM
Hello Team,
I have an existing Catalog Item which is having a variable set added to it & it opens a new form within this catalog item:
1.Test1 (Reference Field)
2.Test 2 (Reference Field)
3.Test 3 (Reference Field)
4.Test 4 (Reference Field)
5.Test 5 (Reference Field)
When I choose Test1, Test 2 choices shows further Test 3, Test 4, Test 5, (For this we have a custom table created where this mapping is happening my requirement is that when I choose Test 1, I should be able to choose all the choices of Test2 & Test3 Test4 Test 5 as I can only choose only 1 value as of now.
If I talk about custom table mapping I can see each field has 1 entry, if a choice is having more than 1 value then there are more than 1 entry onto that table.
Please advise how we can achieve this requirement or best way to do this ?
Thanks,
XXXXX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2025 10:34 AM
I don't know if I'm exactly following / understanding correctly, but if you want to select more than one value, use the variable type of List Collector instead of Reference. List Collector variables can use a table and Reference qualifier, just like Reference type variables. To ensure the list of records which satisfy the qualifier are refreshed in your scenario after Test1 has been selected, include in the Variable Attributes something like this:
where 'v_test1' is the name of the Test1 variable. The no_filter and glide_list attributes are optional, and only affect the appearance of the variable in the native / Service Catalog view, not Portal/ESC... Using no_filter hides the filter section from above the Available and Selected boxes. The glide_list attribute makes the variable appear similar to List fields, and List Collector variables in the Portal with a lock icon and a reference search window instead of the Available and Selected windows.
