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
- Set ClientConfigurationMode = ALL in tools.cfg file in \root\BIN\ENU directory.
- Log in to Siebel Tools.
- Query for Applet Name: SHCE Sales eCalendar Daily Applet - My in Applet.
- Navigate to Applet > Control.
- Add the following controls to Applet Web Template:
|
|
|
|
|
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.
- Navigate to Applet > Applet Web Template > Applet Web Template Item.
- Select CalNewAccntCall in Applet Web Template.
- Add the following Applet Web Template Item for CalNewAccntCall:
|
|
|
|
NewAccntCall |
CalNewAccntCall |
Control |
132 |
- Select CalMedEd in Applet Web Template.
- Add the following Applet Web Template Item for CalMedEd:
|
|
|
|
CallMedEd |
CallMedEd |
Control |
133 |
- Add the following User Properties and respective values for the CalNewAccntCall control:
|
|
|
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 |
- Add the following User Properties and respective values for the CalMedEd control:
|
|
|
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 |
- 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:
|
|
Calc Type |
Meeting |
Calc Description |
Medical Event |
Calc End Time |
If (ParentBCName()= "Pharma ME Event",ParentFieldValue ("End Date"), Timestamp()) |
- From the application, navigate to Administration - Mobile > Application Administration > Settings.
- Add |Calc Type|Calc Description|Calc End Time! to the DefaultFields of the Action business component for the Siebel Pharma Handheld application.
|