JAVA/CORBA CLASSES


getView method
Example

Finds a view or folder in a database, given the name or alias of the view or folder.

Defined in

Database

Syntax

public View getView(String name)
   throws NotesException

Parameters

String name


Return Values

View


Usage

Using getView returns public views and folders and private views and folders that are owned by the effective id running the agent. Private views stored in the desktop are not returned.

When specifying the parameter, do not combine the view name and an alias. For example, specifying "By Author|AuthorView" does not work. Use either the view name ("By Author") or its alias ("AuthorView").

When the view or folder name contains underscores to indicate menu accelerators, you have the option of including or excluding the underscores. The method works more efficiently, however, if you include the underscores.

Language cross-reference

GetView method in LotusScript NotesDatabase class

Example
See Also