In earlier releases of the WebGUI I was able to change the BrowserIcon by simply replacing the favicon.ico file in the images folder. For some reason this is not working anymore.
What is the right way to let it work? The documentation is not very clear on this.
Page 1 / 1
Hi Harm,
Best way to set your own icon for this is by setting the ini file setting: BrowserIcon
The value may contain an absolute path to a network location, which the IIS Application pool could read from, or a relative path. In case of a relative path the icon should be placed inside the `App_LocalResources` directory within the Web GUI directory.
This also saves you one deployment step when replacing the GUI with a new version.
I hope this answers your question.
Regards, Erik
Erik,
Thank you!
Could you add an example for relative path with a favicon file in subfolder?
Maybe an idea, to put this in the documention.
BR,
Harm
Just use something like this:
BrowserIcon = icons/favicon.ico
Where the icon is placed here:
<web GUI directory>/App_LocalResources/icons/
Notice that the added support for relative paths for this kind of settings since GUI version: 2019.2.14.
Erik,
It seems to be simple, but I am still having difficulties, to get it work.
settings.ini:
BrowserIcon = Applications/STT/favicon.ico
What am I doing wrong?
It might be browser caching. My experience is that some browsers use very effective ways to remain the favicon once it is loaded once.
Seems like you configured everything right.
Maybe pick another type of browser for the test or a PC which didn't accessed the application yet? Maybe change the filename to trigger the browser to refresh it?
Please let me know if this resolves your problem.
Erik,
You were right, the caching mechanism of the browser caused the problem.
For Google Chrome this problem was solved by following steps: 1. Hover over tab 2. Right Click 3. Select Reload
From version 2021.1.10, the Web GUI also listens to Global settings->Application Icon, which is stored in the IAM database.