Support Article
Custom favorite icon in the pyPortalIcon rule does not display
SA-50792
Summary
Custom favorite icon does not display when using the Internet Explorer or Edge browser on a Windows 10 operating system.
Error Messages
Not Applicable
Steps to Reproduce
- Configure a custom favorite icon in the pyPortalIcon rule
- Launch the Pega instance
Root Cause
On requesting the first time, the Edge or Internet Explorer browser retrieves this icon from a fixed location (application server will have a default favorites icon). For example, <ip-address>:<port>/favicon.icon.
In case of a Tomcat application server, the default it is a Tomcat icon, and the browser is displaying it as the favorite icon. There are no further requests by the browser to update the icon based on what is specified in HEAD tag.
This is specifically a Windows 10 issue. It behaves the same way outside of a Pega application as well.
Resolution
Perform the following local-change:
Upload the custom icon to the application server (where prweb is deployed) and set the name as 'favicon.ico'. For example, in case of a Tomcat server there is a default favicon with name 'favicon.ico' inside \webapps\ROOT folder. Replace it with your custom favicon.
Published March 30, 2018 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.