Offline Syncing

Jan 22, 2012 at 2:34 PM

Hi there,

I've been trying to understand what this "Syncing" concept is within the code, and whether this relates to offline use.

For example, the Rtm.DisableSyncing() method, when would you use this? Is there any way of resyncing up all changes to RTM by turning Syncing back on again after carrying out a series of actions? Or is this for something else?

Thanks,
Hamish

Coordinator
Jan 29, 2012 at 4:48 AM

Hey,

When "Syncing" is enabled, it means that any change to the object model will fire up a web request to execute that change with the RTM API. You mostly call DisableSyncing when you want to test your application locally.

In theory, it wouldn't be too hard indeed to have an offline mode where all web requests are cached until Sync is enabled again, but this is not supported at the moment.

Jan 30, 2012 at 12:37 PM

Hi - thanks, cheers for clearing it up.

Hamish