Skip to content

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

Description

@RainerKlute

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

Activity

  1. added
    0. Needs triagePending approval or rejection. This issue is pending approval.
    enhancementNew feature or request
    on Dec 19, 2022
  2. susnux commented on Dec 24, 2022

    @susnux
    Collaborator

    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

  3. RainerKlute commented on Dec 24, 2022

    @RainerKlute
    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.
  4. stefan-franz commented on Mar 6, 2023

    @stefan-franz

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

  5. Chartman123 commented on Mar 6, 2023

    @Chartman123
    Collaborator

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

  6. stefan-franz commented on Mar 6, 2023

    @stefan-franz

    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.

  7. Chartman123 commented on Mar 6, 2023

    @Chartman123
    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.

  8. RainerKlute commented on Mar 6, 2023

    @RainerKlute
    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.

  9. added
    1. to developAccepted and waiting to be taken care of
    and removed
    0. Needs triagePending approval or rejection. This issue is pending approval.
    on Mar 6, 2023
  10. kirmaha commented on Jun 1, 2023

    @kirmaha

    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.

  11. rolliracker commented on Dec 12, 2023

    @rolliracker

    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.

  12. davidspring commented on Dec 18, 2023

    @davidspring
  13. 31 remaining items

  14. added this to the 5.5 milestone on Aug 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions