How to hide the RITM variables when clicking the Preview (info icon)?

Baskarank
Tera Contributor
How to hide the RITM variables when clicking the Preview (info icon)? I have already checked Configure → Layout, and I can see the Variable Editor formatter there. How can I hide the variables in the preview view?
7 REPLIES 7

Hide the two variable fields only if they are empty.

UI policy or Client scripts won't work when previewing the record so you just remove the variable editor from the sys_popup view and let the users open the record to see the variable and let the UI policy and UI action to work

 

or create a UI macro and UI formatter and in the UI macro you can make a decision based the value existence whether to show the variable or not 

 

and add that new UI formatter in place of the variable editor in the sys_popup view

 

I would go with the first approach removing the variables from the sys_popup view(preview) and let the users to open it to find the information

 

Please mark my answer as helpful/correct if it resolves your query.

Regards,
Chaitanya

Ankur Bawiskar
Tera Patron

@Baskarank 

solution already shared by @Chaitanya ILCR 

Please mark that response as correct and close the thread.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader