Content Exporter module

Edition

Incubator (services)

Issues

Git

Git

Latest

1.0.0

Compatible with Magnolia 6.2.

The Content Exporter module allows you to export and import content via CSV.

This module is at the INCUBATOR level.

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>1.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 content via CSV.

  1. Go to the Content Exporter module on your admincentral.

  2. Click export.

  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 content via CSV.

  1. Go to the Content Exporter module on your admincentral.

  2. Click import.

  3. In the dialog, upload your CSV file.

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

  4. Click Import.

importDialog

Changelog

Version Notes

1.0

Initial release of the module.

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