Siebel Chat Guide > Methods for Customizing Siebel Chat Process Flow and Interface Functionality > Methods for Customizing Siebel Chat Process Flow and Interface Functionality >
OpenView
This method is used to open a chat screen pop-up according to the following input information: business component and view name. This method cannot be used directly and must always be called using the PushToToolbarCallFunction method. Table 26 shows the input PropertySet arguments for OpenView.
Table 26. OpenView Method: Input Arguments
|
|
ViweBusObj |
The view's business object name. |
ViewBusComp |
The view's business component name. |
Id |
The row ID of the record to be populated. |
ViewName |
The name of the view to be populated. NOTE: The ViewName must be associated with the business component defined in ViewBusComp.
|
SearchMode |
The value of this argument can be OFF, ON, or ALL:
- If the value is set to OFF, then the search center is not populated.
- If the value is set to ON, then the search center is populated when there is no query result according to the input ID.
- If the value is set to ALL, then the search center is always populated irrespective of whether the query result is empty or not.
|
ViewNameEx (Optional) |
The default view name if AllowEmptyRecord is not set, or if it is set to False when the ID is empty or invalid. The view must be associated with the business object defined in ViewBusObjEx. |
ViewBusObjEx (Optional) |
The view's business object name for ViewNameEx. |
ViewBusCompEx (Optional) |
The view's business component name for ViewNameEx. |
AllowEmptyRecord (Optional) |
If set to True when the ID is empty or invalid, then it indicates to go to the same view but with an empty active record. If set to False, then it indicates to go to the view according to the values in ViewNameEX, ViewBusObjEx, and ViewBusCompEx. |
Example
If you want to open the service request detail view by using the service request ID 42-DOOTG and the user wants to open the search center when there is no such service request with ID 42-DOOTG in the database, then the input is as follows: ViewBusObj = Service Request
ViewBusComp = Service Request
Id = 42-DOOTG
ViewName = Service Request Detail View
SearchMode = ON
AllowEmptyRecord = FALSE
ViewBusObjEx = Service Request Home
ViewBusCompEx = Public and Private View Link
ViewNameEx = Service Request Screen Homepage View
|