- 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-27-2023 02:49 AM
Hi @Piyush27 ,
I didn't quite understand the situation. Can you please mention with some examples so it would be easier for me to understand.
Also, make sure in the UI Policy you have selected "Applies on Catalog Task" and "Applies on Requested Items" as shown in the image that I shared earlier. Also, make sure that there are no conflicting UI Policies and client scripts on those fields.
Regards,
Johns