Configuring Siebel Business Applications > Configuring the Customer Dashboard > Modifying the Appearance and Layout of the Customer Dashboard >

Adding a Custom Control to the Customer Dashboard


This topic is part of Modifying the Appearance and Layout of the Customer Dashboard.

You can add a custom control to the Customer Dashboard.

To add a custom control to the Customer Dashboard

  1. In Siebel Tools, open the Object Explorer.
  2. Select the Applet object definition Persistent Customer Dashboard Applet.
  3. In the Applet Control list, add a new applet control. Specify values for the following:
    • HTML Type. Specifies the control type, such as MiniButton, Field, or FieldLabel.
    • Field. Specifies the field that this control maps to.
    • Caption. Specifies the text to be shown for the control, such as for a button.
    • Method Invoked. Specifies the method to be invoked when the button for this control is clicked.
  4. Under Applet Web Template, create a new Web template item in the Applet Web Template Item list.
  5. Add the new control into the Web template as a Web template item. Write down the Item Identifier ID for the Web template item, such as 2902.
  6. Save your changes, and then compile your changes into an SRF file.
  7. On the Siebel Server computer, copy the file SIEBSRVR_ROOT\webtempl\CCAppletDashboard.swt to SIEBSRVR_ROOT\webtempl\custom.
  8. Edit the CCAppletDashboard.swt file to add the new SWE control, as follows:

    For example, to add a new Button control, add a control tag similar to the following:

    <swe:control id="2902">
    <div><swe:this property="FormattedHtml" hintText="Button"/></div>
    </swe:control>

    For example, to add a new Field control, add a control tag similar to the following:

    <swe:control id="1300">
    <swe:this property="FormattedHtml" hintText="Field" hintMapLabelId="swe:currentId+100"/>
    </swe:control>

    For example, to add a new Label control, add a control tag similar to the following:

    <swe:control id="1702">
    <div><swe:this property="FormattedHtml" hintText="Label"/></div>
    </swe:control>

    For more information about using the control tag, see Configuring Siebel Open UI and Siebel Developer's Reference. The ID specified in the control tag must match the Item Identifier ID for the Web template item.

  9. Save the CCAppletDashboard.swt file.
  10. Restart the Siebel Server to use the updated SRF file from Step 6.
Configuring Siebel Business Applications Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Legal Notices.