Uanble to hide the Mandatory fields unless made Non-Mandatory before hiding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2019 10:32 PM
Hi,
We are upgrading our instance to London version. We are facing an issue within Catalog Items.
Within the new version we are unable to hide a field in Catalog Client Script or Widget which is mandatory.
In order to hide we need to make it non-mandatory before hiding.
I want to know how we can turn off this behavior? i believe there might be some property or anything through which we can turn it off.
Please let me know how we can achieve this.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2019 10:21 PM
Hi Rizwan,
You can hide the mandatory field by using a UI policy.
In your UI Policy, under Catalog UI Policy Actions, create two records.
- create new > Select your variable name, set Mandatory: true and order 100 > save
- create another record > Select same variable name, set Visible: false and order 200 > save
And then try it.
Regards,
Ajay

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2019 10:24 PM
Is it already mandatory..? If yes, how you're making it mandatory..?