DocumentImportOption (NotesDxlImporter - JavaScript™)
Read-write. Indicates the handling of incoming documents: create, ignore, replace, or update.
Defined in
NotesDxlImporterSyntax
getDocumentImportOption() :
int
setDocumentImportOption(option:int) : void
Legal value | Description |
---|---|
DxlImporter.DXLIMPORTOPTION_IGNORE (1) |
Ignores documents in the incoming DXL and leaves the documents in the output database intact. |
DxlImporter.DXLIMPORTOPTION_CREATE (2) |
(Default) Creates new documents from the incoming DXL, leaving existing documents in the output database intact. |
DxlImporter.DXLIMPORTOPTION_REPLACE_ELSE_CREATE
(6) |
Replaces documents in the output database with documents in the incoming DXL that match. Adds any new documents from the incoming DXL. |
DxlImporter.DXLIMPORTOPTION_REPLACE_ELSE_IGNORE
(5) |
Replaces documents in the output database with documents in the incoming DXL that match. Leaves non-matching documents in the output database. |
DxlImporter.DXLIMPORTOPTION_UPDATE_ELSE_CREATE
(10) |
Replaces document items in the output database with document items in the incoming DXL that match. Adds new documents and document items from the incoming DXL. |
DxlImporter.DXLIMPORTOPTION_UPDATE_ELSE_IGNORE
(9) |
Replaces document items in the output database with document items in the incoming DXL that match. Leaves non-matching documents and document items in the output database. |
Usage
For purposes of replacement, two documents match if: The replica ID of the output database matches the replica ID of the incoming DXL.The universal IDs of the two documents match.