Configuration Guide for Siebel Offline Client for Life Sciences > Adding and Using Icons >
Adding Icons
This topic describes how to add an icon to the Offline Client for Life Sciences. To add an icon
- Create the icon you require and save it in PNG or JPG format.
- Rename the icon in the following format: xyz_WxH.png.
In this format, xyz describes the icon, and W and H are the width and height of the icon in pixels, for example, newactivity_10x20.png.
- Save a copy of the icon in the appropriate folder, for example, as shown in the following table.
|
|
Siebel CRM |
CONFIG_PROJECTS_OP\iconproject\icons
|
- Edit the IconProject.as file in the
iconproject folder to add your new icon to the m_arrIcons array, as follows:
- Add the following two statements to the IconProject.as file:
[Embed(source="icons/xyz_10x20.png")] private var xyz_10x20:Class;
- Add the following case statement to the getIcon function:
case "xyz_10x20": m_mapIconFamily[ICON_DEFAULT] = xyz_10x20; m_mapIconFamily[ICON_DOWN] = xyz_10x20; m_mapIconFamily[ICON_UP] = xyz_10x20; m_mapIconFamily[ICON_OVER] = xyz_10x20; m_mapIconFamily[ICON_SDOWN] = xyz_10x20; m_mapIconFamily[ICON_SUP] = xyz_10x20; m_mapIconFamily[ICON_SOVER] = xyz_10x20; m_mapIconFamily[ICON_DISABLED] = xyz_10x20; m_mapIconFamily[ICON_SDISABLED] = xyz_10x20; break;
- Rebuild the Offline Client for Life Sciences application you have modified, for example, the Sales application.
For more information, see Process of Building the Offline Client for Life Sciences with Automated Scripts.
|