Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
MaheshChandra
Active Contributor

Hi all,

In this Blog I want to share how to change the favicon file in Forget password page or webdynpro pages in Portal.

Environment

SAP NetWeaver 7.3 onwards version.

Favicon (favorite icon) is a Browser icon or book mark icon associated with web pages. Portal comes with a default SAP favicon file with 16*16 and, the Favicon coming for Portal Login page and Web dynpro pages are different.

Read this Note on how to Change the Portal Favicon in Login page: 1906707 - How to customize favicon.ico image for SAP Net Weaver 7.1X onwards version

Forget password or LogonHelpApp page and the web dynpro pages i.e. pages starts like (https://FQDN:portno/webdynpro/dispatcher) come with a new favicon image which cannot be customized with the above note. The resolution for this image is as follows.

Resolution

Finding the exact file and location:

You can verify the file which is loading for this favicon from the LogonHelpApp page, use any browser debug tools and check for the tag <link> in the header tags . The link tag present in the LogonHelpApp page is as follows

<link href="https://FQDN:Portno/com.sap.portal.design.urdesigndata/themes/portal/sap_tradeshow_plus/common/fav.i..." rel="shortcut icon" type="image/x-icon"/>

Based on the above href location, there is a fav.ico file which is reference for the favicon image in forget password page and its relative path is: com.sap.portal.design.urdesigndata/themes/portal/sap_tradeshow_plus/common/fav.ico

Replacing the file

In File System (OS level) when we serach for the relative path and presence of fav.ico file we will found the following location:

Server Path:

/usr/sap/<SID>/J/j2ee/cluster/apps/sap.com/com.sap.portal.design.urdesigndata/servlet_jsp/com.sap.portal.design.urdesigndata/root/themes/portal/sap_tradeshow_plus/common

Replace the existing fav.ico file in the above path with custom fav.ico file. Don’t change the name or extension of the file and maintain the size to 16*16 pixels. (.ico files can be generated by web based or Open source favicon generation tolls)

Clear the Http cache from NWA and browser cache as mentioned in the above SAP note to make the changes effective.

Note:

This file will be overwritten with portal upgrade.

Now you will have a customized browser icon in all the pages of Portal.

Thanks & regards,

Mahesh

Labels in this area