Unable to hide one field on Catalog item form

deepikagang
Tera Contributor

Hi All,

There is one field with multiple options , It should not visible by default when form loads, It should only visible when someone selects "yes" as an option on another field.

deepikagang_0-1738594926071.png

I have tried creating Catalog UI policy and catalog Client script but still still it is showing by default on the form.

 

Thank you in advance for your help!

 

Thank you

Deepika 

12 REPLIES 12

@deepikagang 

I believe I have answered your question.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

debendudas
Mega Sage

Hi @deepikagang ,

Please follow the below:

  1. Create a Catalog UI Policy and provide this condition: "is_the_person_a_manager" is "Yes"
  2. From the Related list of the Catalog UI Policy create a Catalog UI Policy Action as below:
    Variable name: "What Line Manager is Valid?"
    Mandatory: True
    Visible: True
  3. Save the UI Policy Action and test if it's working perfectly or not.

If this solution helps you then, mark it as accepted solution ‌‌✔️ and give thumbs up 👍

deepikagang
Tera Contributor

It is solved now, I made some changes in condition of UI policy .
Thank you all for your responses and help.