show field only on RITM only not on the portal

tushar_ghadage
Tera Contributor

Hi @all

I want to add a field but show that field on the RITM level only not on catalog form on portal 

so, for that I have created a UI policy without any condition and added the Ui policy action making visible true for the field 'x' in UI policy.

but it is showing it on the catalog form as well on the portal.

I have tried changing the order as well, but it didn't work.

 

do help !!

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@tushar_ghadage 

If you are talking about showing variable only on RITM and not on catalog form during submission, then do this

1) Create catalog UI policy which applies to Catalog item and Hide it using UI policy action

This will ensure the variable is hidden only on catalog form during submission

Note: Remember this variable should not be mandatory

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

View solution in original post

4 REPLIES 4

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @tushar_ghadage 

 

https://www.servicenow.com/community/developer-forum/variable-only-visible-on-ritm-level-not-on-the-...

 

*************************************************************************************************************
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]

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

Ankur Bawiskar
Tera Patron
Tera Patron

@tushar_ghadage 

If you are talking about showing variable only on RITM and not on catalog form during submission, then do this

1) Create catalog UI policy which applies to Catalog item and Hide it using UI policy action

This will ensure the variable is hidden only on catalog form during submission

Note: Remember this variable should not be mandatory

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

thank you sir got it resolved 

jcmings
Mega Sage

Can you mark the variable as hidden? You'd open up the catalog item (sc_cat_item.list) and then locate the variable. In its record, check the box for Hidden. It should no longer appear.