JAVA/CORBA CLASSES


createView method
Example

Creates a view.

Note This method is new with Release 6.5.

Defined in

Database

Syntax

public View createView()
   throws NotesException

public View createView(String viewname)
   throws NotesException

public View createView(String viewname, String viewselectionformula)
   throws NotesException

public View createView(String viewname, String viewselectionformula, View templateview)
   throws NotesException

public View createView(String viewname, String viewselectionformula, View templateview, boolean prohibitdesignrefreshmodifications)
   throws NotesException

Parameters

String viewname


String viewselectionformula
View templateview Note The template view can not be of type Shared, desktop private on first use.

boolean prohibitdesignrefreshmodifications

Return value

View


Usage

If no template view exists, the new view contains one column with "@DocNumber" as its value. The template view must be accessible to the program, so can be a public view or a private view owned by the effective id running the agent, but can not be a private view stored in the desktop.

Language cross-reference

CreateView method in LotusScript NotesDatabase class

@Command([CreateView]) function in formula language

Example
See Also