04-14-2016 06:49 PM
I have tried the behavior of synchronization data from offline mode in case that previous synchronization was unsuccessful and I have a few question.
If the synchronization fails, XML files (one file = one geometry element) are saved into C:\Users\[username]\AppData\Local\Intergraph\SmartClient\profiles\GMSC\[GMSCUserName]\[ProbablyProjectName]\offline\synchronize\
But I would expect there will be another attempt to synchronize these files during next synchronization, but it looks these files are ignored during next sync.
Is there a way how to force the sync of these files? I can imagine the situation, that synchronization fails for any reason and user losts the data.
I can't see any information about this in the documentation.
Thank you & regards,
Solved! Go to Solution.
04-21-2016 03:37 PM
I went back to my GMSC v14 note on Offline Synchronization, I was under the impression that the offline features are validated (geometry) through the server validation result dialog which also allows user to edit or discard the bad geometry. At the end of the Offline Synchronization process, the "offline-feature-cache" will be deleted. I assume those xml files are left on the cache folder as a result of an unsuccessful sync, and it might be a bit difficult for GMSC to deal with these offline cache since it may not be possible to determine the exact point of failure and things like which feature is being processed when the process failed, which features are synchronized and which features are not synchronized.
I will check with development to see how GMSC v15 deals with cached xml files after a failed sync.
04-21-2016 11:54 AM
Comment from development is that GMSC v15 is behaving the same as v14: an successful offline sync will cause data loss.
04-22-2016 05:35 PM
thank you for your input. This is the worst /crisis/ scenario (database fail or something similar). I think there could be a way how to load the "lost" elements from XML files - write a custom java plugin, which sends the XML files to server and process it somehow on the server.
04-22-2016 05:55 PM
Since there is no guarantee to fully restore 'loss' data in such worst/crisis scenario, we just can't give user a tool that do half the job.
08-09-2018 08:58 AM
I really wish that this tools exist..
As I have lots of 'loss' data xml files. (caused by trigger error not data error)
By looking inside the files, I thought I can insert manually into the database..
But when it comes to the geometry columns.. I'm lost..
How am I supposed to translate this into database insert query..?
A colleague of mine created similar thread here --> http://community.hexagongeospatial.com/t5/Support-GeoMedia-Smart-Client/Insert-Geometry-Data-from-XM...