Add Custom Image in the Icon link widget instead glyphicon icon

salu
Mega Guru

Hello,

Can some one please help me on this..I need to add a custom image in the Icon link of the Service Portal.How can I add it?

find_real_file.png

Thanks

Saranya

1 ACCEPTED SOLUTION

larstange
Mega Sage

Hi



you will have to clone the widget and make your own version - the widget is only coded to show the glyph as an image


find_real_file.png


View solution in original post

28 REPLIES 28

Just to add some additional context, I am trying to use the above with the Icon link, I have created my own version of this widget using the above code but it still only allows me to add Glyphs not images



Cheers


Hi Steve,


You can find the option to edit option schema by clicking the burger icon beside the save (ctrl+s) button.


You should be add image once you edit your option schema.



Ryan


To follow up on this the best edit options schema is from the hamburger menu>edit in platform>scroll to bottom.  The edit schema direct from the hamburger isn't very intuitive.

Hey ryanramos I tried implementing this code. It seems to work, but no image is appearing. I've output the image name that the Server script gets to the console and it's getting the correct names. Is there a trick I am missing?


dcrider
Kilo Contributor

Nevermind. Typo on my part. That's usually how it goes haha