Join us Dec. 16 for The Community Hour, our first global virtual User Group event!

VIP Icon on Incident form (Caller field) configuration in UI16 native view

sd2097
Tera Guru

Hi,

 

I want to understand, from where is the VIP Icon (attached below) configured in the system. We know the functioning that if the Caller.VIP==true, we will get this next to the 'Caller' field on the form.

 

sd2097_0-1793967900847.png

 

 

I was trying to create a new style in the sys_ui_style table (Please see the snap below). But still, even though the conditions in the 'Value' field satisfy, and in the 'Style' field, I have brought the OOB servicenow image, still the image isn't visible like that of 'VIP' on the incident form.

 

sd2097_1-1793967943131.png

 

 

Another observation.  In the out of the box Style record (specifically configured for the 'VIP' icon), I tried to update the condition in the Value field. Even though the new conditions were also matching, the icon wasn't shown on the form. 

 

But as soon as I reverted to the original version, it was working as expected.

 

We want to understand, from where we can configure this, and add a new custom icon alongside the existing VIP icon.

 

Thanks,

7 REPLIES 7

Vishal Jaswal
Tera Sage

Hello @sd2097 

1. Upload image in System UI > Images -> You have already done it.
2. Update sys_ui_style as -> You have already done it.

VishalJaswal_1-1794331357386.png

 


3. Update oob Client script as shown below (same way you updated above style):

VishalJaswal_0-1794331317839.png


Validation: Inspect (Browser's developer tools):

VishalJaswal_2-1794331419214.png

 

Thanks for your response. This one surely helps. Since this is a high-risk OOB client script, is it recommended to make any changes in this?

 

Or is it a better idea, to deactivate this one and create a similar client script, as our use case needs different icons for different conditions.

Hello @sd2097 

Either is fine as once the client script is updated (code or deactivated), it will fall in skipped record(s) during upgrade.