Requested item - Hide Variables

sarahkapasi
Giga Expert

Hello,

I was wondering how i can hide variables that are blank on the Requested Item

find_real_file.png

5 REPLIES 5

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

SanjivMeher
Kilo Patron
Kilo Patron

Hi Sarah,



You can write Catalog UI policy to hid field if they are empty and apply them only on Catalog Tasks and Requested Items.


Or you can also write an onLoad Client script and hide values if they are empty. Apply only on Requested Items and Catalog Tasks.



find_real_file.png



Please mark this response as correct or helpful if it assisted you with your question.

This is what we use:  


Screen Shot 2017-05-18 at 1.41.07 PM.png



Keep in mind, that empty checkboxes will still show with this script as checkboxes ALWAYS have a value or either true or false.


Thank you.  This suggestion worked for me 😃