Skip to content
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

OData $select: add ability to select __parent-table-id #722

Closed
sadiqkhoja opened this issue Dec 22, 2022 · 0 comments · Fixed by #915
Closed

OData $select: add ability to select __parent-table-id #722

sadiqkhoja opened this issue Dec 22, 2022 · 0 comments · Fixed by #915
Assignees

Comments

@sadiqkhoja
Copy link
Contributor

OData $metadata document shows parent table ID like __submission-id as a field for the subtables but selecting it returns 400 error.

Excel OData feed uses metadata document to determine the valid fields for the table and then makes request with $select query parameter. Right now request with $select for subtables are failing with 400 error and Excel falls back to requesting without $select

@sadiqkhoja sadiqkhoja self-assigned this Dec 22, 2022
@github-project-automation github-project-automation bot moved this to 🕒 backlog in ODK Central Mar 10, 2023
@sadiqkhoja sadiqkhoja moved this from 🕒 backlog to ✏️ in progress in ODK Central Jun 26, 2023
sadiqkhoja added a commit to sadiqkhoja/central-backend that referenced this issue Jun 26, 2023
sadiqkhoja added a commit that referenced this issue Jun 29, 2023
* enhances #722: add ability to select parentID

* added more tests
@github-project-automation github-project-automation bot moved this from ✏️ in progress to ✅ done in ODK Central Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant