The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Service Portal - Custom Icons

arnabbose
Tera Expert

Hello,

Our client wants us to provide below custom images in the SP Homepage Icons. As per my understanding only glyphs available in below link are usable. https://www.w3schools.com/bootstrap/bootstrap_ref_comp_glyphs.asp

  • Can this be done with OOB UI or Custom UI needs to be put in?
  • If this can be done by any other way (may be re-structuring the Widgets) ; please can you let me know how.

find_real_file.png

24 REPLIES 24

SKum
Kilo Sage

Hi Arnab i also looking for the same can you let me the process if your question is answered.


Here is an example of image link widget


https://serviceportal.io/downloads/image-link-widget/


Raju Koyagura
Tera Guru

Hi guys, I know its a old post but we just used in our end and it worked so though of sharing with you.

1. First load the image into db_image table. Ex: my_plan.png

find_real_file.png

2. Call that in HTML code of Portal Widget with the given name.

 <img class="menuImage" src="my_plan.png" /> 

Jimmy45
Giga Guru

Raju and the rest,

 

I think what he was getting at here is even if you hardcode it into the widget in the HTML you need SHOW the Code Snippet of where to insert and how it should look.  The community is here to help and not to muddy things up.  Keep in mind, if we are to advance the minds of the community and get "Helpful" marks, you need to be helpful and think at the level of a novice developer.  That being said, hopefully this will clarify, but where in this "Cloned" icon_link widget is the  <img class="menuImage" src="my_plan.png" /> supposed to be placed?  As you can see I have applied @Jon Barnes code, but as he said, it is untested.  Keep in mind people, we have the ability to actually show screenshots in these replies.  So where exactly does the code go to replace the glyph with an image file?  On top of that, can anyone confirm that the code DOES indeed work?

 

 

is what everyone is asking for!  Thank you.

Servicenow Use4
Kilo Guru

Hi @arnabbose did you find a solution to this? If yes, could you please post the correct answer here? I and many others too would be having the same requirement. They would benefit from your response.

 

Thanks!