Add Style to variable on report

RR16
Tera Expert

How do I add Style to a catalog item variable so that when the variable is in a column on a report used in a dashboard, it is shown with a yellow background color if the variable "E Date" is the current date?  If selecting SCTASK as the table, there is a choice of field that is 'Variables', but I cannot see how to select the specific variable I would like the Style to effect.  See screenshot "Screenshot 2024-01-02 110011".

 

Similarly, in the attached screenshot from my personal instance, the given catalog item "Register a Business Application" is a record producer.  On setting up a Style, there is a field choice "Questions".  How would you add a Style to the "Type of Application" variable when the Value is "Homegrown"?  See screenshot "Screenshot 2024-01-02 085932".

 

Any help much appreciated! 

1 REPLY 1

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @RR16 

 

Have a look here

 

https://servicenowguru.com/system-ui/field-styles-service-catalog-variables/

https://www.servicenow.com/community/developer-blog/the-ultimate-service-portal-css-guide/ba-p/22901...

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

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