Finding User Synch History
Finding User Synch History
Is there any way to determine data syncs by user? cspro_log seems to only have errors. What is cspro_sync_history describing? What is the device field? Is there any way that can be used to identify a user name? Is it an identifier of the device used for upload? If so, how would we map it to something?
Re: Finding User Synch History
The cspro_sync_history has syncs by device. Each row represents a sync session for a device. A session represents a single call to syncdata() so one session can sync multiple cases in the same dictionary (or none). The device field is a unique id for each device. You can use getdeviceid() in CSPro logic to find the device id for a particular device. There is not any direct way to map it to a user. You could have an external data file in your CSPro application in which you store the device id by calling getdeviceid() and also store the username and then use sync to upload to the server for each user. The result would be a table in CSWeb that you could use to associate a user to a device id and to a sync_history entry.