-
-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User should be able to download submission filtered by either taskID or username #2165
Comments
We already added the filters for the submission table, so we could simply parse the table data as CSV and download? Its a small bit of code to add a download button and the table parsing logic. I think we should do this instead of modifying the backend to download filtered geojson etc (would require a UI rework plus backend logic) |
Backend is now compatible with geojson data filtering, with the same odata filters as with JSON and CSV downloads (linked PR). This is now a frontend integration task, for the submission data table 👍 |
As described in the issue is it possible to download submissions filtered by username & task id? If yes then we shall add those too. |
The downloaded geojson doesn't contain any geopoint except the entity we are mapping. |
Both are not included, or just newly added features aren't? They should be under key |
I need to confirm on new and additional features but any geopoint questions on form like user's current geolocation is not there. I will confirm and update you shortly. Update: The new feature is also not visible. |
Thanks for the info! I checked it out.
This issue is solved & ready - the other issues above are separate 👍 |
1. Injecting new_feature field by URL intentThis can't be solved with the current setup, as far as I can tell. The problem is loading the new entity via intent URL, which requires spaces in the URL, e.g. Instead we will have to solve via: #2146 2. Additional geometry conversion JavaRosa --> GeoJSON
|
This should be done & working on stage 👍 |
I just tested it on dev server and here are my observations
|
You will notice that filtering by It's not possible to filter by custom properties, only system properties such as This is why I suggested from the start to separate out the submission table downloads from the geojson submission download.
Closing this for now 👍 |
This makes me clear. Thanks. |
Is your feature request related to a problem? Please describe.
As a part of requirement of Tokha data monitoring, they want to download submissions filtered by either TaskId or user's name. I think download submission filtered by taskId will be comparatively easier.
Describe the solution you'd like
User should be able to download submission filtered by either taskID or username.
Describe alternatives you've considered
project managers can download submission filtered by username is easier technically, then that would also be perfect.
Additional context
User should be able to download filtered data in geojson or csv format.
The text was updated successfully, but these errors were encountered: