IBM Support

How to change the Domino favorite icon for a database on the Web

Technote (FAQ)


Question

You have Web-enabled a Lotus® Domino® database that, by default, uses the Notes/Domino "Favorite" icon for display in the browser address field and favorite/bookmark list. How can you change this icon to something else?

Answer

You can take advantage of a standard function used by Web servers to change the icon. The default icon file name is favicon.ico, and it is located by default in the Domino/Data/domino/html directory. To change the Favorite icon, you can rename any 16 x 16 BMP file to "favicon.ico", and they copy into the Domino/Data/domino/html directory for display by any database accessed on that Domino Web server.

You can also change the Favorite icon for only one database, yet leave the default icon in place for other databases. To do so, add a "LINK REF" line to the HTML Head Content section. The general syntax is:

<link rel="shortcut icon" href="test.ico">

Using the Lotus Domino Designer client, add that line to the HTML Head Content section for that database. Note that you need to add the line as a string, and therefore escape the special characters by using the backslash character ( \ ), as shown in this example:

"<link rel=\"shortcut icon\" href=\"test.ico\">"

To specify a directory other than the default, specify the location relative to the default directory, as follows:

"<link rel=\"shortcut icon\" href=\"..\\..\\test.ico\">"



References: "How to Change Domino URL Icon." Internet. 27 August 2008. Available at http://www.ns-tech.com/blog/geldred.nsf.


Document information

More support for: IBM Domino Designer

Software version: 6.0, 7.0, 8.0

Operating system(s): Windows

Reference #: 1316786

Modified date: 23 September 2008