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

Issue with linking Dataviews and XForms as media to a form #2722

Open
FrankApiyo opened this issue Oct 14, 2024 · 0 comments
Open

Issue with linking Dataviews and XForms as media to a form #2722

FrankApiyo opened this issue Oct 14, 2024 · 0 comments
Labels
feature New feature

Comments

@FrankApiyo
Copy link
Member

FrankApiyo commented Oct 14, 2024

Environmental Information

  • Onadata version: All

Problem description

Sometimes forms have the same ID as data views because they are in different DB tables.
This endpoint's parameters do not clearly distinguish between DataViews and XForm IDs; it's a bit unclear what will happen when an XForm you'd like to link to has the same ID as a dataview that you don't want to link your form to (and the converse would also be a problem)

Expected behavior

There should be a way to distinguish between XForms and DataVIews in the datavalue parameter to the metadata endpoint
More on this: https://api.ona.io/static/docs/metadata.html#link-xform-as-a-geojson-media-attachment-example

@FrankApiyo FrankApiyo added Error feature New feature bugfix Pull requests that solve a bug and removed Error bugfix Pull requests that solve a bug labels Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature
Projects
None yet
Development

No branches or pull requests

1 participant