Skip Headers
Siebel CRM Configuring Siebel Open UI
Siebel Innovation Pack 2015
E52417-01
  Go to Documentation Home
Home
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
 
Next
Next
    View PDF

Customizing Resource Schedulers

This topic describes how to customize a resource scheduler. It includes the following topics:

This topic includes example values that customize the resource scheduler that Siebel Hospitality uses. You can use a different set of values to customize a different Siebel application.

Overview of Customizing Resource Schedulers

Figure 7-1 includes an example of a resource scheduler, which is a type of bar chart that includes a schedule that allows the user to schedule a resource. In this example, the Function Space Diary is a resource scheduler that allows the user to schedule a room in a hotel. The room is the resource. You can use a different resource scheduler to meet the deployment requirements of your Siebel application.

Figure 7-1 Example of a Resource Scheduler

Surrounding text describes Figure 7-1 .

Explanation of Callouts

The resource scheduler includes the following items:

  1. Date navigation bar. Allows the user to modify the date that Siebel Open UI displays in the schedule.

  2. Time scale selector. Includes the following time scales:

    • D/H. Days and hours.

    • D/DP. Days and day parts.

    • W/D. Weeks and days.

    • W/DP. Weeks, days, and day parts.

    • M/D. Months and days.

    • M/DW. Months, days of the week, and day parts.

    A day part is a time period that occurs during the day. For example, morning, afternoon, evening, and night are examples of day parts. You can customize the time period that defines a day part. For example, the morning day part comes predefined as 8:00 AM to Noon. You can modify it to another time period, such as 9:00 AM to Noon. For information about customizing the day part, see Step 5.

  3. Filter pane. Allows the user to filter data that Siebel Open UI displays in the schedule.

  4. Resource pane. Displays a list of resources. A resource is something that a resource scheduler can use to support an event. A room is an example of a resource. An event is something that occurs in a resource. A meeting is an example of an event.

  5. Timescale pane. Displays a time scale that includes date and time information. It includes the following items:

    • The major axis is a dimension that Siebel Open UI displays in the time scale. In this example, the major axis displays the current day, which is Monday, July 22.

    • The minor axis is a dimension that Siebel Open UI displays in the time scale. In this example, the minor axis displays the time of day, such as 10:00 AM.

    • The third axis is a dimension that Siebel Open UI displays in the time scale. It displays this axis as a third dimension in addition to the major axis and the minor axis. You can use the third axis to display Siebel CRM information according to your deployment requirements. In this example, the third axis displays the total number of rooms that are available for the current day. For example, 300/380 indicates that 300 rooms out of a total of 380 rooms are available for the current day.

  6. Schedule pane. Displays the schedule as a timeline. Includes events that are scheduled for each resource.

  7. Legend. Displays a legend that describes the meaning of each color that Siebel Open UI displays in the Schedule pane.

Using Abbreviations When Customizing the Resource Scheduler

An abbreviation is an optional shortened version of a value that you can specify in the Value property of an object that a resource scheduler uses. ST is an example of an abbreviation. It indicates the start time of a resource scheduler. Siebel Open UI uses these abbreviations to reduce the amount of information that it sends from the Siebel Server to the client. This book includes the abbreviations that you can use for Siebel Hospitality. Unless noted elsewhere, these abbreviations come predefined with Siebel Open UI, and you can use only the abbreviations that this book describes. For help with using abbreviations, see "Getting Help from Oracle".

Customizing a Resource Scheduler

This topic describes how to customize a resource scheduler.

