Setting the Color for Events

You can use the Event Status Mapping Color business service user property to set the color for each event type. It uses the following syntax:

"status_abbreviation,event_type:color_value"

where:

  • status_abbreviation is defined in the Pane 2 Status LIC Field applet user property. Siebel Open UI uses this applet user property to display the scheduling control. In this example, you set status_abbreviation to GS (Gantt Status). You can use any abbreviation. It is recommended that you use a short abbreviation, such as GS, to reduce the amount of information that Siebel Open UI must communicate.

  • event_type specifies the type of event. For example, it can specify one of the following values:

    • Accepted

    • Declined

    • Not Responded

  • color_value specifies a hexadecimal value that identifies the color that the cascading style sheet uses to display an event. For example, a color_value of #FF0000 specifies to display an event as red.

    You can use the following syntax to specify multiple color values:

    "status_abbreviation,event_type:color_value;status_abbreviation,event_type:color_v
    alue;"
    

    where:

  • ; (semi-colon) separates each color value.

    For example, the following code sets the color for each event type:

    "GS,Accepted:#d3ffd7;Declined:#6600CC;Not Responded:#000000"
    

    where:

    • Accepted:#d3ffd7 sets the RGB color for Accepted events to light green (red at 82.75%, green at 100%, and blue at 84.31%).

    • Declined:#6600CC sets the RGB color for Declined events to purple (red at 40%, green at 0%, and blue at 80%).

    • Not Responded:#000000 sets the RGB color for Not Responded events to black (red at 0%, green at 0%, and blue at 0%).

    Note: If you are setting the color for events in a Participant Availability scheduling control, the Business Service that requires modification is the Calendar Gantt Color Service. The value can be found in the Pane 2 Event Color Service Name user property in the applet.

    For more information about how to use a hexadecimal number to represent a color, see the page about color codes at the ColorCodeHex website at http://www.colorcodehex.com.