GotoView Method
The GotoView method navigates the user to a view in the client. It uses the following syntax:
SiebelApp.S_App.GotoView(view, viewId, strURL, strTarget);
where:
view
is an object that contains the name of the view. It is required. Other arguments are optional.viewId
is an object that contains the Id of the view.strURL
is an object that contains a string that Siebel Open UI sends as part of the GotoView method. This string must use the HTTP query string format that Siebel CRM requires. For example:"SWEParam1=valueForParam1&SWEParam2=valueForParam2"
-
strTarget
is an object that contains the string target.
For example, assume view
contains a value of Account
List View. The following code navigates the user to this view:
SiebelApp.S_App.GotoView(view, viewId, strURL, strTarget);
For more examples that use the GotoView method, see the following topics:
For more information about using this method, see Life Cycle Flows of User Interface Elements.