How to Sync Comments in Xurrent

    How to Sync Comments in Xurrent

    This article describes how to synchronize comments between Xurrent and other systems.

    Outgoing sync (Xurrent → Remote system)

    To send comments from Xurrent to the remote system, use this script in your Outgoing Sync:

    replica.comments = entity.comments

    Incoming sync (Remote system → Xurrent)

    To receive comments from the remote system and add them to Xurrent, use this script in your Incoming Sync:

    entity.comments = commentHelper.mergeComments(entity, replica)
    What this does: The mergeComments helper merges new comments with existing ones, avoiding duplicates while preserving comment history.

    More information

    Have more questions? Ask the community