Skip to content

Export submission id and attachment id #2812

Description

@Luchostein

Include the form_id, submission_id and attachment_id s when querying the form results; specially when receiving file uploads, the exported spreadsheet/CSV only contains the filenames.

  • Nextcloud-Version: any
  • Forms-Version: any

Is your feature request related to a problem? Please describe.

I need to match the uploaded files with the form answers of their specific form submissions. Uploaded files are stored under a directory hierarchy consisting on the form id, the submission id and their attachment ids. Nowadays, the only way to match the files with their respective submissions is through the REST API. If the submission id and attachment ids were included in the exported sheet, it would be way easier to match them just by watching the filesystem.

Describe the solution you'd like

Permanently add a column to the exported spreadsheet/CSV including the submission id and, when uploading files, besides their filename, also include their attachment ids, so they can be easily matched looking at the directory names and sheet entries.

I mean, it is not impossible to disambiguate the association between the form submission and the multiple attachments, but is definitely not straightforward for a user without recurring into extra programming.

Describe alternatives you've considered

Querying the REST API to obtain the details from ambiguously associated uploaded files.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending approval or rejection. This issue is pending approval.enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions