getEntry (NotesReplication - JavaScript)

Creates or gets a replication entry.

Defined in

NotesReplication

Syntax

getEntry(source:string, destination:string) : NotesReplicationEntry

getEntry(source:string, destination:string, createflag:boolean) : NotesReplicationEntry

Parameter Description
String source Name of the source server ("Receives from").
String destination Name of the destination server ("When computer").
boolean createflag
  • true to create a new entry if the entry does not exist
  • false (default) to return null if the entry does not exist
Return value Description
ReplicationEntry The replication entry if it exists or the create flag is true, or null.

Usage

A replication entry describes the replication settings for a pair of servers, of which one is the source and the other is the destination.

The source and destination names serve as strings to identify the replication entry and must be specified exactly as they appear. A hyphen (-) means any server.

Creating an entry for a new destination where the source is not any server results in the creation of an additional entry for that destination whose source is any server.

After calling this method, you must call save for the changes to take effect. If you do not call save, your changes are lost.

For more information and examples, see ReplicationEntry.