Siebel Open UI >  Changing Colors on the Dispatch Board Gantt Chart (Open UI Client)

IP16: Changing Colors for Employee Hours and Activities on the Dispatch Board Gantt Chart (Open UI Client)

In our current 8.0 version, in HI mode we have configured Gantt Chart to display Employee Working hours in different colors by setting the following user properties.
Z-Background Color LOV Map = #Normal#Overtime#Extended Overtime#Consultation#Sales#Support#CD#Overflow
Z-Background Color Map = #White#Gray Medium 2#Gray Dark 2#Blue#Green#Purple#Orange#Black
Z-Background Color LOV Name = SHIFT_HOUR_TYPE

We added the same user properties in IP16 (FS Dispatch Board Gantt Applet) for Open UI mode but this does not seem to work.

 

Solution:


Changing Colors for Periods on the Dispatch Board Gantt Chart
On the Gantt chart, each of the following periods for an employee appears in a different color:

Working periods
Nonworking periods
Overtime periods
Extended overtime periods
You can change these colors.

This task is a step in Process of Configuring the Dispatch Board.

To change the colors for the periods on the Dispatch Board Gantt chart

Navigate to the theme-gray.css file in the following directory:
<build root>\swsm\applicationcontainer\webapps\siebel\files

Open this file in the CSS (Cascading Style Sheet) editor.
Search for the appropriate class as follows:
To change the colors for working periods, search for the siebui-taskBoxNormal class.
To change the colors for nonworking periods, search for the siebui-taskBoxUnavail class.
To change the colors for overtime periods and extended overtime periods, search for the siebui-taskBoxOT class.
Change the value of the background-color property to the hexadecimal value of the new color.


Configuring Colors for Activities on the Dispatch Board Gantt Chart


For activities on the Gantt chart, users can configure the major color scheme, the minor color scheme, and the color of grid objects. In the Dispatch Board view of the User Preferences screen, they can configure color schemes for only the Priority, Status, and Type field values in activity records. For more information, see Setting User Preferences for the Dispatch Board (End User).

You can use Siebel Tools to configure colors for other field values in activity records. Your color configurations override the color configurations that users set up in the User Preferences screen. For more information about performing configuration tasks with Siebel Tools, see Using Siebel Tools.

This task is a step in Process of Configuring the Dispatch Board.

To configure colors for activities on the Dispatch Board Gantt chart

Log in to Siebel Tools or Web Tools as an administrator (see Using Siebel Tools).
Create a workspace.
Lock the FS Dispatch Board project for editing.
In the Object Explorer, navigate to Applet, and query for the FS Dispatch Board Gantt Applet.
Navigate to Applet, then Applet User Prop, and complete the following steps:
Query for the DispatchBoardColourAttrib1 user property, and change the Value field as follows:
To change the major color scheme, change the value to #BGRCLR#Class#.
To change the minor color scheme, change the value to #BDRCLR#Class#.
To change the color of the grid object, change the value to #TXTCLR#Class#.
Add the following user properties:
DispatchBoard_Class_LOVMap with a value of #Research#Follow-Up#Urgent#
Outsourced#Customer Retention Activity#Field Engineer Activity#Repair Activity#.

Each item in this value is a language-independent code for the Type field value of FS_ACTIVITY_CLASS in the List of Values view of the Administration - Data screen.
DispatchBoard_Class_ColMap with a value that contains items that designate the colors of the items in the value for the DispatchBoard_Class_LOVMap user property (for example, #Blue#Blue Medium#Blue Light#Blue Dark#Green#Green Light#Gray#).
Lock the Activity project for editing.
In the Object Explorer, navigate to Business Component, and query for the Action business component.
Navigate to Business Component, then Field, and query for the appropriate field as follows:
To change the major color scheme, query for BGRCLRField.
To change the minor color scheme, query for BDRCLRField.
To change the color of the grid object, query for TXTCLRField.
Change the Calculated Value field to [Class].
Deliver the changes to the Integration Branch.