DocumentImportOption (NotesDXLImporter - LotusScript®)
Read-write. Indicates the handling of incoming documents: create, ignore, replace, or update.
Defined in
Data type
Constant of type Integer
Syntax
To get: option% = notesDXLImporter .DocumentImportOption
To set: notesDXLImporter .DocumentImportOption = option%
Legal values
- DXLIMPORTOPTION_IGNORE (1)
Ignores documents in the incoming DXL and leaves the documents in the output database intact.
- DXLIMPORTOPTION_CREATE (2)
(Default) Creates new documents from the incoming DXL, leaving existing documents in the output database intact.
- 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.
- 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.
- 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.
- 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.
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.