To customize a resource scheduler 

  1. Configure the applet that Siebel Open UI uses to display the resource scheduler:

    1. Open Siebel Tools.

      For more information, see Using Siebel Tools.

    2. In the Object Explorer, click Applet.

      This example includes the minimum set of objects that you must add. To view predefined applets that Siebel Open UI uses for a resource scheduler, you can query the name property for TNT Function Bookings Gantt Applet or, to simplify creating your resource scheduler, you can make a copy of one of these applets, and then modify the copy.

    3. In the Applets list, add a new applet, or copy one of the applets mentioned in Step b.

    4. Set the following property for the applet that you added in Step c.

      Property Value
      Class CSSSWEFrameGantt

    5. In the Object Explorer, expand the Applet tree, and then click Applet User Prop.

    6. In the Applet User Props list, add the following applet user properties. Each value in the Value property supports this example. You can use values that your deployment requires. You must include all of these user properties.

      Name Value Description
      Gantt Open UI Service TNT Gantt UI Service Specify the business service name that Siebel Open UI uses to save system preferences and user preferences.
      Physical_Renderer GanttTNTRenderer Specify the name of the class that Siebel Open UI uses for the physical renderer.
      Presentation_Model GanttTNTPresentationModel Specify the name of the class that Siebel Open UI uses for the presentation model.
      ClientPMUserProp EnableTooltip,Date Padding for TimeScale LIC,DateBar Navigation TS Specify the user properties that Siebel Open UI makes available to JavaScript files that reside on the client. You must use a comma to separate each user property name.
      Date Padding for TimeScale LIC time_scale_identifier:number_of_pages Specify the number of pages that Siebel Open UI uses in the cache for the time scale. For more information, see "Customizing the Cache That Siebel Open UI Uses for Time Scales".
      DateBar Navigation TS time_scale_identifier:small_date_change, big_date_change Specify the date navigation buttons. For more information, see "Customizing the Date Navigation Buttons".
      Duration for TimeScale LIC time_scale_identifier:number_of_days

      For example:

      1:7;2:1;4:1;32:36;64:31;128:7;256:35;512:1;1024:1
      
      Specify the number of days that Siebel Open UI sends to the cache for each time scale. For example, the following value specifies to send seven days of data to the cache for the Week/Day time scale:
      1:7
      

      You can use a semicolon to specify days for more than one time scale.

      Siebel Open UI uses a number to identify each time scale. For more information, see "Determining the Number That Siebel Open UI Uses to Identify Time Scales".

      No. Of Panes 3 This applet user property specifies the number of panes that Siebel Open UI displays. A resource scheduler always displays the Resource pane, Time Scale pane, and the Scheduler pane, so you must not modify this applet user property.
      Custom Control Name s_Diary Specify the name of the custom control.
      Custom Control "Legend Control Name,s_Legend" Specify the tag that Siebel Open UI uses to render each custom control. Siebel Open UI uses this information to parse the input property set when it renders a custom control. Use the following format for each value:
      control_name,tag_name
      

      where:

      • control_name specifies the name of the custom control.

      • tag_name specifies the tag name that you define in the Tag Name control user property in c.

      For example, the following value specifies to use the s_Legend tag for the Legend Control Name control:

      Legend Control Name,s_Legend
      

      You can use Custom Control 1 and Custom Control 2 to specify more controls, as required.

      Custom Control 1 "DateBar Control Name,s_DateBar"
      Custom Control 2 "GanttChart,s_Diary"

    7. Configure system preferences and user preferences.

      In the Applet User Props list, add the following applet user properties. Each value in the Value property supports this example. You can use values that your deployment requires. You must include all of these user properties.

      Name Value Description
      Support System Preferences Y If the value is N or empty, then Siebel Open UI does not support system preference usage with a resource scheduler.
      Support User Preferences Y
      System_Pref Field number

      For example, System_Pref Field 1, System_Pref Field 2, and so on.

      "GntAXCtrl:Time Scale", "TST", "TNT_SHM_GNTAX_TIME_SCALE" Specify the default values that Siebel Open UI uses in a resource scheduler. You can use the following abbreviations:
      • TST. Specifies the Time Scale.

      • ST. Specifies the start time of the schedule.

      • ET. Specifies the End time of the schedule.

      If a field is a LOV field, then you must specify the LOV name so that the code gets the language-dependent value.

      For more information about the abbreviations that the Value property contains, see "Using Abbreviations When Customizing the Resource Scheduler".

      System_Pref_Prefix GntAXCtrl: Specify the prefix that Siebel Open UI uses for every system preference that it uses with a resource scheduler. You must use this prefix. Siebel Open UI only queries system preferences that include this prefix. It does this query in the System Preferences business component.
      User_Pref Field number

      For example, User_Pref Field 1, User_Pref Field 2, and so on.

      "Display Toggle - Query", "Display Toggle" Specify the user preference name. Siebel Open UI sends an abbreviation of this user preference to the client.
      User_Pref_Prefix Diary Specify the prefix that Siebel Open UI uses for every user preference that it uses with a resource scheduler. You must use this prefix. Siebel Open UI queries only the user preferences that include this prefix. It does this query in the User Preferences business component.

      You can use these system preferences and user preferences to configure Siebel Open UI to do decision making in your custom JavaScript code that resides on the client. For example, you can set a user preference for the default time scale to Month and Day, and then use this default in your custom JavaScript code to set the default time scale. User preferences take precedence over system preferences. If a user preference exists, then Siebel Open UI uses it instead of the corresponding system preference.

    8. Specify the methods that Siebel Open UI uses with the Siebel Server.

      In the Applet User Props list, add the following applet user properties. These applet user properties specify the methods that Siebel Open UI uses with the Siebel Server. You must add them so that Siebel Open UI can call the methods that reside on the Siebel Server. You must not modify these methods. You must also add a CanInvokeMethod applet user property for every method that your custom JavaScript calls on the Siebel Server. Make sure you set the Value property for each of these applet user properties to True.

      Property Description
      CanInvokeMethod: DoInvokeDrilldown A resource scheduler supports drilldowns through the Resource, Schedule, and Timescale panes. If the user clicks a label in one of these panes, then Siebel Open UI calls the DoInvokeDrilldown method.
      CanInvokeMethod: DoOperation Calls the DoOperation method. Siebel Open UI calls this method for various events, such as drag and drop, extend, shrink, create task, and so on.
      CanInvokeMethod: FilterDisplayOptions Specifies how Siebel Open UI displays bookings when the user clicks Set to set criteria in the Filter pane. You must configure Siebel Open UI to call the FilterDisplayOptions method, typically through the Set button. This configuration enables Siebel Open UI to filter events according to the attributes that it defines for each control.
      CanInvokeMethod: FilterGantt Specifies how Siebel Open UI displays bookings when the user sets a criteria in the Filter pane.
      CanInvokeMethod: InitPopup Calls the popup dialog box for some operations, such as drag and drop, create task, and so. You cannot customize this behavior.
      CanInvokeMethod: InvokeOperation Specifies the method that Siebel Open UI calls when the user clicks a button in the popup applet. You cannot customize this behavior. This popup applet is the TNT Gantt Popup Applet that Siebel Open UI configures for the applet user property.
      CanInvokeMethod: ReSetFilterGantt Resets the resource filter options to default values. Siebel Open UI displays these options in the Filter pane.
      CanInvokeMethod: RefreshGantt Calls the Refreshgantt method. Siebel Open UI uses this method to refresh a resource scheduler.
      CanInvokeMethod: ResetDisplayOptions Resets the display filter options to default values. Siebel Open UI displays these options in the Filter pane.
      CanInvokeMethod: SaveControlValues Stores the user preference values that the Filter pane fields contain. You cannot customize this behavior.

  2. Configure optional applet user properties.

    You can use applet user properties to implement the optional customizations that your resource scheduler configuration requires. For more information about how to do this customization, see the following topics:

  3. Add controls:

    1. In the Object Explorer, click Control.

    2. In the Controls list, add the following controls.

      Name Caption - String Reference
      1 SBL_TNT_TS_WEEK_DAY
      2 SBL_TNT_TS_DAY_DAYPART
      4 SBL_TNT_TS_DAY_HOUR
      64 SBL_TNT_TS_MONTH_DAY
      128 SBL_TNT_TS_WEEKDAY_DAYPART
      256 SBL_TNT_TS_MONTH_DAY_OF_WEEK

      Note the following:

      • A resource scheduler requires each of these controls for the time scale.

      • You must add a control for each time scale.

      • Set the Name property of each control to the time_scale_identifier, such as 1, 2, 4, and so on. Siebel Open UI uses a number to identify each time scale, such as 128 or 256. It does not use values 8, 16, or 32 for time scales with Siebel Hospitality. It might use different values for a different Siebel application. For more information, see "Determining the Number That Siebel Open UI Uses to Identify Time Scales".

      • Set the HTML Type property of each control to MiniButton.

      • Set the Method Invoked property of each control to RefreshGantt.

    3. In the Controls list, add the following controls.

      Name HTML Type Class Description
      GanttChart CustomControl CSSSWEFrameGantt Specifies the main resource scheduler control.
      GanttDateBar CustomControl CSSSWEFrameGantt Specifies the Date bar that contains the date controls. Allows the user to modify the date in a resource scheduler.
      Legend CustomControl CSSSWEFrameGantt Specifies the legend that Siebel Open UI displays in a resource scheduler.
      GoToResource Field Leave empty. Specifies the optional input text control that searches for resources that reside in the Resource pane.

      Siebel Open UI binds the event to this control in the JavaScript that resides on the client, so you must use GoToResource as the name.


      Make sure you set the Caption - String Reference property of the GoToResource control to SBL_GO_TO-1004233041-4MM. Do not set this property for the other controls.

    4. In the Object Explorer, expand the Control tree, click Control User Prop, and then use the Control User Props list to add the following control user properties to each of the controls that you added in Step c.

      Parent Control Value Property
      GanttChart s_Diary
      GanttDateBar s_DateBar
      Legend s_Legend

      Set the Name property for each control user property to Tag Name. Each of these control user properties specifies a tag name for the control. This configuration allows the JavaScript code to access the tag.

  4. Edit the web template:

    1. In the Object Explorer, click Applet Web Template.

    2. In the Applet Web Templates list, create the following applet web template.

      Property Value
      Name Edit
      Type Edit
      Web Template Applet OUI Gantt
      Upgrade Behavior Admin

    3. In the Object Explorer, click Applet.

    4. In the Applets list, right-click the applet that you are modifying, and then click Edit Web Template.

    5. In the Web Template Editor, add each of the controls that you added in Step 3 and Step c to the layout.

      It is recommended that you position each of these controls on the right side of the layout.

    6. Set the Item Identifier property of the GanttDateBar control to 3000.

    7. Close the Web Layout Editor.

  5. Configure the application:

    1. In the Object Explorer, click Application.

    2. In the Applications list, query the Name property for the application that you are modifying.

    3. In the Object Explorer, expand the Application tree, and then click Application User Prop.

    4. In the Application User Props list, add the following application user property.

      Property Value
      Name ClientBusinessServicenumber

      For example, ClientBusinessService1.

      Value Gantt UI Service

      You must add a new application user property for each business service that your customization calls in the client. In this example, you specify the Gantt UI Service business service. You must increment the Name for each application user property that you add. For example, ClientBusinessService1, ClientBusinessService2, and so on.

  6. Compile your modifications.

  7. Test your modifications:

    1. Log in to the client.

    2. Navigate to the resource scheduler, and then test your modifications.

Customizing the Cache That Siebel Open UI Uses for Time Scales

This topic describes how to customize the cache that Siebel Open UI uses for time scales.

To customize the cache that Siebel Open UI uses for time scales 

  1. Specify the number of pages to use in the cache for a time scale.

    Use the following value for the Date Padding for TimeScale LIC applet user property:

    time_scale_identifier:number_of_pages
    

    where:

    • time_scale_identifier specifies the time scale.

    • number_of_pages specifies the number of pages that Siebel Open UI uses for the previous operation and for the next operation. It uses these pages when it prepares the page cache for the time scale that the time_scale_identifier specifies.

    The following example specifies the Week/Day time scale LIC, and it specifies to use 2 pages for the previous operation, and 2 pages for the next operation:

    1:2
    

    Siebel Open UI uses a number to identify each time scale. It uses the number 1 to identify the Week/Day time scale. For more information, see "Determining the Number That Siebel Open UI Uses to Identify Time Scales".

    Siebel Open UI always includes a default page, so it uses the following calculation to determine the total cache page count:

    previous pages + default page + next pages

    So, the cache size for the 1:2 example is 5:

    2 + 1 + 2 = 5

    For more examples:

    • 1:1. Use three pages (1+1+1).

    • 1:0. Use one pages (0+1+0).

    • 1:2. Use five pages (2+1+2).

  2. (Optional) Add more than one time scale.

    Use a semicolon to separate each time scale. For example:

    1:1;2:1;4:1;32:1;64:1;128:1;256:1;512:1;1024:1
    

Customizing the Date Navigation Buttons

When you specify the DateBar Navigation TS applet user property, you specify the time period that Siebel Open UI uses to reset the current date when the user clicks one of the following buttons:

  • Left arrow. Displays the previous date, small date change.

  • Right arrow. Displays the next date, small date change.

  • Double left arrow. Displays the previous date, large date change.

  • Double right arrow. Displays the next date, large date change.

Siebel Open UI displays these buttons to the left and to the right of the date that it displays in the Date Navigation bar.

To customize the date navigation buttons 

  1. Specify the DateBar Navigation TS applet user property.

    Use the following format:

    time_scale_identifier:small_date_change, big_date_change
    

    where:

    • time_scale_identifier identifies the time scale. Siebel Open UI uses a number to identify each time scale. For more information, see "Determining the Number That Siebel Open UI Uses to Identify Time Scales".

    • small_date_change specifies the number of hours, days, weeks, or months that Siebel Open UI uses to modify the current date if the user clicks the left arrow or the right arrow.

    • big_date_change specifies the number of hours, days, weeks, or months that Siebel Open UI uses to modify the current date if the user clicks the double left arrow or the double right arrow.

  2. (Optional) Add more than one time scale.

    Use a semicolon to separate each time scale. For example:

    1:7,30;4:1,7;2:1,7;64:30,365;128:7,30;256:1,35;
    

Examples of Customizing Date Navigation Buttons

The following value customizes the date navigation buttons:

1:7,30

where:

  • 1. Specifies the time_scale_identifier. For example, 1 specifies the Week/Day time scale.

  • 7. Specifies the number of days. For example, if the current date is August 15, 2013, and if the user clicks:

    • The left arrow, then Siebel Open UI displays August 8, 2013 as the current date.

    • The right arrow, then Siebel Open UI displays August 22, 2013 as the current date.

  • 30. Specifies the number of days for the record set. For example, if the current date is August 15, 2013, and if the user clicks:

    • The double left arrow, then Siebel Open UI displays July 15, 2013 as the current date.

    • The double right arrow, then Siebel Open UI displays September 15, 2013 as the current date.

For another example:

4:1,7

where:

  • 4. Specifies the time_scale_identifier. For example, 4 specifies the Day/Hour time scale.

  • 1. Specifies the number of days. For example, if the current date is August 15, 2013, and if the user clicks:

    • The left arrow, then Siebel Open UI displays August 14, 2013 as the current date.

    • The right arrow, then Siebel Open UI displays August 16, 2013 as the current date.

  • 7. Specifies the number of days for the record set. For example, if the current date is August 15, 2013, and if the user clicks:

    • The double left arrow button, then Siebel Open UI displays August 8, 2013 as the current date.

    • The double right arrow, then Siebel Open UI displays August 22, 2013 as the current date.

Determining the Number That Siebel Open UI Uses to Identify Time Scales

This topic describes how to determine the number that Siebel Open UI uses to identify a time scale.

To determine the number that Siebel Open UI uses to identify time scales 

  1. Log in to a Siebel client with administrative privileges.

  2. Navigate to the Administration - Data screen, and then the List of Values view.

  3. Query the Type field for the following value:

    TNT_SHM_GNTAX_TIME_SCALE
    
  4. In the Display Value field, locate the time scale that you must modify.

  5. In the Language-Independent Code field, make a note of the value.

    Siebel Open UI uses the number that it displays in the Language-Independent Code field to identify the time scale that it displays in the Display Value field.

Customizing the Filter Pane in Resource Schedulers

You can add a custom filter that determines how Siebel Open UI filters resources and determines the label colors that it uses for events. You add these controls in the Filter pane. For example, you can add a filter control named Type to filter events according to the value that the Type field contains.

To customize the Filter pane in resource schedulers 

  1. In the Object List Editor, choose the applet that you modified in Step 1.

  2. In the Object List Editor, expand the Applet tree, and then click Control.

  3. (Optional) Configure the resource scheduler to filter resources:

    1. In the Controls list, choose a control that meets your deployment requirements that Siebel Open UI can use to filter resources.

      If no existing controls meet your deployment requirements, then you can add a control.

    2. In the Object List Editor, expand the Control tree, and then click Control User Prop.

    3. In the Control User Props list, add the following control user property.

      Name Value Description
      Field Name Max Room Area Sq Ft Specify to use the control as part of the resources filter. The HTML Type property of this control must be set to Text so that Siebel Open UI displays a text box that allows the user to enter a value. Siebel Open UI then uses the filter resources according to the value that the user enters. For example, if the user enters a value of 100, then Siebel Open UI sends the following value to the FilterGantt business service method. It sends this value as an input argument:
      Max Room Area Sq Ft = "100"
      

  4. (Optional) Configure the resource scheduler to filter resources and events:

    1. In the Controls list, choose a control that meets your deployment requirements that Siebel Open UI can use to filter resources and events.

      If no existing controls meet your deployment requirements, then you can add a control.

    2. In the Object List Editor, expand the Control tree, and then click Control User Prop.

    3. In the Control User Props list, add the following control user property.

      Name Value Description
      Display Field Name Optioned Specify to use the control as part of the resources filter. The HTML Type property of this control must be set to CheckBox so that Siebel Open UI displays a checkbox that allows the user to display Optioned events. Siebel Open UI then filters resources and events according to the choice that the user makes. In this example, if the user adds a check mark, then Siebel Open UI sends the following value to the DisplayOptions business service method. It sends this value as an input argument:
      Optioned = "Y"
      

  5. Use the Web Layout Editor to add the control that you modified in Step 3 or Step 4 to the Filter pane in the web template.

    You can do this work as part of step 4e .

Customizing the Resource Pane in Resource Schedulers

This topic describes how to customize the Resource pane.

To customize the Resource pane in resource schedulers 

  1. In the Object List Editor, choose the applet that you modified in Step 1.

  2. In the Object List Editor, expand the Applet tree, and then click Applet User Prop.

  3. In the Applet User Props list, add each of the following applet user properties, as required.

    Name Value Description
    Pane 0 Grid Name Resource Specify the name of the Resource pane.
    Pane 0 Grid Type RGrid Specify the pane type.
    Pane 0 Col number NM,Name Specify the details for the column header that Siebel Open UI displays in the Resource pane, including the abbreviated name and the label.
    Pane 0 Col column number Attr column attribute number

    For example:

    Pane 0 Col 1 Attr 2

    IID, 206 Specify the identifier that identifies the icon that Siebel Open UI displays for the column.
    Pane 0 Col 0 Attr 1 FLD,Room Name Specify the Room Name business component field that Siebel Open UI uses to get the value, and then display it under resource column 0.
    Pane 0 Col 0 Attr 2 IDD,Products Specify the following items:
    • IDD. The abbreviation that indicates the name of the drill down object.

    • Drilldown field. The business component field that Siebel Open UI uses when the user drills down to a destination view.

    If the user clicks the DDFLD value that Siebel Open UI displays under resource column 0, then it navigates the user to the view that the Products drill down object defines.

    Siebel Open UI uses the Pane 0 Col 0 Attr 2 applet user property in conjunction with the Pane 0 Col 0 Attr 3 applet user property.

    You must configure the corresponding drilldown object that identifies the destination view and the ID. This drilldown object resides in the applet that you are configuring.

    Pane 0 Col 0 Attr 3 DDFLD,Room Id Specify the following items:
    • DDFLD. The abbreviation that indicates the name of the drill down field.

    • Drilldown field. The name of the business component field that Siebel Open UI uses when the user drills down on resource column 0. Siebel Open UI uses this field value to navigate the user to the destination view.

    Siebel Open UI uses the Pane 0 Col 0 Attr 3 applet user property in conjunction with the Pane 0 Col 0 Attr 2 applet user property.

    Pane 0 Field number Room Id Specify the business component field that Siebel Open UI uses to get the Siebel CRM data that it displays in the Resource pane.
    Pane 0 Join Field Room Id Specify the field that Siebel Open UI uses to join resources and events. Resources and events are independent of each other. This join field joins the events that are related to a resource. For example, a meeting is an example of an event that can be held in a room, which is an example of a resource. In this example, each event includes a Room Id.
    Pane 0 Parent Field Parent Room Id Specify the parent business component field that Siebel Open UI uses to display resources in a hierarchy.
    Pane 0 Start Date Field Effective Start Specify the Start Date field that Siebel Open UI uses to prepare a search specification.
    Pane 0 View Mode 3 Specify the view mode that this Resource pane supports. You must use the following numbers to indicate each view mode:
    • 0. VIEW_SALESREP.

    • 1. VIEW_MANAGER.

    • 2. VIEW_PERSONAL.

    • 3. VIEW_ALL.

    • 4. VIEW_NONE.

    • 5. VIEW_ORG.

    • 6. VIEW_CONTACT.

    • 7. VIEW_GROUP.

    • 8. VIEW_CATALOG.

    • 9. VIEW_SUBORG.

    You can use a comma to specify more than one view mode, where the comma separates each number. For example, 1,2,3.


  4. Configure the font color that Siebel Open UI uses in the Resource pane.

    Add the following applet user property.

    Property Value Description
    Pane 0 Color Field Status Specify the business component field that determines the color that Siebel Open UI uses to display a resource. If you do not specify a value, then Siebel Open UI displays only the color black.

  5. Configure the icons that Siebel Open UI display next to the Resource Name label in the Resource pane.

    Add the following applet user property.

    Property Value
    Pane 0 Icon number Specify the name of a field that Siebel Open UI displays in the Resource pane, a comma, and then the CSS class that contains the icon. For example:
    Room Backup Required,siebui-backup required
    

Customizing the Timescale Pane in Resource Schedulers

This topic describes how to customize the Timescale pane.

To customize the Timescale pane in resource schedulers 

  1. In the Object List Editor, choose the applet that you modified in Step 1 .

  2. In the Object List Editor, expand the Applet tree, and then click Applet User Prop.

  3. In the Applet User Props list, add each of the following applet user properties, as required.

    Name Value Description
    Pane 1 Grid Name TimeScale Specify the name of the Timescale pane.
    Pane 1 Grid Type TGrid Specify the type of the Timescale pane.
    Pane 1 BC Name TNT SHM Property Special Dates Action Specify the business component name that Siebel Open UI uses to get information about special days or events that it displays in the Timescale pane. It can use this information to display colors and icons on the Timescale pane.
    Pane 1 End Date Field End Date Specify the End Date business component field where Siebel Open UI applies a search specification to prepare special days, events information, and so on.
    Pane 1 Start Date Field Start Date Specify the Start Date business component field where Siebel Open UI applies a search specification to prepare special days, events information, and so on.
    Pane 1 Field number Start Date,SD Specify the name of a field that resides in the Data business component. Siebel Open UI requires an abbreviation to prepare special day information. Siebel Open UI sends the field value as an abbreviation to the client so that the client JavaScript files can use this information.
    Time Scale LOV TNT_SHM_GNTAX_TIME_SCALE Specify the LOV name that Siebel Open UI uses for different time scales.

  4. Configure the third axis that Siebel Open UI displays on the Timescale pane. Add each of the following user properties, as required.

    Name Value Description
    Pane 1 BottomAxis Date Field Start Date Specify the Date field that Siebel Open UI uses to search the third axis that resides in the TimeScale pane business component.
    Pane 1 BottomAxis Field number

    where number is a field number.

    Total Group Available,FLD1 Specify the third axis that resides in the TimeScale pane business component field. The value contains the name and abbreviation as FLD1, FLD2, and so on.
    Pane 1 BottomAxisBC Name TNT SHM FSI Auth Lvl for Calendar Specify the business component name that Siebel Open UI uses to get the data that it displays in the third axis. If you do not include this applet user property, then Siebel Open UI does not display the third axis in the Timescale pane.
    Pane 1 BottomAxisBC Search Spec [Product Type] = LookupValue(PRODUCT_TYPE, 'Sleeping Room') Specify the search specification that Siebel Open UI applies on the business component for the Third axis in the TimeScale pane.
    Pane 1 BottomAxisBC Sort Spec Start Date Specify the sort specification that Siebel Open UI applies on the business component for the Third axis in the TimeScale pane.

  5. Configure the Day Part time scale:

    1. Add the Day Part time scale button to the controls.

      Use 2 for the Name of this button. This configuration is the LIC value that Siebel Open UI uses for the Day Part time scale. You must use a value from the time scale list of values to name each time scale button control. For more information about how to add this button, see Step 3b .

    2. Add each of the following applet user properties, as required.

      Name Value Description
      Pane 1 Daypart number

      where number is the day part number.

      Morning,NM,06:00:00,ST,12:00:00,ET,21600,DUR Siebel Open UI uses the following business component to provide the dynamic day part data:

      TNT SHM Property Day Part Pricing

      If this business component does not exist, or if it does not contain any records, then Siebel Open UI uses this applet user property to specify the Static Day Part information that the day part time scale uses. The value contains the Name, Starttime, Endtime, and Duration of the daypart.

      Pane 1 Daypart Field number Name,NM Specify the business component fields that Siebel Open UI uses to get the day part information. The value includes the field name and the abbreviation for this field name.
      Pane 1 DaypartBC Name TNT SHM Property Day Part Pricing Specify the name of the business component that Siebel Open UI uses to get the day part information.
      Pane 1 DaypartBC Search Spec (Empty) Specify the search specification that resides on the business component that Siebel Open UI uses to get the day part information. This value comes predefined as empty.
      Pane 1 DaypartBC Sort Spec Start Time Specify the sort specification that resides on the business component that Siebel Open UI uses to get the day part information.

  6. Configure the colors that Siebel Open UI displays on the time scale. You can configure Siebel Open UI to modify the colors it uses in time scale cells according to a condition. For example, it can set the color of a weekend cell to red. Add each of the following applet user properties, as required.

    Name Value Description
    Pane 1 Color: Admin BC TNT SHM Gantt AX Admin Function Status Specify the business component that Siebel Open UI uses to display colors for time scale data cells.
    Pane 1 Color:Admin BO TNT SHM Gantt Admin System Pref Specify the business object that references the business component that Siebel Open UI uses to display colors for time scale data cells.
    Pane 1 Color Application Y Specify how to get the time scale color. You can use one of the following values:
    • Y. Get the time scale color from the application object.

    • N. Get the time scale color from an applet user property.

    Pane 1 Color Type:Color Holiday:#3ED143 If the value of the Pane 1 Color Application applet user property is N, then the value of the Pane 1 Color Type:Color applet user property must specify the event and the color that Siebel Open UI uses to indicate this event. In this example, the event is Holiday and the color code is #3ED143. For more information about these color codes, see the ColorHexa website at http://www.colorhexa.com.
    Pane 1 Color Type:Color number Special Events:#F76161 If the value of the Pane 1 Color Application applet user property is N, then the value of the Pane 1 Color Type:Color number applet user property must specify a special event and the color that Siebel Open UI uses to indicate this event.
    Pane 1 Colors BC Color Field Color LIC If the value of the Pane 1 Color Application applet user property is Y, then the value of the Pane 1 Colors BC Color Field applet user property must specify the Color field that resides in the business component that the Pane 1 Color: Admin BC applet user property specifies.
    Pane 1 Colors BC Type Field Inventory Status If the value of the Pane 1 Color Application applet user property is Y, then the value of the Pane 1 Colors BC Type Field applet user property must specify the type of field that resides in business component that the Pane 1 Color: Admin BC applet user property specifies.
    Pane 1 Hour Axis Business Service Method EventsTSHourMap Specify the business service method that Siebel Open UI uses to get the hour axis colors that it displays in the Timescale pane.
    Pane 1 Hour Axis Business Service Name TNT Utility Service Specify the business service that Siebel Open UI uses to get the hour axis colors that it displays in the Timescale pane.
    Pane 1 Hour Axis Color Y Specify how to color the hour cells. You can use one of the following values:
    • Y. Use a variety of colors in the cells.

    • N. Use only black in the cells.


  7. Specify how to display weekends. Add the following applet user properties, as required.

    Name Value Description
    Pane 1 Weekend Application Y Specify how to get the weekend information. You can use one of the following values:
    • Y. Get the weekend information from the application object.

    • N. Get the weekend information from an applet user property.

    Pane 1 Weekend BC TNT SHM Weekend Admin If the value of the Pane 1 Weekend Application applet user property is Y, then the Pane 1 Weekend BC applet user property must specify the business component that Siebel Open UI uses to get the weekend information.
    Pane 1 Weekend BC Field:Day Week Day Num If the value of the Pane 1 Weekend Application applet user property is Y, then the Pane 1 Weekend BC Field:Day applet user property must specify the business component field that Siebel Open UI uses to get the weekend information.
    Pane 1 Weekend BC Field:Weekend Flag Weekend Weekday Flag If the value of the Pane 1 Weekend Application user property is Y, then the Pane 1 Weekend BC Field:Weekend Flag user property must specify the business component field that Siebel Open UI uses to get the weekend information.

    The Pane 1 Weekend BC Field:Day user property specifies the day information.

    The Pane 1 Weekend BC Field:Weekend Flag user property specifies to configure this day as a weekday or as a weekend day.

    Pane 1 Weekend BO SHM Site If the value of the Pane 1 Weekend Application applet user property is Y, then the Pane 1 Weekend BO applet user property must specify the business object that Siebel Open UI uses to get the weekend information.
    Pane 1 Weekend Property Admin BC SHM Site Specify the business component that Siebel Open UI uses to get weekend information from the Siebel Server.
    Pane 1 Weekend Property Admin BC Field Property Id Specify the field that resides in the property business component.
    Pane 1 Weekend Property BC SHM Site Specify the business component that Siebel Open UI uses to get the property information.
    Pane 1 Weekend Property Field Property Id Specify the business component field that Siebel Open UI uses to get the property information.
    Pane 1 Weekends 0,5,6 Specify the days that Siebel Open UI uses as weekend days. If the value of the Pane 1 Weekend Application applet user property is N, then the Pane 1 Weekends applet user property must specify the days that Siebel Open UI uses to identify weekend days. You must use the following numbers to represent each day:
    • 0. Sunday.

    • 1. Monday.

    • 2. Tuesday.

    • 3. Wednesday.

    • 4. Thursday.

    • 5. Friday.

    • 6. Saturday.

    Use a comma to separate each number. For example, a value of 0,5,6 in the Pane 1 Weekends user property customizes Siebel Open UI to use Sunday, Friday, and Saturday as weekend days.


  8. Configure the icons that Siebel Open UI displays and the text that it uses with these icons in time scale cells according to a condition. Add the following applet user properties, as required.

    Name Value Description
    Pane 1 Icon number Sell Notes,siebui-sellnotes Specify the field value from the business component that the Pane 1 BC Name applet user property identifies, and the class name of the cascading style sheet that Siebel Open UI uses to render the time scale cells. You must use a comma to separate these values.

    You can configure more than one Pane 1 Icon number applet user property. For example, you can configure Pane 1 Icon 1, Pane 1 Icon 2, and so on.


  9. Configure the drilldowns that Siebel Open UI uses on the major axis and the third axis. If you configure a drill-down, then you must configure each of the following applet user properties.

    Name Value Description
    Pane 1 Date Drilldown source:destination Specify the time scale that Siebel Open UI displays when the user clicks a date in the Timescale pane. For more information, see "Customizing Time Scales That Siebel Open UI Displays in the Timescale Pane".
    Pane 1 Item Drilldown Name Time Scale Drilldown Specify the drill-down object that resides in the applet that Siebel Open UI uses to display the third axis. You must also configure this drill-down object in the applet.
    Pane 1 Item Drilldown Field OUI Property Id Specify the field that contains the value that Siebel Open UI uses when it does a drill down operation on a label that resides in the third axis.

    Siebel Open UI uses this field value to navigate the user to the destination view according to the drilldown object that the Pane 1 Item Drilldown Name applet user property specifies.


