Community
Showing results for 
Search instead for 
Do you mean 
Reply

SynchronizationManager events

Bronze Super Contributor
Posts: 1,231
Country: USA

SynchronizationManager events

Is there any event raised after syncing when the user is Subscriber?

 

Does the SynchronizationManager raise ANY events? I looked but could not find any.

If not would it be fair to state that ACTFramework.Database.AfterDatabaseLock would always be reaised after a sync?

 

Thanks

-- Jim Durkin

Employee
Posts: 1,163
Country: USA

Re: SynchronizationManager events

[ Edited ]

The only sync that I think an event could be triggered for might be for application sync, as it doesn't sync through a service or website like the other two flavors. I don't seem to recall the db locking after each sync either... I did a quick scan through the API and didn't find any events relative to sync completion on the publisher side. We could always check against LastSuccessSyncDate... but that's not really what you're looking for.

 

When I get some time I'll look into this a little more deeply. 

Message Edited by mwood on 05-25-2010 05:17 AM
Matthew Wood
Act! SDK Support
Community Moderator
Bronze Super Contributor
Posts: 1,231
Country: USA

Re: SynchronizationManager events

I am looking for a notification of AfterSync on the subscriber side. 

 

Can we call the sync event from the SDK? This way I could replace the Syncronization menu and perform the sync

I will be able to code for the after sync event if I initialize sync myself.

 

Thanks

-- Jim Durkin

Employee
Posts: 1,163
Country: USA

Re: SynchronizationManager events

There's a SyncNow() method and since sync's can only be initiated by the subscriber, that might be what your looking for.

 

HTH 

Matthew Wood
Act! SDK Support
Community Moderator