The following example outlines how to extend a replicator to map person/prospect person evidence to custom fields. This example provides a very basic implementation of an extension to the PDCPhoneNumberReplicatorExtender. In this scenario, the PhoneNumber table has been extended and contains a custom field 'phoneProvider'. The dynamic evidence configuration for Phone Number also contains an attribute 'phoneProvider'. This example assumes that the struct ParticipantPhoneDetails has already been extended to include the custom field. For more information on dynamic evidence configuration, please see the Cúram Dynamic Evidence Configuration Guide. The responsibility of the custom replicator extension implementation is to map the dynamic evidence data to the struct attribute that represents the 'phoneProvider' attribute on the extended PhoneNumber table.
The steps involved in extending a replicator are: