How to set if a record should be synchronized? RRS feed

  • Question

  • I have a column 'IsSync' on my table which controls if the record should be synchronized. I use this flag as a filter parameter.

    My scenario:

    1. Adding a new record on client side and set the IsSync flag to false.
    2. Start sync --> the record will not be synchronized
    3. Update the flag to True --> RowState is Modified
    4. Start sync --> SyncFx will update the record on server (because RowState is Modified and not Added); but the record is not found on the server and so SyncFx creates a record in the tracking-table with sync_row_is_tombstone = true

    Are there any solutions for this problem? How can I implement a flag which controls if a record will be transferred or not?

    Friday, November 8, 2013 9:33 AM