Uanble to hide the Mandatory fields unless made Non-Mandatory before hiding

Rizwan Shaikh
Mega Guru

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.

6 REPLIES 6

Ajaykumar1
Tera Guru

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.

  1. create new > Select your variable name, set Mandatory: true and order 100 > save
  2. create another record > Select same variable name, set Visible: false and order 200 > save

And then try it.

Regards,
Ajay

Ajaykumar1
Tera Guru

Is it already mandatory..? If yes, how you're making it mandatory..?