DesignImportOption (DxlImporter - Java™)
Read-write. Indicates the handling of the incoming design elements: create, ignore, or replace.
Defined in
Data type
int
Syntax
public int getDesignImportOption()
throws NotesException
public void setDesignImportOption(int option)
throws NotesException
Legal values
- DxlImporter.DXLIMPORTOPTION_IGNORE (1)
(Default) Ignores design elements in the incoming DXL and leaves the design elements in the output database intact.
- DxlImporter.DXLIMPORTOPTION_CREATE (2)
Creates new design elements from the incoming DXL, leaving existing design elements in the output database intact.
- DxlImporter.DXLIMPORTOPTION_REPLACE_ELSE_CREATE (6)
Replaces design elements in the output database with design elements in the incoming DXL that match. Adds any new design elements from the incoming DXL.
- DxlImporter.DXLIMPORTOPTION_REPLACE_ELSE_IGNORE (5)
Replaces design elements in the output database with design elements in the incoming DXL that match. Leaves non-matching design elements in the output database.
Usage
For purposes of replacement, two design elements match if:
- The design elements are of the same type (forms, views, folders, and so on).
- A name or alias in one design element matches a name or alias in the other design element.
- The design elements are of the same language if the design element uses a language.