.

HCLSoftware Business Partner
Domino Consulting Services
CRUCIAL Notes Tools
+1 212-599-2048

Domino Consulting Services
CRUCIAL Notes Tools
Domino administration
Notes development

Facebook Twitter YouTube
Chat now       
.
ProductsDownloadsNewsAbout usContact


Need a Domino Consultant? Call NotesMail +1 212-599-2048 - HCLSoftware Business Partner

JAVA/CORBA CLASSES


getDocumentByUNID method
Example

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

Example
See Also