Display Image for OIP users similar to VIP users

prabh
Mega Expert

HI All,

 

I want to display image for OIP users like we have for VIP users in SNOW.


I checked the script "Highlight VIP Caller" and the url of the image given is "images\icon\vip.gif".(pls tell me from where i will find vip.gif)

 

I have uploaded the new image oip.gif in Images in SNOW. but donot know what should be the url for background image.

 

Please help how to set the background image.

1 ACCEPTED SOLUTION

Preety,



I have tested your requirement at my end here in Demo instance and found that your are using the wrong url, for your custom image you need to just past the name of your image in the url tab as


"url(img/TST.jpgx)" where you need to replace TST.jpgx with your own image.



Thanks!


View solution in original post

26 REPLIES 26

Hi Rajeev,



Thanks for reply .



I have aleady done the changes in VIP script. But my requirement is different.



When we open an incident and select the caller by clicking the search button then a user table opens for selecting the user, I want color in User's table for OIP user.



or when we write half user name in caller field then some suggestions come , I want color differnce there   so that before selecting the user's name I should know that the caller is OIP or VIP or an other user.



Please let me know if my requirement is clear or not please .



Many Thanks !!


Hi Preety,



Here you need to change in the condition of your field style that


Table : sys_user


Field name : Name


Value : javascript:current.u_oip==true



Style


background-color:tomato;



Then it would work!



Thanks!


You Are a Star


Yes it works. Now its showing the name field with tomato color in Users table.




As the caller field is using the "sys_user" table as   refernece but why its not showing the tomato color for OIP user when I am clicking the search button in Incident table.






Hi Preety,



I think this will not be possible as we are referring the table from other table and this would not be actual view of table, but I would try to explore this once I get any chance.



Thanke!


Thanks Rajeev !!