We are currently rebuilding the GetIN mobile application and decided to use ODK as the new platform.
How can we have default forms download immediately the app starts such that all the user has to do is fill in the forms and submit.
We would like to the have the aggregate server and form names hardcoded
welcome to the forum! Please introduce yourself here!
it's something that would require some development work. If you are not a developer you would need to hire someone.
Thanks. I have introduced my self.
I am actually making some strides on the customization.
However is there a way of getting rest api working on aggregate server. I have looked through the docs, however its ambiguous.
That's great to hear!
Have you addressed the form bundling question? If so, what did you end up doing? What I'd probably do is put the forms in Android resources and copy them over to
/sdcard/odk/forms on your fork's first launch. That directory automatically gets indexed when the
Fill Blank Form screen is opened.
Can you say more about what you're trying to achieve? Aggregate does make data available through APIs but none are RESTful. You may be interested in ODK Central which is being developed as a modern Aggregate replacement and does expose a REST API.
I managed to setup ODK central https://central.getinmobile.org on my own server and created admin users
I am now adding custom business logic.
However, is there a way of listing all the submitted questions and their details.
The current endpoint https://odkcentral.docs.apiary.io/#reference/forms-and-submissions/forms/list-all-forms
Lists ids of the submitted forms. Then you are required to query data for each inform using this endpoint https://odkcentral.docs.apiary.io/#reference/forms-and-submissions/'-individual-form/retrieving-form-xml
Is there an endpoint that does both things at once because multiple server requests are not scalable?
Is there a way of getting the response as json instead of xml on this endpoint https://odkcentral.docs.apiary.io/#reference/forms-and-submissions/'-individual-form/retrieving-form-xml
Thank you @LN. This was really helpful