External Program to Submit Files for Replication

An example of an external program to execute scheduled replication is provided on the Aras Community Projects site under Vault Replication Examples https://github.com/ArasLabs/vault-replication-examples).

The example gets a list of files with the filename starting with ‘file’ in the Default vault on the Aras Innovator server, and requests onEvent replication for each. If an appropriate onEvent replication rule exists on the Default vault, replication transactions should be created. These can then be processed a number of ways, including those shown in Replicate All Files to All Vaults, or Replicate All Files to a Master Vault depending on the Replication Mode set in the replication rule. See the CreateReplicationTxnsSample.cs file in the download for more information.