createOutline (NotesDatabase - JavaScript™)
Creates an outline in the current database.
Defined in
NotesDatabaseSyntax
createOutline(name:string) : NotesOutline
createOutline(name:string, defaultOutline:boolean) : NotesOutline
Parameter | Description |
---|---|
outline |
A name for the outline. |
defaultOutline |
Default (false) is to create an empty outline. |
Return value | Description |
---|---|
NotesOutline |
The new outline. |
Usage
For more information and examples, see NotesOutline.Examples
This button creates an outline.var outline:NotesOutline = database.createOutline("Some Documents");
outline.setAlias("SomeDocuments");
outline.setComment("Gives partial view of database");
outline.save();