I'm upgrading from MirrorSync 2 to 3 in a development environment. I created new sync configurations and got everything up and running. The only thing that is not working is my MirrorSync customization script where you filter which records to be synced. I am using the same exact IF/ELSE IF statements i used in MirrorSync 2 and it's not working anymore. All records are being synced to the offline clients. My IF statement looks like the following.
If [ Get ( LayoutName ) = "SYNC_Customer" ] Enter Find Mode [ Pause: Off] Set Field [ Customer::Sync_Assigned ; Get ( AccountName ) ] Constrain Found Set [] Else If [ Get ( LayoutName ) = "SYNC_Premise" ] Enter Find Mode [ Pause: Off] Set Field [ Customer::Sync_Assigned ; Get ( AccountName ) ] Constrain Found Set [] Else If [ Get ( LayoutName ) = "SYNC_Device" ] Enter Find Mode [ Pause: Off] Set Field [ Customer::Sync_Assigned ; Get ( AccountName ) ] Constrain Found Set [] Else If [ Get ( LayoutName ) = "SYNC_DeviceImages" ] Enter Find Mode [ Pause: Off] Set Field [ Customer::Sync_Assigned ; Get ( AccountName ) ] Constrain Found Set [] End If
My IF statement matches up almost exactly with MirrorSync's customization script example and it no longer works in MirrorSync 3. Is anyone else having issues with selective syncing in version 3?