Content Exporter module

The Content Exporter module module provides CSV import and export functionality.

Installing with Maven

Maven is the easiest way to install the module. Add the following to your bundle:

<dependency>
  <groupId>info.magnolia.content</groupId>
  <artifactId>content-exporter</artifactId>
  <version>2.0.0</version>
</dependency>

Usage

This sections shows you how to configure and use the module.

Configuration

You can configure which property is allowed to be exported. This is done in your config.yaml file.

config.yaml
################# SPECIFY THE EXPORT CONFIGURATION #################
exportConfiguration: # this configuration supports multiple workspaces
  website: (1)
    allowedNodeTypes: (2)
      - mgnl:page
      - mgnl:component
    contentAttributes: (3)
      - title
      - description
      - text
#  contact:
#    allowedNodeTypes:
#      - mgnl:contact
#    contentAttributes:
#      - lastName
#      - firstName
1 The repository.
2 The specific node types to be exported.
3 Defines which attributes are displayed in the dialog in admincentral.

Export CSV dialog

To export CSV content.

  1. In your content app, select the item to export.

  2. Click "Export CSV" button.

  3. Define the properties to export with the following format:

    title
    description
    text
    options
    • Include empty: allows users to export properties which do not exist as a node path.

    • Include i18n properties: allows users to export i18n properties such as title_de, title_fr, and so on.

    • Include subnodes: allows users to export sub nodes.

  4. Click Export.

exportDialog

Import CSV dialog

To import CSV content.

  1. In your content app, select the item to import.

  2. Click "Import CSV".

  3. In the dialog, upload your CSV file.

    options
    • Include empty: select if you want to import properties that do not exist as a node path.

  4. Click Import.

importDialog

Changelog

Version Notes

2.0.0

Release for Magnolia 6.3 compatibility.


1. This module was last tested on Magnolia 6.3.5. If you are using a previous Magnolia release or version, please take this into consideration.
Feedback

Incubators

×

Location

This widget lets you know where you are on the docs site.

You are currently perusing through the Content Exporter module docs.

Main doc sections

DX Core Headless PaaS Legacy Cloud Incubator modules