phoDefaultView - cWebApp

The default view a web application will attempt to load after login

Type: Property

Access: Read/Write

Data Type: Handle

Parameters: None

Syntax
 Property Handle phoDefaultView

Read Access: Get phoDefaultView to HandleVariable
Write Access: Set phoDefaultView to HandleVariable/Value


Description

After your web application has been loaded to the client and the session key and user credentials have been established, it will attempt to load the default view if one has been specified.

To specify a default view, set phoDefaultView to the object handle of your default Web View (cWebView) or Web Dialog (cWebModalDialog) inside your cWebView or cWebModalDialog:

Object oTestView is a cWebView
    Delegate Set phoDefaultView to oTestView
:
End_Object


To obtain the current default view, use GetDefaultView instead of phoDefaultView.

See Also

phoLoginView | GetDefaultView