The CreatorCon Call for Content is officially open! Get started here.

Major Incident State

ankitapatnaik
Tera Contributor

Hi,

 

I want to display"Major Incident" Text image behind the number field when Major Incident state is accepted in form view and list view.
Below is the code I have written to achieve this :

ankitapatnaik_0-1723541108321.png

 

Please help me achieve this

 

4 REPLIES 4

Anurag Tripathi
Mega Patron
Mega Patron

Hi,

Don't think it will work like this. You can take reference form the caller field on incident and see how the VIP flag is displayed, you can follow something similar,

-Anurag

Can you elaborate on this.

Incident has a field called caller, this field highlights if the caller is VIP , as shown below

AnuragTripathi_0-1723543071266.png

 

Similar on the form as well.

 

Here is the field style for the same field

AnuragTripathi_1-1723543124784.png

 

 

So, in your field style make the following change so it adds the path to the image like below

 

background-image: url('images/icons/majorincident.jpg');

-Anurag

Hi @ankitapatnaik 

 

Just to add, I doubt it will work on MI Workbench.

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

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