Make variable to be visible & editable on the RITM but not visible on Catalog Form

DeIvory Gordon
Tera Guru

Hello,

 

I would like to make a variable hidden on a catalog form, visible & editable on the RITM. 

Here I created a variable called 'Mobile Number' which is not available on the catalog form, however for some reason it is also NOT available on RITM, see screen shots below of what I did.  Do you know why the 'Mobile Number' variable does not show on RITM?  Thanks!

 

DeIvoryGordon_0-1752759010553.png

 

DeIvoryGordon_2-1752759293608.png

 

 

DeIvoryGordon_1-1752759211799.png

DeIvoryGordon_3-1752759423814.png

DeIvoryGordon_4-1752759465049.png

 

DeIvoryGordon_5-1752759478967.png

 

2 ACCEPTED SOLUTIONS

Ankur Bawiskar
Tera Patron
Tera Patron

@DeIvory Gordon 

any other client script or UI policy is showing that variable on RITM?

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

J Siva
Tera Sage

Hi @DeIvory Gordon 

Create two UI policies.

In one, uncheck "Applies on Catalog tasks", "Applies on Requested item & check "Applies on Catalog item view"and in the UI policy action select the 'Mobile number' field and set the visibility 'false'.

In the other, check "Applies on Catalog tasks", "Applies on Requested item" & uncheck other check boxes. Add the same 'Mobile number' field and set the  visibility 'true'.

 

The above two UI policies will meet your requirement.

If you already have any ui policy or client script just deactivate and try the above.

 

Regards,

Siva

View solution in original post

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

@DeIvory Gordon 

any other client script or UI policy is showing that variable on RITM?

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

J Siva
Tera Sage

Hi @DeIvory Gordon 

Create two UI policies.

In one, uncheck "Applies on Catalog tasks", "Applies on Requested item & check "Applies on Catalog item view"and in the UI policy action select the 'Mobile number' field and set the visibility 'false'.

In the other, check "Applies on Catalog tasks", "Applies on Requested item" & uncheck other check boxes. Add the same 'Mobile number' field and set the  visibility 'true'.

 

The above two UI policies will meet your requirement.

If you already have any ui policy or client script just deactivate and try the above.

 

Regards,

Siva

Thank you my friend, that works, Idk why I didn't think to create two catalog policies.

@DeIvory Gordon Glad it helped