Configuration Guide for Siebel Offline Client for Life Sciences > Adding and Using Icons >

Using Icons


You can use icons as follows in the Offline Client for Life Sciences:

  • On a normal button. When you define a button in the toolbar_buttons.xml file, specify:

    ICON="xyz_10x20"

  • On a toggle button. When you define a toggle applet in the pagesdefn.xml file, specify:

    ICON="xyz_10x20"

  • On an applet banner. You can use the icon as a static icon on an applet header or banner, such as the Contact 360 Accordion Header. To do this, specify the following items in a TEMPLATE_ITEM in the appletsdefn.xml file:

    DISPLAY_OBJECT="xyz_10x20"

    TYPE="Image"

  • Dynamic display of icons with an icon map. If you require context-sensitive icons, you can configure an icon map for a TEMPLATE_ITEM in the appletsdefn.xml file by setting TYPE to IconMap and adding several of TEMPLATE_ITEM_USER_PROP similar to the following configuration on the Contact 360 Accordion Header:

<TEMPLATE_ITEM DISPLAY_OBJECT="" FIELD="MarketPotential" ITEM_IDENTIFIER="PH_CENTER" HEIGHT="40" INACTIVE="N" NAME="MarketPotential" POPUP_EDIT="N" READ_ONLY="Y" SEQUENCE="1" SORT="" TAB_STOP="" TEXT_ALIGNMENT="left" TYPE="IconMap" VISIBLE="Y" WIDTH="13" COMMENTS="" SORT_MODE="ASC" GROUP="" PICK_APPLET="" CALCULATED="N" EXPRESSION="" AVAILABLE="Y" SHOW_IN_LIST="N" DISPLAY_FORMAT="" REQUIRED="N" ROWINDEX="" ROWSPAN="" COLSPAN="" COLINDEX="" DATA_TYPE="DTYPE_TEXT" NO_COPY="N" PRE_DEFAULT="" DISPLAY_OBJECT_TEXT="">

  <TEMPLATE_ITEMS_USER_PROPS>

    <TEMPLATE_ITEM_USER_PROP INACTIVE="N" NAME="MapValueToIcon:High" VALUE="rank1_Bar_13x40"/>

    <TEMPLATE_ITEM_USER_PROP INACTIVE="N" NAME="MapValueToIcon:Low" VALUE="rank3_Bar_13x30"/>

    <TEMPLATE_ITEM_USER_PROP INACTIVE="N" NAME="MapValueToIcon:Medium" VALUE="rank2_Bar_13x40"/>

  </TEMPLATE_ITEMS_USER_PROPS>

</TEMPLATE_ITEM>

In this example, rank1_Bar_13x40 is displayed when MarketPotential="High", rank2_Bar_13x30 is displayed when MarketPotential="Low", and so on.

  • On the application banner. You can define an icon on the application banner by adding the following lines of code to the applicationdefn.xml files:

    <TEMPLATE_ITEM ITEM_IDENTIFIER="APP_TITLE_LEFT" TYPE="Image" NAME="oracleLogo_135x24" NAME_TEXT=""/>

Configuration Guide for Siebel Offline Client for Life Sciences Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices.