Configuring Siebel Open UI > Customizing Calendars and Schedulers > Customizing Resource Schedulers >

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 3, Step b.

    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. 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:

    • source identifies the time scale that the user clicks. 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.
    • destination identifies the time scale that the resource scheduler displays when the user clicks the source.

      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;

Configuring Siebel Open UI Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices.