Notes Doclink representation. The Notelink target (or source whatever way we look) may be designated during creation using new keyword and providing a Notesdocument (NotesView or NotesDatabase) as parameter or set separately (to change existing link) using setSource method. The parameter of setSource may be either NotesDocument, NotesView or NotesDatabase. To make doclink open from a particular view (say to use Form formula) you may first assign view, then document.
Server is used to indicate the target server, anchor if present is used to add anchor property to open target document in specific place (see rtAnchor for marking the place).
NDL is text representation of NoteLink - a file having extension ndl containing a string returned by NDL property may be used as a link to Notes document from OS or if attached as link to Notes document from third party mail system like Outlook.
getDatabase, getDocument, getView methods may be used to get a handle to target Notes objects. For view or database link getDocument property will return Nothing. The use of these methods require the objects to be available and the current user appropriate access rights.
GetDocumentUNID can be used to obtain the UniversalID of the referenced document even if the document is not available (for example offline)
LinkType property return either SIG_CDLINK2 or SIG_CDEXPORTLINK2 depending on link type. Setting of this property changes the representation of the link when written to the item. SIG_CDLINK2 records the link information in $links item of the document, while SIG_CDEXPORTLINK2 is self contained.