change the favicon for Background Scripts

Snow Tomcal
Tera Expert

Hi,
I changed the favicon for my instance in two places:

1 - in the system property.

2 - in the service portal page.

However, whenever I go to this page: https://<instance URL>/sys.scripts.do

the favicon stays the default one and is not the new one 😞
Does anyone know why it happens and how to fix this?

4 REPLIES 4

-O-
Kilo Patron
Kilo Patron

The Favorite Icon should be named favicon.ico.

If it is named favicon.ico it will be used for Scripts - Background too.

Favorite Icons are looked up by browsers either by looking at the resource specified by a <link/> node with rel attribute set to value icon in the header section of a page, or lacking that, a browser will try to load an image named favicon.ico.

While SN will add the <link/> node to most pages, it will not for Scripts - Background.

So other pages load the icon specified in the property, but on Scripts - Background browsers will fall back to the well know name favicon.ico.

That is why that name should be kept.

-O-
Kilo Patron
Kilo Patron

If the icon is changed, and the name should be changed so cached favorite icon images are discarded and the new one is loaded, the part that should be changed is the parameters part of the icon name, not the file name.

E.g. property glide.product.icon in my PDI has value favicon.ico?v=5.

If I update the favorite icon I rename the existing one in Images and bump the version parameter, the value of the property becoming favicon.ico?v=6.

Snow Tomcal
Tera Expert

Thanks all!
I changed the property and the image names to 'favicon.ico' and now it works (:

 

You're welcome.
Would it be too much if I asked you to mark the correct answer?