SetFavIcon method: Utils class
Syntax
SetFavIcon(image_ID)
Description
Use the SetFavIcon method to set a component-specific favicon—also known as a shortcut icon, website icon, tab icon, URL icon, and so on. When the fluid component is accessed by a user, this favicon is displayed in the browser tab instead of the default favicon.
Parameters
| Parameter | Description |
|---|---|
|
image_ID |
Specifies the ID for an image stored in the PeopleTools image catalog. |
Returns
None.
Example
Note:
The image_ID can also be specified as Image. IMAGE_ID.
import PT_PAGE_UTILS:*;
Local PT_PAGE_UTILS:Utils &oUtils = create PT_PAGE_UTILS:Utils();
Local string &image = "MY_LOGO_FAVICON";
&oUtils.SetFavIcon(&image);