How to Hide approval field from the Requested Item table for ABC Catalog Item.

Samiksha2
Mega Sage

Hi All,

I have a requirement to hide approval and contact type field from the Requested Item table for ABC catalog item.

 

I tried using UI policy but it didn't work.

 

Please help me.

Thanks,

Sam

18 REPLIES 18

Hi @Josh Pirozzi 

These fields are Requested Item Field. It is working in backend but on in the portal. After submission of ticket Requested Item record will come with all the fields and variables as in the backend.

Thank you for the update @Samiksha2,

 

@Dr Atul G- LNG & @AshishKM are correct in saying that you'll need to create a UI Policy on the Catalog Item as well as the one on the Request Item to hide or display the Field(s) and Variable(s) as you'd like. 

 

  • When setting a UI Policy on the Catalog Item, you have the ability to display or hide the Variable(s) on the Portal View of the Catalog Item Form. 
    • You should also have the ability to display or hide the Variable(s) on the Catalog Task and Request Item from there as well.
  • When setting a UI Policy on the Request Item Table, you'll only have the ability to display or hide a Field or Variable from that specific (back-end) view.

Hope this helps!

Josh Pirozzi

Hi @Josh Pirozzi ,

I checked as admin, UI policy is working for requested item fields in the portal but when I am impersonating with Contact user the UI policy is not working.

Can we do via client script for that particular ABC catalog item?

Hi @Josh Pirozzi ,

I want to hide Approval field and Contact Type field from the requested item table when the catalog item is ABC.

Please help if we can do it with client script