Excluding properties from contact synchronization

In general, to determine which properties to consider in determining if a contact is synchronized, in most cases you use the ContactMapper class. With the exception of contact relationships, ContactMapper must list all contact fields to be transferred between ClaimCenter and ContactManager. If you omit a property from this class, it is not transferred or considered for synchronization.

By default, all properties listed in ContactMapper are considered in determining synchronization status.

If there is a property in ContactMapper that you want excluded from the synchronization check, use the withAffectsSync method and set its parameter to false. For example, the following code excludes the property CategoryScores:

arrayMapping(Contact#CategoryScores)
  .withMappingDirection(TO_BEAN)
  .withAffectsSync(false),

See also