Siebel Pharma Handheld Guide > Developing Siebel Handheld Applications >

Configuring Calendar Buttons


This topic provides information about how to configure buttons on the calendar screen. The New Account Call and Med Ed Event buttons are specific to the Siebel Pharma Handheld application.

New Account Call: Creates a new account call and populates the call time with the timeslot selected in the calendar. Additionally, you can define two user properties for the button control to specify which view and Business Object to display. By default, when the user clicks on this button, the SIS HH Pharma Account Call Products Detailed View - CE is displayed.

Med Ed: Creates a new record for Med Ed Event and populates the Start time with the timeslot selected in the calendar. Additionally, you can define two user properties for the button control to specify which view and Business Object to display. By default, when the user clicks on this button, the My Med Ed Events View - CE is displayed.

The following procedures are related to configuring calendar settings for Siebel Pharma Handheld:

To configure new buttons on the Daily Calendar view

  1. Set ClientConfigurationMode = ALL in tools.cfg file in \root\BIN\ENU directory.
  2. Log in to Siebel Tools.
  3. Query for Applet Name: SHCE Sales eCalendar Daily Applet - My in Applet.
  4. Navigate to Applet > Control.
  5. Add the following controls to Applet Web Template:
    Name
    Caption
    HTML Type
    Method Invoked
    Type

    CalNewAccntCall

    'A'

    MiniButton

    CalNewAccntCall

    Push Button

    CalMedEd

    'E'

    MiniButton

    CalMedEd

    Push Button

    NOTE:  The caption for all buttons can be user-defined. The method invoked is specialized.

  6. Navigate to Applet > Applet Web Template > Applet Web Template Item.
  7. Select CalNewAccntCall in Applet Web Template.
  8. Add the following Applet Web Template Item for CalNewAccntCall:
    Name
    Control
    Type
    Item Identifier

    NewAccntCall

    CalNewAccntCall

    Control

    132

  9. Select CalMedEd in Applet Web Template.
  10. Add the following Applet Web Template Item for CalMedEd:
    Name
    Control
    Type
    Item Identifier

    CallMedEd

    CallMedEd

    Control

    133

  11. Add the following User Properties and respective values for the CalNewAccntCall control:
    Control Name
    User Property Name
    User Property Value

    CalNewAccntCall

    Account Call View Name

    Define the view name that you want to navigate to. For example:

    SIS HH Pharma Account Call
    Products Detailed View — CE

    Account Call BO Name

    Pharma Account Call — CE

  1. Add the following User Properties and respective values for the CalMedEd control:
    Control Name
    User Property Name
    User Property Value

    CalMedEd

    Med Ed View Name

    Define the view name that you want to navigate to. For example:

    Invitees List View - CE

    Med Ed BO Name

    Pharma ME Event

    Med Ed BO Name

    Pharma ME Event

  2. Perform the following changes to ensure that an activity is created and displays on the daily calendar:

    In the Action business component, create the following three new calculated fields:

    Field Name
    Value

    Calc Type

    Meeting

    Calc Description

    Medical Event

    Calc End Time

    If (ParentBCName()= "Pharma ME Event",ParentFieldValue ("End Date"), Timestamp())

  3. From the application, navigate to Administration - Mobile > Application Administration > Settings.
  4. Add |Calc Type|Calc Description|Calc End Time! to the DefaultFields of the Action business component for the Siebel Pharma Handheld application.
Siebel Pharma Handheld Guide Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Legal Notices.