How to hide a field on the portal but needs to be visible on the RITM and SCTask

Mallika Bhupath
Tera Contributor

Hi all,

 

I have two fields - Priority and comments that should not be visible on the Service Portal of the form but need to be visible when the request is submitted on the RITM and SCTASK form.

 

I tried using a UI Policy but it does not seem to be working.

 

Any guidance would be appreciated.

 

Thanks,

Mallika

3 REPLIES 3

Vishal Birajdar
Giga Sage

Hi @Mallika Bhupath 

 

You can write two ui policy

1. Select applies on catalog item to true and write ui policy action to hide field

2. Select applies on ritm & applies  on catalog task to true and write ui policy action to show field

 

 

Vishal Birajdar
ServiceNow Developer

I know one thing, and that is that I know nothing.
- Socrates

vixxy
Tera Contributor

Create a UI policy with name : Hide Priority and comments.

 

And in the filters you will see 3 options 

1. Applies on Catalog item:  Tick this only this one.

2." """ requested Item : 

3. applies on catalog task:

 

Scroll to bottom click new ui policy in the same section and create new two actions

1 . Select  priority field  and make it visible false.

2  Select comments field and make it visible false.

 

If u have any doubt on how to implement this mail me: vixy4889@gmail.com, I can guide you.

 

AshishKM
Kilo Patron
Kilo Patron

Hi @Mallika Bhupath ,

Create the Catalog UI Policy for the said catalog item and add the Calalog UI Policy Actions for visibility true/false.

 

AshishKMishra_1-1699112753341.png

 

Catalog UI Policy has option to apply the rule on portal, ritm , sctask, you can check the option as required.

AshishKMishra_0-1699112607340.png

 

 


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution