ReplicaRequiredForReplaceOrUpdate (NotesDxlImporter - JavaScript)

Read-write. Indicates whether the replica ID of the DXL and the target database must match.

Defined in

NotesDxlImporter

Syntax

getReplicaRequiredForReplaceOrUpdate() : boolean

setReplicaRequiredForReplaceOrUpdate(flag:boolean) : void

Legal value Description
true (default) requires that the replica ID of the DXL and the target database match
false does not require that the replica ID of the DXL and the target database match

Usage

If this property is true and the replica IDs do not match, the import operation throws NOTES_ERR_DXLIMPORTER_FAILED (4522) and adds the following message to the log: "Could not replace/update a matching NoteType note because the ReplicaRequiredForReplaceUpdate property is true and the DXL and database are not replicas."