stats4sd / tape-data-system

2 stars 0 forks source link

View and download submission data #4

Closed dave-mills closed 1 month ago

dave-mills commented 2 months ago

Teams should be able to view ODK submissions for any of their xlsforms. The submission viewing page should be available from:

Page functionality

dave-mills commented 2 months ago

For reference, the 'survey monitoring' page in the TAPE GIZ Platform looked like this:

CleanShot 2024-05-08 at 10 54 48

Code Reference:

https://github.com/stats4sd/tape-giz/blob/10dbb0961f139ce6902f19399386f438f5af14c6/app/Http/Controllers/SurveyMonitoringController.php

dan-tang-ssd commented 2 months ago

Thank you Dave.

I pulled latest code for tape giz project, I played around but I cannot find out how to go to the "Survey Monitoring" page. Would you tell me where is it?

image

dave-mills commented 2 months ago

The old backpack interface is hidden from users, but not disabled. Go to {appurl}/admin, or directly to that page: {app_url}/admin/team/{team_id}/live-form

dave-mills commented 1 month ago

@dan-tang-ssd - Just FYI, in case you hadn't seen this yet - one of the updates I made over the weekend was to bring the monitoring page you created into the main XlsformResource -> ViewXlsform page so we can see this monitoring info and the submission list on the same page, which addresses one of the points in this issue.

dan-tang-ssd commented 1 month ago

The latest code can now view and download submission data:

  1. Extract from ODK central API directly
  2. Extract from local database generic tables entities and entity_values

I would consider this issue is resolved. I will close this issue now.