Customizing Time Scales That Siebel Open UI Displays in the Timescale Pane

This topic describes how to specify the Pane 1 Date Drilldown applet user property. You specify the time scales that Siebel Open UI displays when the user clicks a date in the Timescale pane, such as Monday, July 22.

To customize time scales that Siebel Open UI displays in the Timescale pane 

  1. Determine the number that Siebel Open UI uses to identify the time scale that you must modify.

    For more information, see "Determining the Number That Siebel Open UI Uses to Identify Time Scales".

  2. Add the value that you determined in Step 1 to the value of the Pane 1 Date Drilldown applet user property. Use the following format:

    source:destination
    

    where:

    For example, the following value configures Siebel Open UI to display the Day/Day-Part time scale when the user clicks the Week/Day time scale:

    1:2
    
  3. (Optional) Allow the user to navigate between time scales.

    You can use a semicolon to separate each time scale. For example:

    1:2;2:256;4:256;64:2;128:2;256:2;
    

Customizing the Schedule Pane in Resource Schedulers

This topic describes how to customize the Schedule pane.

To customize the Schedule pane in resource schedulers 

  1. In the Object List Editor, choose the applet that you modified in Step 1 .

  2. In the Object List Editor, expand the Applet tree, and then click Applet User Prop.

  3. In the Applet User Props list, add each of the following applet user properties, as required.

    Name Value Description
    Pane 2 Grid Name Utilization Specify the pane name.
    Pane 2 Grid Type UGrid Specify the pane type.
    Pane 2 Field number Function Space Id,FSI Specify the business component fields that contain the information that Siebel Open UI displays in the Schedule pane. Siebel Open UI sends information from these fields to the client. Use the following format:
    field name,abbreviated name
    

    You can specify more than one field. For example, Pane 2 Field 1, Pane 2 Field 2, and so on.

    Pane 2 BC Name TNT SHM Function Booking VBC Specify the business component that Siebel Open UI uses to get information about the events that it displays in the Schedule pane.
    Pane 2 BC Sort Spec Function Space Id, Start Date Time Specify the business component fields that Siebel Open UI uses for the sort specification that it uses to sort the records that it displays in the Schedule pane. You must use a comma to separate each field name.
    Pane 2 BC Search Spec "[Activity Type] = Completed" Specify the business component fields that Siebel Open UI uses for the search specification that it uses to identify the records that it displays in the Schedule pane. You can use an equation or a field name. For more information about specifying a search specification, see Configuring Siebel Business Applications.
    Pane 2 End Date Field Absolute End Date Time Specify the end date field where Siebel Open UI does the search according to the search specification.
    Pane 2 Start Date Field Start Date Time Specify the start date field where Siebel Open UI does the search according to the search specification.

    To formulate the search specification, Siebel Open UI joins the field that you specify in the Pane 2 Start Date Field applet user property with the field that you specify in the Pane 2 End Date Field applet user property.

    Pane 2 Start Attrib ST Specify the abbreviation that Siebel Open UI uses for the start date field.
    Pane 2 End Attrib ET Specify the abbreviation that Siebel Open UI uses for the end date field.
    Pane 2 Join Field Function Space Id Specify the field that Siebel Open UI uses as the identifier when it matches rows with other panes.
    Pane 2 Bypass Overlap For Status Dependency Specify the type of events that Siebel Open UI does not split when an event overlap occurs. An event overlap is a condition that occurs if more than one event occurs at the same time. Siebel Open UI splits the row height of each overlapping event so that it can display them in the same screen space that it normally uses to display an event that does not overlap.

    In this example, Siebel Open UI does not split any Dependency events that overlap.

    You can use a comma to bypass multiple event types. For example, you can use the following value to bypass Dependency and Optioned events:

    Dependency,Optioned

    Pane 2 Overlap Event LOV Type TNT_SHM_INV_STATUS Specify the LOV type that Siebel Open UI uses for the inventory status when events overlap.
    Pane 2 Overlap Event Logical Order Based Field Attr GS Specify the abbreviation that Siebel Open UI uses for the field that it displays in the Schedule pane when events overlap.
    Pane 2 Overlap Event Logical Order Values Reserved,

    Option Reserved,

    Overbooked,

    Optioned,

    Unreserved,

    Unavailable,

    Unavailable Instance,

    Out of Order,

    Temporary

    Specify the order that Siebel Open UI uses to display overlapping events, according to status. In this example, Siebel Open UI displays statuses in the following order. It displays Reserved events first and Temporary events last:
    • Reserved

    • Option Reserved

    • Overbooked

    • Optioned

    • Unreserved

    • Unavailable

    • Unavailable Instance

    • Out of Order

    • Temporary

    Pane 2 Round Minutes Events 15 Specify the number that Siebel Open UI uses to resize an event. If the user resizes an event, then Siebel Open UI rounds the time according to the value that you specify. For example, assume you specify 15 as the value for this applet user property. Assume an event starts at 08:00 AM and ends 10:00 AM. If the user drags the end time for this event from 10:00 AM to 10:12 AM, then Siebel Open UI rounds this end time according to the closest 15 minute increment, where 15 is measured from the beginning of the hour. In this example, it rounds the end time to 10:15 AM.

  4. Configure the colors that Siebel Open UI uses for the events that it displays in the Schedule pane. It modifies these colors according to a condition. For example, it can use red to color a Reserved event. Add each of the following applet user properties, as required.

    Name Value Description
    Pane 2 Color number INV_STATUS_Reserved,GREEN Specify the INV_STATUS color that Siebel Open UI uses for the LOV type.
    Pane 2 Event Color Service Method EventsColorMap Specify the business service method that Siebel Open UI uses to get the event colors.
    Pane 2 Event Color Service Name TNT Utility Service Specify the business service that Siebel Open UI uses to get the event colors.
    Pane 2 Event Default Color #6495ed Specify the default color that Siebel Open UI uses for events.
    Pane 2 Status LIC Field number INVENTORY_STATUS,GS Specify the colors that Siebel Open UI uses for the inventory status. For example, specify the abbreviation that you defined in the Pane 2 Overlap Event Logical Order Based Field Attr applet user property. You defined these user properties in Step 3.
    Pane 2 Status LOV Type TNT_FSD_COLOR_SCHEMA Specify the color scheme that Siebel Open UI uses for events. To modify schemes, do the following:
    • Log in to a Siebel client with administrative privileges.

    • Navigate to the Administration - Data screen, and then the List Of Values view.

    • Query the Type Field for TNT_FSD_COLOR_SCHEMA.

    • Modify the fields, as necessary.

    Pane 2 Status LOV Type specifies only the color schemes that are available. To configure Siebel Open UI to display a color according to a condition in Siebel Hospitality, you must use the Function Status Color Schema list that resides in the Function Space Diary Administration view of the Function Space Administration screen. For example, to use red for the Prospect status in Siebel Hospitality. Configuration for your Siebel application might be different than it is for Siebel Hospitality.


  5. Configure the icons and the text for these icons that Siebel Open UI uses with the events that it displays in the Schedule pane according to a condition. Add each of the following applet user properties, as required.

    Name Value Description
    Pane 2 Icon number DNMF,siebui-donotmove Specify the abbreviation that you defined in the corresponding applet user property and the class where the corresponding cascading style sheet resides. For example, specify the abbreviation that you defined in the Pane 2 Field 0 applet user property. You defined these user properties in Step 3.

    Siebel Open UI uses this configuration for the icon. Use a comma to separate the abbreviation from the class name.

    You can configure more than one applet user property. For example, Pane 2 Icon 0, Pane 2 Icon 1, and so on.

    Pane 2 Item Icon Fields DNMF,NF,DF,SF,FSF,SRF,HF,AF,2HHF,SFF Specify the abbreviations that you defined for the corresponding user properties in Step 3. For example, specify the abbreviations for the Pane 2 Field 0 applet user property, the Pane 2 Field 1 applet user property, and so on. The abbreviations in this example come predefined with Siebel Hospitality. You cannot use any other abbreviation. You must use a different set of abbreviations for your Siebel application.

    Use a comma to separate each abbreviation.


  6. Configure Drag and Drop.

    Siebel Open UI uses a business service method to implement drag and drop functionality. This step describes how to specify the input arguments that this method requires. You add each of the following applet user properties.

    Name Value Description
    Disable Drag for Ganttchart N Specify to allow the user to drag and drop items. Use one of the following values:
    • Y. Allow drag and drop.

    • N. Do not allow drag and drop.

    DragnDrop: Service Inputs 1 "Service Name", "TNT Gantt UI Service" Specify the business service that Siebel Open UI uses to handle a drag and drop operation. You must use this value. You cannot modify it.
    DragnDrop: Service Inputs 2 "Service Method", "DragnDrop" Specify the business service method that Siebel Open UI uses to handle a drag and drop operation. You must use this value. You cannot modify it.
    DragnDrop: Service Inputs 3 "BO", "Quote" Specify the business object.
    DragnDrop: Service Inputs 4
    You can use these applet user properties to specify more input arguments that your deployment requires.
    DragnDrop: Service Inputs 5
    DragnDrop: Service Inputs 6
    DragnDrop: Service Inputs 7

  7. Configure other Schedule pane behavior, such as drilldown, extend, shrink, add, update, and delete. Add each of the following applet user properties, as required.

    Name Value Description
    Create Task: Service Inputs 1 "Service Name", "TNT Gantt UI Service" Specify the business service that Siebel Open UI uses if the user clicks OK in the popup dialog box that it displays in the Schedule pane.
    Create Task: Service Inputs 2 "Service Method", "CreateBookingRecord" Specify the business service method that Siebel Open UI uses if the user clicks OK in a popup dialog box.
    Disable Resize for Ganttchart N Specify to allow the user to resize an activity or a booking. Use one of the following values:
    • Y. Allow resizing.

    • N. Do not allow resizing.

    ExtendShrink: Service Inputs 1 "Service Name", "TNT Gantt UI Service" Specify the business service that Siebel Open UI uses to handle a resize operation.
    ExtendShrink: Service Inputs 2 "Service Method", "ExtendShrink" Specify the business service method that Siebel Open UI uses to handle a resize operation.
    Pane 2 Disable ExtendShrink Views :32:256: Specify to disable resizing for a time scale. For example, 32 and 256 each represent a time_scale_identifier:
    • 32. Specifies the Month/Day-of-Week time scale.

    • 256. Specifies the Month/Day-of-Week/Day Part scale.

    Siebel Open UI uses a number to identify each time scale. For more information, see "Determining the Number That Siebel Open UI Uses to Identify Time Scales".

    You must include a color before and after each identifier.

    Show Task Details: Service Inputs 1 "Service Name", "TNT Gantt UI Service" Specify the business service that Siebel Open UI uses if the user double-clicks a booking, a task, or an activity, and then clicks OK in a popup dialog box.
    Show Task Details: Service Inputs 2 "Service Method", "CreateBookingRecord" Specify the business service method that Siebel Open UI uses if the user double-clicks a booking, a task, or an activity, and then clicks OK in a popup dialog box.
    Pane 2 Item Drilldown Name Activity Drilldown Specify the drill-down object that Siebel Open UI uses when the user clicks a label in the Schedule pane. Siebel Open UI navigates the user to the view that this drill-down object defines.

    This configuration works in conjunction with the DDID value that you configure in the Pane 2 Field number applet user property.

    You must configure the corresponding drilldown object in the applet.


