How to Display a VIP Icon to the Right of the Caller Field on the Incident Form?

dattanarend
Tera Expert

Hi ,

I'm trying to customize the Incident form in the Classic UI to show a VIP icon next to the Caller field (specifically, to the right side of the input box) when the selected caller has the VIP flag set to true.

Here’s what I want:

  • When a VIP user is selected in the Caller field, a small VIP icon (vip.png) should appear to the right of the Caller field (not on the label or far left of the form).

  • The image is uploaded in the db_image table and accessible at /db_image/vip.png.

  • The Caller’s name should also turn red for visual indication.

    dattanarend_0-1752240609001.png

     

6 REPLIES 6

anshul_goyal
Kilo Sage

Hello @dattanarend 

Kindly refer the below community post to set VIP next to the caller id field:

https://www.servicenow.com/community/developer-forum/how-do-i-display-the-vip-icon-next-to-affected-...

Please mark my solution as Accepted and Helpful for future reference.

Thanks

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @dattanarend 

What you showed is available out of the box. Is there any specific reason you want to move the main section to the right? What value will that change bring?

 

DrAtulGLNG_0-1752240953203.png

DrAtulGLNG_1-1752240966510.png

 

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

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

Ankur Bawiskar
Tera Patron
Tera Patron

@dattanarend 

there is already client script for this which is OOTB and does the same

Did you check and try adjusting the position and change the image?

AnkurBawiskar_0-1752241010347.png

 

Output: It already add icon and adds red color to the caller name

AnkurBawiskar_1-1752241176176.png

 

You need to update this line in that client script and add the db image name

backgroundImage: "url(par-migration-center-modal-clock.svg)",

AnkurBawiskar_2-1752241548919.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

@dattanarend 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

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