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

Add Query Import/Export functionality #1220

Closed
maxpatiiuk opened this issue Apr 7, 2022 · 4 comments
Closed

Add Query Import/Export functionality #1220

maxpatiiuk opened this issue Apr 7, 2022 · 4 comments
Labels
1 - Request A request made by a member of the community
Milestone

Comments

@maxpatiiuk
Copy link
Member

Add ability to export and import queries between users and databases

@maxpatiiuk maxpatiiuk added the 1 - Request A request made by a member of the community label Apr 7, 2022
maxpatiiuk added a commit that referenced this issue Apr 7, 2022
@benritchie
Copy link

2 thoughts:
worth noting there's currently a quite good workaround for sharing queries between users: (also works with record sets)

  • send the URL of the query to another user.
  • They can then click save, to add it to their queries.
    As a side note, assume this will continue to work with the reworked UI?

For me, more useful than import / export would be a concept of shared queries.
the problem with import/export is that everyone ends up with slightly different version of the queries, doesn't get new queries automatically that are added later, etc.
what I'd love to be able to do would be to add "shared" queries, which automatically are available to all users. - and updates to them are again available to all users.

@maxpatiiuk
Copy link
Member Author

Hi,
Yes, you would still be able to share queries by sending the URL to a different user.
Query import/export has been added as it is more explicit, as many users don't know about the "URL hack".
Additionally, this new method allows for importing/exporting queries between different databases.

As far as shared queries (and we already have a bug open for it - #256), there are some complexities. For example, who sees shared queries (would every shared query be visible to all users in the institution? in the collection?). Who has permission to modify or delete them?

Until we add a record-level permission system, a satisfactory implementation of shared queries is difficult.

@benritchie
Copy link

good to hear can still share by URL. thanks

@maxpatiiuk
Copy link
Member Author

Screenshots for future reference:
Screen Shot 2022-05-05 at 08 29 39
Screen Shot 2022-05-05 at 08 30 23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 - Request A request made by a member of the community
Projects
None yet
Development

No branches or pull requests

2 participants