Multiple data exports

Created on 14 June 2024, 6 months ago
Updated 17 June 2024, 6 months ago

In my case i do have 2 content types:
school and classrooms.

There is entity reference so every school has multiple classrooms.

With views data export module i have created 2 views of data export (csv) and now when i visit link of view i can download a csv file.

However i need to visit secondary view to download the second csv of classrooms.
There is a plan to add also aditional views exports like students etc.

However for user it would by pain in the ass to download several csv files one by one.

My question: with this ECA module is it possible to run it so all csv files will be downloaded together at the same time / maybe zip them togeher ???

And if so, how to trigger that download. Should i create content type with boolean field download so if user click on it, eca will run download and put back value of boolean to 0?

πŸ’¬ Support request
Status

Active

Version

2.1

Component

Documentation

Created by

πŸ‡ΈπŸ‡°Slovakia coaston

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @coaston
  • πŸ‡©πŸ‡ͺGermany jurgenhaas Gottmadingen

    This module is built on top of views, which is part of Drupal core. And views is only always running 1 data query which can be exported.

    If you need to combine multiple views queries, then you should export them one by one and afterwards concatenate the exported files. To do that, we've e.g. built a custom action that takes a number of exported files and puts them together into a single zip file. We may eventually publish that plugin is the eca_file sub-module when the customer agrees. But it's not too complex to build something like that yourselves.

  • πŸ‡ΈπŸ‡°Slovakia coaston

    Thank you for your answer.

    It will be a big help help if your customer would allow you to publish such an amazing feature so community can use it.

    Maybe one day, much appreciated.

Production build 0.71.5 2024