Closed (won't fix)
Project:
Webform
Version:
8.x-5.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
17 May 2019 at 07:02 UTC
Updated:
19 Jun 2023 at 11:03 UTC
Jump to comment: Most recent
Comments
Comment #2
jrockowitz commentedThere is no way to merge different webform export via a UI. You have to write custom code.
I would start by looking at the WebformResultsExportController::index and work to chain together the export of multiple webform submissions.
Don't forget there is also a
drush webform-exportcommand.@see \Drupal\webform\Commands\WebformCliService::drush_webform_export
Comment #3
ewaters5@jrockowitz do you know of a way to merge the submission data of fields from multiple webforms in a single view? For example, 3 webforms each with fields name, date, topic. I want a single view to pull submission data from all 3 forms and display these 3 fields sorted by submission date. Is this possible?
Comment #4
jrockowitz commentedYou might be able to build a custom CSV using https://www.drupal.org/project/webform_query
Comment #5
imclean commented@ewaters5, if the field names in each of the forms are exactly the same this can be done with Webform views. When you create the view, filter by the form IDs and add only the first form's fields. Submissions from the other forms should also appear.
For example, title: "Your name", category: "Webform Form Number 1".
Comment #6
andrew robinson commented@laurab Would you mind outlining the solution you settled upon with for achieving this?