- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2023 10:38 PM
Hi,
I am looking for a solution for the below scenario-
When the number of containers is selected as 1, 2, or 3 specific variables should be visible as per the table below. I have tried with UI policy and also tried with catalog client script but not working. Behaving weird variable visibility is not working as expected.
Number of Containers | Drop Down | 1 2 3 |
If Select 1 | Visible & Mandatory | A B C |
If Select 2 | Visible & Mandatory | A B C D E F |
If Select 3 | Visible & Mandatory | A B C D E F G H I |
Regards,
Piyush Kumar
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2023 11:30 PM - edited 01-26-2023 11:32 PM
Hi @Piyush27 ,
it's all based on the condition you choose in the UI Policy. I had created an example for your reference. You can follow that and I think it will definitely fix the issues.
Create 3 Catalog UI Policies as below. You can take it as an example and work on it for your scenario.
General Availability for 1,2,3:
General Availability 2 and 3:
General Availability 3:
I have attached the output also for your reference (See attached Screenshots).
Mark Helpful and Accept as a solution if it helps in Solving your issue.
Regards,
Johns
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2023 10:52 PM
Can you share your catalog client script?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2023 11:30 PM - edited 01-26-2023 11:31 PM
Hi @Piyush27 ,
To achieve above requirement create four UI Policies as below.
1] In first UI Policy hide all the variable A to I.
2] Create 2nd UI Policy for Select 1 option.
3] Create 3rd UI Policy for Select 2 option.
4] Create 4th UI Policy for Select 3 option.
If I could help you with your Query then, please hit the Thumb Icon and mark as Correct !!
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2023 11:30 PM - edited 01-26-2023 11:32 PM
Hi @Piyush27 ,
it's all based on the condition you choose in the UI Policy. I had created an example for your reference. You can follow that and I think it will definitely fix the issues.
Create 3 Catalog UI Policies as below. You can take it as an example and work on it for your scenario.
General Availability for 1,2,3:
General Availability 2 and 3:
General Availability 3:
I have attached the output also for your reference (See attached Screenshots).
Mark Helpful and Accept as a solution if it helps in Solving your issue.
Regards,
Johns
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2023 02:25 AM
It worked for one condition but I forget to mention that this select box and the variables will be common for 4 different flows so every time I fill the form at the end I will see this container drop-down box.
I did it for other variable flows now it conflicts with others and on RITM and TASK levels the variables disappear. At the portal, it works fine though.
The order of other UI Policy is different