When the script is required to get a specific record in focus the method can be executed with the business object parameter. The business object is then used to get a business component, on which a query is executed putting the required record in focus.
The same technique can be used to go to different views based on the same business object or to different views when the row id and specifications are known.
GotoView() Syntax:
Application.GotoView(ViewName[, BusinessObjectName])
The list below provides the best practices related to the usage of the GotoView method:
1. The GotoView method is not supported in the following events:
- Application_Navigate
- Application_PreNavigate
- Application_Start
- Applet_Load
- WebApplet_Load
2. The GotoView method does not work correctly when called in the following events.
- BusComp_Query
- BusComp_PreQuery
3. Make the call to the GotoView event the last executable statement in the script
4. Avoid usage of GotoView when using the following Siebel Object Interfaces
5. Do not write a business service which uses GotoView method when this business service is invoked in Mobile/Dedicated Web Client Automation Server
6. Ensure that when invoking a GotoView method that the destination view is accessible to all users that need to access that
7. Avoid the usage of GotoView method when you are creating a new record unless all the required fields are already filled
8. Verify if the business component and applets used in the destination view are specialized
No comments:
Post a Comment