Customizing Participant Availability in Resource Schedulers

This topic describes how to customize the controls that Siebel Open UI uses to display information about participant availability in a resource scheduler. You use custom cascading style sheet files to do some of this modification. For more information about how to organize these files, see "Organizing Files That You Customize".

To customize participant availability in resource schedulers 

  1. Allow or disallow the user to resize the panes that Siebel Open UI uses to display information about participant availability:

    1. Log in to Siebel Tools.

    2. In the Object Explorer, click Applet.

    3. In the Applets list, query the Name property for Calendar GanttChart OUI Applet.

    4. In the Object Explorer, expand the Applet tree, and then click Applet User Prop.

    5. In the Applet User Props list, modify the following applet user property.

      Name Description
      Disable Resize for Ganttchart Specify to allow the user to resize an activity or a booking. Use one of the following values:
      • Y. Allow resizing.

      • N. Do not allow resizing.

      Note: This user property applies to all schedulers.


  2. Modify the color that Siebel Open UI uses to display events:

    1. In the Object Explorer, click Business Service.

    2. In the Business Services list, query the Name property for Calendar Gantt Color Service.

    3. In the Object Explorer, expand the Business Service tree, and then click Business Service User Prop.

    4. In the Business Service User Props list, modify the following business service user property.

      Name Description
      Event Status Mapping Color For information about how to set this business service user property, see "Setting the Color for Events".

  3. Compile your modifications.

  4. Modify the icons that Siebel Open UI uses to display information about participant availability. To do this, you can use one the following siebui-calgantt-icon CSS classes in your custom CSS file.

    Description Example
    To modify the icon that Siebel Open UI uses for employees, use the siebui-calgantt-icon-employee CSS class.
    .siebui-calgantt-icon-employee {
      width: 16px;
      height: 16px;
      float: left;
      margin-top: 2px;
      background: url(../images/employees_icon.gif) no-repeat center center;
    }
    
    To modify the icon that Siebel Open UI uses for contacts, use the siebui-calgantt-icon-contact CSS class.
    .siebui-calgantt-icon-contactcall {
      width: 16px;
      height: 16px;
      float: left;
      margin-top: 2px;
      background: url(../images/contact_call.jpg) no-repeat center center;
    }
    
    To modify the icon that Siebel Open UI uses for resources, use the calgantt-icon-resource CSS class.
    .siebui-calgantt-icon-resource {
      width: 16px;
      height: 16px;
      float: left;
      margin-top: 2px;
      background: url(../images/resoure-items.gif) no-repeat center center;
    }
    

  5. Modify how Siebel Open UI displays information about the current record.

    You can use the .siebui-currentRecord CSS class in one of your custom CSS files. For example:

    .siebui-currentRecord {
      border-left: 3px solid green;
      border-right: 3px solid red;
      z-index: 1000;
    }
    

    This example modifies the class only for the current event. To change the default color for all events, modify the user property to the following:

    Pane 2 Event Default Color
    
  6. Verify your work:

    1. Log into the client.

    2. On the Home page, click My Calendar.

    3. On the application-level menu, click Edit, and then click New Record.

      Siebel Open UI displays the eCalendar Detail View that contains the scheduling control.

    4. Verify that the resource scheduler includes the modifications that you configured in Step 2 through Step 5.

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_value;"

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 hexidecimal number to represent a color, see the page about color codes at the ColorCodeHex website at http://www.colorcodehex.com.

