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 Preety,



In your requirement you need to upload your custom image on this url:


https://demo015.service-now.com/image_picker.do?sysparm_element=sys_app_module.image&sysparm_img_dir...



Under this url you will get all the images related to icon and for other purpose. Then after definition you can simply use that image in the script by using same url as used for VIP image.



Please let me know for any concern about this.



Thanks!


Thanks for the URL Rajeev !!



Yes I got the VIP.gif. But can you pls help me how can I upload my custom image under same directory where VIP.gif is present


Hi Preety,




To upload a new image you need to upload it in the system database then same will be available as Icon to use. Just need to navigate to System UI ->Images and New  



For this just keep in mind


Creating New Icons


To create your own image and use it as a module icon:


  1. Use a graphics software program to create an icon file with the following specifications:
    • Size: 16 x 16
    • File type: .png, .gif, or .jpg
  2. Upload the new icon to the database.
  3. In the application navigator, right-click the application name and select Edit Application.
  4. Personalize the Modules related list to add the Image field.
  5. Use the list editor to enter the file name (example, my_image.png).

Then simply by using the name of the field you can perform your assessment, there is no need to define the URL for this.



Thanks!


Hi Rajeev,



I uploaded my custom image named OIP.gif under System UI ->Images   and use URL for it url(images/icon/OIP.gif).




But no luck



Thanks !


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!