02-10-2016 12:10 AM
I have two plugins for custom synchronizations. One manual and one automatic (every 30 days).
When running the custom sync when GMSC is running his own data loading, the sync and loading process don't go well (there is a confusion between both processes).
How can I let the user run the manual custom sync only when GMSC is not in loading process?
My automatic custom sync is defined as LoadOnStart. How can I run it as soon as GMSC has finished his initial loading process? Not in same time.
Solved! Go to Solution.
02-10-2016 12:46 PM
I am not too sure what you really try to do, but what happens if we still put the custom sync in LoadOnStart event, but we open another thread, let it sleep a couple of minutes to make sure that GMSC finishes loading and then start this thread to do the custom sync.
02-16-2016 09:19 AM
Our customer (gis admin) doesn't want users to go in the standard synchronization interface to synchronize data (because he might miss to synchronize some layers). So we have a custom XML parameter file to define the layers which have to be synchronize. The end user just have to click on one button to synchronize all predefined layers. This is the manuel custom synchronization.
Also, the gis admin wants to make an automatic synchronization every x days. That's why we created the StartOnLoad plugin.
I put a sleep of x seconds to wait for the end of the GMSC initialization process.