Replacing Default Browser Icon for Domino Applications

Mindwatering Incorporated

Author: Tripp W Black

Created: 09/28/2012 at 01:09 PM

 

Category:
Notes Developer Tips
HTMLHead

Task:
Replace standard default Domino icon in web browsers with a specific icon for an application.

Solution:
You can place a favicon.ico in the notesdata/domino/html folder, but it's not ideal.

Developers and Admins both like things self contained for portability. Instead create icons for each application desired.
Steps:
1. Create your favicon.ico image using your favorite image editor (e.g. GIMP or Adobe PhotoShop).
2. Using the Designer client, add the favicon.ico to the Resources --> File Resources view.
3. Now go back to the forms/pages of your application. Add the following code to the HTMLHead:
"<link rel="shortcut icon" href=\"/" + @WebDbName + "/favicon.ico\">"


previous page