none
2.1 Sync Upload Changes RRS feed

  • Question

  • I am trying to pull out upload changes after the scope has been completed. So that I can pass the Primary Keys and the table name onto another process which will scoop it all up and process it in real time instead of doing a time based scoop.

    Basically if record 2 in the Customer table was changed on the client side I want to know the primary key value for that record. I do not however want to know that changes from the server came down.

    The only way I know of doing this now is before the sync happens to select from each table that is in the upload scope where __SyncTrackingContext is null. Is this the only way to know or is that even a valid way to go about it.

    Thanks

    Matthew Coleman

    Thursday, April 28, 2011 9:55 PM

Answers

  • can you not do this in the ChangesSelected event if you want to grab the values prior to synching? if you want to grab them after the sync, you can use the ChangesApplied event instead. both event has a Context property in its event args that contains a dataset for the changes selected or applied.
    Thursday, April 28, 2011 11:26 PM
    Moderator

All replies

  • can you not do this in the ChangesSelected event if you want to grab the values prior to synching? if you want to grab them after the sync, you can use the ChangesApplied event instead. both event has a Context property in its event args that contains a dataset for the changes selected or applied.
    Thursday, April 28, 2011 11:26 PM
    Moderator
  • ChangesSelected works because it only fires for Uploads which is what I wanted. Thanks.
    Friday, April 29, 2011 1:48 PM