getDocumentByID (Database - Java)

Finds a document in a database, given the document note ID.

Defined in

Database

Syntax

public Document getDocumentByID(String noteid)
    throws NotesException

Parameters

String noteid

The note ID of a document.

Return value


Document

The document whose note ID matches the parameter.

Usage

If you get a note ID from @NoteID, delete the "NT" prefix.

Example