setNoteLink (NotesOutlineEntry - JavaScript)

Specifies a resource link for an outline entry.

Defined in

NotesOutlineEntry

Syntax

setNoteLink(db:NotesDatabase) : boolean

setNoteLink(doc:NotesDocument) : boolean

setNoteLink(view:NotesView) : boolean

Parameter Description
Database db A database that is the resource link.
Document doc A document that is a resource link.
View view A view that is a resource link.
Return value Description
boolean true if the link is set successfully.

Usage

This method sets the outline entry type to OUTLINE_TYPE_NOTELINK and the entry class to OUTLINE_CLASS_DATABASE, OUTLINE_CLASS_DOCUMENT, or OUTLINE_CLASS_VIEW depending on the particular method.