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 export/import functionality for forms (transferability) #1425

Open
RainerKlute opened this issue Dec 19, 2022 · 12 comments
Open

Add export/import functionality for forms (transferability) #1425

RainerKlute opened this issue Dec 19, 2022 · 12 comments
Labels
1. to develop Accepted and waiting to be taken care of enhancement New feature or request feature: 📑 form creation

Comments

@RainerKlute
Copy link

Nextcloud (please complete the following information):

  • Nextcloud-Version: 25.0.2
  • Forms-Version: 3.0.1

Is your feature request related to a problem? Please describe.
I cannot transfer a form from one Nextcloud instance to another.

Describe the solution you'd like
I would like to be able to export a form (or all forms or selected forms) to an editable file, e. g., XML or JSON, and then import the form(s) via that file into another or even the same Nextcloud instance.

Describe alternatives you've considered
None

Additional context
None

@RainerKlute RainerKlute added 0. Needs triage Pending approval or rejection. This issue is pending approval. enhancement New feature or request labels Dec 19, 2022
@susnux
Copy link
Collaborator

susnux commented Dec 24, 2022

Migrating forms from one instance to another is available with forms 3.0.0, see #582

But this might be also related to #102 and #560

@RainerKlute
Copy link
Author

If I understand it correctly, @susnux, forms migration is a part of user migration – and that seems to be overkill to me. I think the other issues you mentioned and mine all boil down to the following requirements:

  • Export a form as a file in some textual format (XML, JSON, whatever).
  • Import a form from such a file, creating either a new form or updating an existing one.
  • Export/import multiple forms at one (“deluxe version”).

This would enable or support at least the following purposes:

  • Export and import of forms made simple
  • Documentation of forms, possibly by transforming the textual version of the form into something else (not in the scope of this enhancement request)
  • Versioning of forms
  • Automated generation of forms
  • Automated updating of forms, e. g., options in an option menu, additional questions, etc.

@stefan-franz
Copy link

This whould be a great improvement for me and my team. Hope it will implemented in the future.

@Chartman123
Copy link
Collaborator

You know that you could use our API for things like that? https://github.com/nextcloud/forms/blob/main/docs/API.md

@stefan-franz
Copy link

Oh that is not a solution for me. I have a managed Nextcloud and my team too. And no one is able to do that described.

@Chartman123
Copy link
Collaborator

@stefan-franz I think that a basic import/export could be implemented directly in the front-end. The API is probably more interesting for all the use cases that @RainerKlute mentioned in his last post.

@RainerKlute
Copy link
Author

@stefan-franz I think that a basic import/export could be implemented directly in the front-end. The API is probably more interesting for all the use cases that @RainerKlute mentioned in his last post.

Oh, I wasn’t even aware that there is an API – thanks for the hint! Anyway, a basic import/export function in the front-end would be extremely helpful.

@Chartman123 Chartman123 added 1. to develop Accepted and waiting to be taken care of feature: 📑 form creation and removed 0. Needs triage Pending approval or rejection. This issue is pending approval. labels Mar 6, 2023
@kirmaha
Copy link

kirmaha commented Jun 1, 2023

For a scientific study, I had to write down structured informations every 5 minutes on a tablet during whole working days for a month. I choosed to use Nextcloud Forms because of privacy concerns, and I'm super happy with that choice! It was light and robust enough for the job.
The downside is that there was no way to save my 50 items form as a file, in order to share it with other researchers who would want to replicate the study. So to me, it would an important feature for professional/scientific usecases.

@rolliracker
Copy link

I very much support this request. It would be really very useful and increase the usability of Forms a lot. It would also enable a simple way of reusing questions from old forms by copy and paste of the relevant parts in a xml or json file into a new form, without the need to reenter them again via the GUI.

@davidspring

This comment was marked as off-topic.

@timmwille

This comment has been minimized.

@TUCAOEVER

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Accepted and waiting to be taken care of enhancement New feature or request feature: 📑 form creation
Projects
None yet
Development

No branches or pull requests

9 participants