Monday, February 25, 2019

Content export to CSV, JSON or XML

1. Download and install Views Data Export Module (https://www.drupal.org/project/views_data_export)

If you are using composer to install the module, then all the dependencies will automatically be downloaded.  Otherwise, follow the below steps

1.a. Download and install the CSV Serialization module(https://www.drupal.org/project/csv_serialization), this module requires a library League\Csv. So if you trying to install this module you may get below error message

CSV serialization requires the League\Csv library.


1.b To fix the above issue, download and install Ludwig module (https://www.drupal.org/project/ludwig) It provides a manual alternative to Composer.

After installing Ludwig, go to reports > packages.

Follow the instructions mentioned on that page. You may be instructed to download the library and copy to a specified folder. Do as per that then,

1.c Install CSV Serialization and Views Data export modules respectively.

After successful installation,

Follow the instruction mentioned here (https://www.drupal.org/node/1820452).

No comments:

Post a Comment