show/hide variables based on list collector choice
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2016 07:00 AM
Hi there
I've a requirement to show/hide variables based on the systems I choose in a list collector. As an example, I have a set of systems in the list such as Service Now, Primavera, ARC etc. I choose Service Now and Primavera from this list and it should a set of variables for each of them. For ServiceNow I need to display a variable for users to choose Support group and for Primavera I need to know if they are approver or not.. How can I achieve this?
Usual ui policy with contains doesn't work and the client script on change of the variable just display the variables when the page is loaded.
Please help!
Thanks
Annmol

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2016 07:16 AM
You should be able to use a ui policy or onchange client script, but you'll want to remember that the value of a list collector is a comma separated list of sys_ids, so you would typically do variable contains sys_id as you condition.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2016 07:33 AM
thanks Brad.. that helped..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-12-2019 07:31 AM
I have a similiar kind of requirement when on selection of a particular choice of list collector field a variable should be shown and on selection of another the variable should be shown.
Can anyone please help me on this.