Major Incident State
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2024 02:25 AM
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 :
Please help me achieve this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2024 02:29 AM
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,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2024 02:37 AM
Can you elaborate on this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2024 03:01 AM
Incident has a field called caller, this field highlights if the caller is VIP , as shown below
Similar on the form as well.
Here is the field style for the same field
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');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2024 03:05 AM
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]
****************************************************************************************************************