JAVA/CORBA CLASSES


getDocumentByUNID method
Ejemplo

Finds a document in a database, given the document universal ID (UNID).

Defined in

Database

Syntax

public Document getDocumentByUNID(String unid)
   throws NotesException

Parameters

String unid


Return Values

Document


Usage

For an explanation of universal IDs, see getUniversalID in Document. You can obtain the universal ID from getUniversalID or getParentDocumentUNID in Document.

Not matching the UNID to a document in the database throws NotesError.NOTES_ERR_BAD_UNID (4091).

Language cross-reference

GetDocumentByUNID method in LotusScript NotesDatabase class

@SetDocField function in formula language

OpenDocument @command in formula language

Ejemplo
Véase también


Glosario
¿Desea opinar sobre la Ayuda o sobre la utilidad del producto?