Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Display VIP icon in lists

riskay123
Mega Guru

Good Afternoon,

Can someone please tell me how I can see the VIP icon when looking a lists for request and incidents?

I am sure it used to display but I have just noticed that it is no longer listed. I can see it on the incident form against the Caller field but it does not display against the Requested for field.

I would like to be able to make a filter from this list that displays all the VIP tickets for request and incidents.

Is there an easy way to fix this?

5 REPLIES 5

Community Alums
Not applicable

You can use Field Styles (sys_ui_style) Table to create an icon against Requested For Fields.

use the script below :

background-image: url('images/icons/vip.gif');
            background-repeat: no-repeat;
            background-position: 98% 5px;
            padding-right: 30px;

 Value --> javascript:current.requested_for.vip == true

Field Name : requested_for

 

AND to create filter, use below query,

caller_id.vip=true^ORrequested_for.vip=true

 

Please mark it helpful if it serves your requirement.

How can i make this work in SOW or Service operation workspace? I want to show the VIPs showing in list of requests stand out, by applying this style to the requested for field. any ideas?

Indrajit
Mega Guru

Hey ,

You can do this right clicking on the field name and selecting Configure Styles.

Then, as an example, see how it works in the caller_id field on the incident table how you could use an image, just adding the following CSS code with your image:

background-image: url('images/icons/vip.gif');

find_real_file.png

you can refer below link for more,

https://community.servicenow.com/community?id=community_question&sys_id=b4200361db98dbc01dcaf3231f96...

https://docs.servicenow.com/bundle/jakarta-servicenow-platform/page/administer/navigation-and-ui/tas...

Hope this can help you.

Please, mark Correct and hit Helpful if you find my response worthy.

Regards,

Indrajit.

Pratiksha Kalam
Kilo Sage

Hello,

You can check by condition user->VIP is TRUE.

find_real_file.png

If not then you can apply field style on both field :1.caller 2.requested forfind_real_file.png

If answer is helpful please mark correct and helpful!
Thanks,
Pratiksha