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 @Samiksha2 

 

You did not get my point. 

 

For portal we need catalog UI policy not UI policy. No need to write the code. 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Hi @Samiksha2 

 

If you want to hide something on catalog item / Portal , need to create Catalog  UI polcity , UI policy work only in native view. 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Hi @Dr Atul G- LNG ,

I checked if I am checking the form in the portal it is working but if CSM contact is loading the form in the portal, it is not working

@Samiksha2 

 

1. When we talk about portal, we refer to Catalog item form, lets not call it form.

 

So you want to hide these 2 fields on catalog item form 

If yes

Then use catalog UI policy

 

If you want to hide these 2 fields on RITM record (Native view)

Then use UI policy.

 

We all @AshishKM  @Josh Pirozzi  suggested same thing mate.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Josh Pirozzi
Kilo Sage

Hi @Samiksha2,

Are you setting a UI Policy to hide the field(s) / Variable(s) on the Catalog Item as you built it?

 

Thanks,

Josh Pirozzi