createEntry (NotesOutline - JavaScript™)
Creates an outline entry and adds it to the outline.
Defined in
NotesOutlineSyntax
createEntry(fromEntry:NotesOutlineEntry)
: NotesOutlineEntry
createEntry(fromEntry:NotesOutlineEntry,
referenceEntry:NotesOutlineEntry) : NotesOutlineEntry
createEntry(fromEntry:NotesOutlineEntry,
referenceEntry:NotesOutlineEntry, after:boolean) : NotesOutlineEntry
createEntry(fromEntry:NotesOutlineEntry,
referenceEntry:NotesOutlineEntry, after:boolean, asChild:boolean)
: NotesOutlineEntry
createEntry(entryName:string)
: NotesOutlineEntry
createEntry(entryName:string,
referenceEntry:NotesOutlineEntry) : NotesOutlineEntry
Parameter | Description |
---|---|
OutlineEntry fromEntry |
The entry to be copied. |
String entryName |
The name of the entry. |
OutlineEntry referenceEntry |
The entry after or before which the entry is being placed. |
boolean after |
true (default) to place the entry after the specified reference entry. |
boolean asChild |
true to place the entry as a child of the specified reference entry. The default is false. |
Usage
The createEntry(OutlineEntry fromEntry) methods create a copy of an existing outline entry and add it to the outline. The createEntry(String entryName) methods create a new outline entry and add it to the outline.You must save the outline or the effect of this method is lost when the program exits.