Before creating a rule that redirects events to targets, you must first configure Replicator as described in the Metalogix Replicator Quick Start Guide. Once the Replication Map Family is created, you can create a rule that redirects events as follows:
1.In Central Administration, open Application Management, and then under Metalogix Replicator, select Manage map families.
2.For the map family where you want to create the rule, click View Maps.
3.If you want to create a rule for a specific site collection or web site under the root replication URL, then expand the Map Hierarchy and select the map where you want to apply the rule. By default, the rule is applied to the map you select and any of its children. If you want this rule to apply to all maps in the map family, then skip this step.
4.To the right of the Replication Map, select Rules.
5.On the Manage Replication Rules page, click Add Rule. This starts the Configure Replication Rule wizard.
6.Specify the rule's general settings as appropriate for your replication needs.
7.Select the rule conditions that you want to match on. For example, if you want to apply this rule to any list with a Region column, then select List Item Column condition.
8.Select the rule actions you want to perform on events that match the rule conditions. To define the specific targets to replicate matching documents to, select Redirect Using Lookup List.
9.Click Next to configure the conditions.
10.Configure the rule condition as required to identify the list items you want to redirect. For example, configure the rule to check if the column �Region� exists.
All of a rule's conditions must be met to process its actions. In our case, the column name �Region� must exist for the rule to be processed.
Click Next to configure the condition, then click Next to configure the actions.
11.Configure the rule actions as required to meet your replication needs. For the Redirect Using Lookup List action, select the lookup list and its columns to use for redirecting replication. For example, to use the list we created earlier, configure the action as follows:
12.Under Lookup Conditions, on the same page, add conditions that match the lookup list columns with the corresponding columns in your content lists.
Click Next to configure each action. After configuring the last action, click Next to review and create the rule.
13.On the Rule Summary page, review the rule's configuration. Click Finish to create the rule.
After creating the rule, all subsequent events will be matched against the rule's conditions. Events matching all of the defined conditions will have the rule's actions performed on them. Events that do not meet the rule's conditions will be replicated using the default map family settings.
In the example we used, documents and items in any list containing a Region column are replicated to targets based on the value in their "Region" column. Any other list items in the site are replicated to all connections in the Branch Offices Group.
If you want to compare two or more columns in the replicated list, with columns in the Lookup list to create an "And" condition to redirect the replication, you can use Add Condition to add more conditions.
In the following example the rule will scan the lookup list for entries that match the value of the TargetVesselType and TargetFlag fields on the replicated item with the VesselType and VesselFlag in the look up list to identify the group and or connection to redirect replication to.
If you want to create a rule that redirects using an "Or" condition, add two Redirect Using Lookup List actions to the rule.
The two actions will be evaluated separately and the resulting target connections will be joined togther in an Or statement.
For more information on the available conditions and actions for rules, see the Metalogix Replicator Reference Guide.
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center