Search found 1775 matches

by Gregory Martin
September 20th, 2023, 2:18 pm
Forum: Android
Topic: Set update server programmatically
Replies: 1
Views: 2847

Re: Set update server programmatically

Our current API for inter-Android application communication doesn't allow you to update the application via parameters from an Intent, though we'll keep this in mind for future development. You can use syncapp to update the application programmatically: https://www.csprousers.org/help/CSPro/syncapp_...
by Gregory Martin
September 20th, 2023, 2:15 pm
Forum: News
Topic: New Version of CSPro
Replies: 3
Views: 3580

Re: New Version of CSPro

We're hoping to get the beta out this week; if not this week, definitely next week. The main features include: Binary dictionary items (making it easier to sync binary data without needing to use syncfile) A questionnaire viewer that displays case data in a nice format The Action Invoker, a new fram...
by Gregory Martin
September 19th, 2023, 12:41 pm
Forum: Synchronization
Topic: Synchronize code probem
Replies: 5
Views: 6724

Re: Synchronize code probem

Add ".csdb" to the file extension. Usually CSPro will do it automatically if you type the filename and then change the Source Type, but if you type the filename last, CSPro will use the extension of the filename (which in your case is ".Brinjal_Sample"), which will default to a t...
by Gregory Martin
September 18th, 2023, 8:50 am
Forum: Synchronization
Topic: Synchronize pictures from device to server
Replies: 4
Views: 3593

Re: Synchronize pictures from device to server

When is your survey going into the field? In CSPro 8.0, we are introducing binary dictionary items, where you could store your images, and then syncdata will take care of the intelligence of not sending images multiple times to the server. We are putting out a beta this week, with the final release ...
by Gregory Martin
September 18th, 2023, 8:13 am
Forum: Synchronization
Topic: Synchronize code probem
Replies: 5
Views: 6724

Re: Synchronize code probem

Currently CSPro does not allow you to sync from logic for your primary dictionary. That's what that message means: "external dictionary name expected." Usually you either: 1) Sync from logic from a "menu" program. 2) Use Simple Sync and have enumerators manually sync. If you are ...
by Gregory Martin
September 13th, 2023, 8:23 am
Forum: Tools
Topic: Export into Excel File
Replies: 2
Views: 9921

Re: Export into Excel File

You can create a batch application where the output file is an Excel file. Then, take a look at the Excel options here: https://www.csprousers.org/help/CSPro/data_sources.html You can use the connection string property: values=labels For example, your output file might be: MyOutput.xlsx|values=labels
by Gregory Martin
September 6th, 2023, 11:11 am
Forum: Android
Topic: HTMLdialog freezing on CSEntry 7.7.3, Android 11
Replies: 1
Views: 1787

Re: HTMLdialog freezing on CSEntry 7.7.3, Android 11

Do you need to display this as a dialog? If so, somewhere in your code you'll need to set the size of the dialog. Something like: CSPro.setDisplayOptions( JSON.stringify( { width: CSPro.getMaxDisplayWidth(), height: CSPro.getMaxDisplayHeight() } ) ); If it doesn't need to be a dialog, consider just ...
by Gregory Martin
September 6th, 2023, 11:07 am
Forum: Entry
Topic: ValueSet Upper Limit
Replies: 1
Views: 874

Re: ValueSet Upper Limit

There aren't any limits that I am aware of. Using the Generate Value Set feature, I was able to create a value set with 10,000 entries without problem.
by Gregory Martin
September 5th, 2023, 8:59 am
Forum: Android
Topic: Store data in different location CsEntry
Replies: 2
Views: 1917

Re: Store data in different location CsEntry

What directory are you trying to save your files into? Because of Android data security restrictions, the CSEntry application is limited in the locations to which it can write. One directory that every application can access is the Downloads directory: pathname (Downloads) If are you trying to share...
by Gregory Martin
August 7th, 2023, 12:08 pm
Forum: Android
Topic: starting CSEntry application from another Android application
Replies: 1
Views: 2305

Re: starting CSEntry application from another Android application

Take a look at the CSEntryAndroidLauncher example: https://github.com/CSProDevelopment/CSEntryAndroidLauncher/tree/callback-demo You can pass the FTP URL as part of the Intent: intent.putExtra("ftpUrl", "............"); Then you can use the sysparm function in CSPro logic to get ...