Using CSS Classes to Set the Color for Events

You can use the following code instead of modifying the Calendar Gantt Color Service business service to set event colors:

siebui-calgantt-event_type

For example, you can add the following class to one of your custom CSS files to set the border color for Not Responded events to yellow:

.siebui-calgantt-NotResponded {
border: 1px solid #FFFF00;
}

Customizing Tooltips in Resource Schedulers

This topic describes how to customize the Tooltips that Siebel Open UI displays in a resource scheduler.

To customize tooltips in resource schedulers 

  1. In the Object List Editor, choose the applet that you modified in Step 1.

  2. In the Object List Editor, expand the Applet tree, and then click Applet User Prop.

  3. In the Applet User Props list, add each of the following applet user properties, as required.

    Name Value Description
    Pane 2 Tooltip BC Name TNT SHM FSI Booking Specify the business component that Siebel Open UI uses to get the tooltip information for the events that it displays in the Schedule pane. This business component must contain the information that Siebel Open UI displays in the tooltip.
    Pane 2 Tooltip BO Name SHM Site Specify the business object that references the business component that you specify in the Pane 2 Tooltip BC Name applet user property.
    Pane 2 Tooltip Field number Quote Name Tip Specify the business component fields that Siebel Open UI uses to get the information that it displays in the tooltips in the Schedule pane. Siebel Open UI adds a new line for each of these field values in the tooltips and displays them consecutively. For example:
    Event1
    Holiday resorts
    10:00
    12:00
    
    Pane 0 Tooltip BC Name TNT Product - ISS Admin Specify the business component that Siebel Open UI uses to get the tooltip information for the Resource pane.
    Pane 0 Tooltip BO Name SHM Site Specify the business object that references the business component that you specify in the Pane 0 Tooltip BC Name applet user property.
    Pane 0 Tooltip Field number Physical Area Tip Specify the business component field that Siebel Open UI uses to get the information that it displays in the tooltips for the Resource pane.
    Pane 0 Tooltip Header Field Name Specify the business component field that Siebel Open UI uses to get the information that it displays in the first field in the tooltips for Resource pane.
    Pane 1 Tooltip BC Name TNT SHM Property Special Dates Action Specify the business component that Siebel Open UI uses to get the information that it displays in the tooltips for the Timescale pane.
    Pane 1 Tooltip BO Name SHM Site Specify the business object that references the business component that you specify in the Pane 1 Tooltip BC Name applet user property.
    Pane 1 Tooltip Field number Tooltip Specify the business component field that Siebel Open UI uses to get the information that it displays in the tooltips for the Timescale pane.
    Pane 1 Tooltip SortSpec Type Specify the sort specification that Siebel Open UI uses to sort the records in the business component that it uses to get the tooltip information for the Timescale pane. Siebel Open UI uses this configuration to sort sentences in a tooltip that includes more than one sentence.
    EnableTooltip Y Specify to display or not display the tooltip. Use one of the following values:
    • Y. Display the tooltip.

    • N. Do not display the tooltip.


  4. Configure any special functionality that your tooltip deployment requires. Add each of the following applet user properties, as required.

    Name Value Description
    Pane 2 Tooltip Service Method GetEventTooltipInfo Specify the business service method that Siebel Open UI uses to get the tooltip information for the Schedule pane. If you do not specify this applet user property, then Siebel Open UI calls the default business service, and then displays data according to the configurations of the following user properties:
    • Pane 2 Tooltip BC Name

    • Pane 2 Tooltip BO Name

    • Pane 2 Tooltip Field number

    Pane 2 Tooltip Service Name TNT Gantt UI Service Specify the business service name that Siebel Open UI uses to get the tooltip information for the Schedule pane. If you do not specify this applet user property, then Siebel Open UI calls the default business service, and then displays data according to the configurations of the following user properties:
    • Pane 2 Tooltip BC Name

    • Pane 2 Tooltip BO Name

    • Pane 2 Tooltip Field number

    Pane 1 Tooltip Service Method GetTSTooltipInfo Specify the business service method that Siebel Open UI uses to get the tooltip information for the Timescale pane. If you do not specify this applet user property, then Siebel Open UI calls the default business service, and then displays data according to the configurations of the following user properties:
    • Pane 1 Tooltip BC Name

    • Pane 1 Tooltip BO Name

    • Pane 1 Tooltip Field number

    Pane 1 Tooltip Service Name TNT Gantt UI Service Specify the business service that Siebel Open UI uses to get the tooltip information for the Timescale pane. If you do not specify this applet user property, then Siebel Open UI calls the default business service, and then displays data according to the configurations of the following user properties:
    • Pane 1 Tooltip BC Name

    • Pane 1 Tooltip BO Name

    • Pane 1 Tooltip Field number

    Pane 0 Tooltip Service Method GetResTooltipInfo Specify the business service method that Siebel Open UI uses to get the tooltip information for the Resource pane. If you do not specify this applet user property, then Siebel Open UI calls the default business service, and then displays data according to the configurations of the following user properties:
    • Pane 0 Tooltip BC Name

    • Pane 0 Tooltip BO Name

    • Pane 0 Tooltip Field number

    Pane 0 Tooltip Service Name TNT Gantt UI Service Specify the business service that Siebel Open UI uses to get the tooltip information for the Resource pane. If you do not specify this applet user property, then Siebel Open UI calls the default business service, and then displays data according to the configurations of the following user properties:
    • Pane 0 Tooltip BC Name

    • Pane 0 Tooltip BO Name

    • Pane 0 Tooltip Field number