Hey guys,
how to sync to drop box in new cspro 7, when I sync as usual I got some problem and I can't sync.
so please what were the steps in the new version to complete the task?
thanks
problem sync with drop box
-
- Posts: 572
- Joined: July 9th, 2012, 11:32 am
- Location: Islamabad, Pakistan
Re: problem sync with drop box
Dear Yana
There is a very good example in Version 7. Please follow these instructions to find example.
Click on Example folder under help tab.
Click on "1 - Data Entry" and you find folder name "Synchronization In Logic"
copy this folder some where else in your system.
Explore this folder and run Menu under Menu Folder
In the logic window you will find this syntax
just replace this syntax with dropbox:
Save this programme and close it.
. Double click on the file CreateDeployment.bat to generate the Deployment folder
. You will find folder "Synchronization in Logic" under Deployment. Copy this folder to the Dropbox
. If running on Android, copy the folder "Synchronization in Logic" to the csentry folder on the Android device
. Run the menu application, login as interviewer, choose "enter data" and enter some cases
. Run the menu application, login as supervisor, choose "Sync with headquarters" to synchronize with the Dropbox
You can read all these information in the file "readme".
I hope it works for you.
Regards;
a.
There is a very good example in Version 7. Please follow these instructions to find example.
Click on Example folder under help tab.
Click on "1 - Data Entry" and you find folder name "Synchronization In Logic"
copy this folder some where else in your system.
Explore this folder and run Menu under Menu Folder
In the logic window you will find this syntax
Code: Select all
function syncWithHeadquarters()
// Connect to server
// Change the URL to match your server
if syncconnect(CSWeb, "http://www.myserver.org/api") = 1 then
Code: Select all
function syncWithHeadquarters()
// Connect to server
// Change the URL to match your server
if syncconnect(Dropbox) = 1 then
. Double click on the file CreateDeployment.bat to generate the Deployment folder
. You will find folder "Synchronization in Logic" under Deployment. Copy this folder to the Dropbox
. If running on Android, copy the folder "Synchronization in Logic" to the csentry folder on the Android device
. Run the menu application, login as interviewer, choose "enter data" and enter some cases
. Run the menu application, login as supervisor, choose "Sync with headquarters" to synchronize with the Dropbox
You can read all these information in the file "readme".
I hope it works for you.
Regards;
a.
Re: problem sync with drop box
In addition to what Khurshid explained, if you are only syncing your main data file you can do it without writing any logic. In your data entry application in CSPro designer choose "Synchronization Options..." from the menu. Choose "Dropbox" as the server type and pick the direction to sync (PUT/GET/BOTH). Then create your pen file and copy to the device via USB as usual. Now from the case list screen (after you tap the name of your application) there is a an option to synchronize. It will sync your data file with your Dropbox. To download the data from Dropbox use the DataViewer tool. It will automatically combine the data from all the enumerators that synced into a single data file. See "Synchronization Overview" in the online help for more details.
Re: problem sync with drop box
thanks I will go through the steps