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

External tools can't see the dataset context #5457

Closed
qqmyers opened this issue Jan 11, 2019 · 1 comment
Closed

External tools can't see the dataset context #5457

qqmyers opened this issue Jan 11, 2019 · 1 comment
Assignees

Comments

@qqmyers
Copy link
Member

qqmyers commented Jan 11, 2019

Currently, the external tools interface only sends a reference for the relevant file and a tool can't easily discover which dataset and datasetversion the file is included in, and therefore, if I understand correctly, cannot retrieve the file metadata (name, tags, description) since these are associated with a give filemetadata entry that is specific the dataset version.

For QDR, we wanted to display the dataset name (with a link), and file creation date in the annotation viewing tool, so I extended the external tool interface to allow tools to request the dataset and datasetversion ids from Dataverse for inclusion in the called URL, mirroring the way the fileid, apikey, and siteurl can be requested.

I'll submit a PR so this can be merged in if there's broader interest.

@pdurbin
Copy link
Member

pdurbin commented Jan 23, 2019

@qqmyers added documentation in 60f9b10. Thanks!

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

No branches or pull requests

5 participants