Document (NotesUIDocument - LotusScript®)

Read-only. The back-end document that corresponds to the currently open document.

Defined in

NotesUIDocument

Data type

NotesDocument

Syntax

To get: Set notesDocument = notesUIDocument .Document

Usage

Modifications made to non-rich-text items on the back-end document accessed through this property appear on the current document immediately. Modifications made to non-rich-text items on the corresponding back-end document accessed from the front-end document but not through this property (for example, if you use GetDocumentByUNID) do not appear immediately unless the AutoReload property is True. To cause the modifications to appear when the AutoReload property is False, call the Reload method or close the document and reopen it.

Modifications made to rich-text items on the back-end document do not appear on the current document until it is closed and reopened.

Modifications made to items on the corresponding back-end document accessed outside the front-end document (for example, by an agent or another user) do not appear unless the document is closed and reopened.

Example