Skip to main content

Import and export content

Audience: administrators and content managers.
Time: 15 minutes.
New in 5.5: re-import of native export, exact filename matching, corrected CSV values/separators, tag import without duplicates with exportable report.

FLEXIcontent can import and export items as CSV, and import tag lists. These operations are sensitive: work on a backup first.

1. Export items to CSV​

  1. Open Components > FLEXIcontent > Items.
  2. Filter the list if needed (type, category, state, author…).
  3. Click CSV Export.
  4. Choose the offered options:
    • Header row: Field Label or Field name;
    • include fields;
    • include media files in a ZIP archive.
  5. Download the generated file.

The backend button is shown when the global setting show_csvbutton_be is enabled; the frontend button depends on show_csvbutton. Default separators are:

ElementValue
Field separator,
Record separator\n
Multiple values%%
Value properties!!

Fields the user cannot access are exported as empty cells: columns remain present, but their content is hidden. Category exports follow the same rules.

note

In 5.5, exported category values, field quoting and diagnostics were fixed.

2. Import items from CSV​

  1. Open Components > FLEXIcontent > Import.
  2. Upload the CSV file.
  3. Fill separators:
    • Field separator: ,;
    • Enclosure character: " ;
    • Item separator: \n;
    • Multiple values separator: %%;
    • Multiple properties separator: !!.
  4. For file, image or mediafile columns, check Skip file check if files are not already on the server; otherwise the component verifies their existence.
  5. Launch the import, then follow the progress window.

Common errors​

  • “CSV file has no item rows: Item Separator [...] was not found in the file.”: the record separator must be entered with a single backslash (\n), not \\n.
  • “CSV file lacks column 'tags_names'” or “CSV file lacks column 'tags_raw'”: to import tags, the CSV must contain one of these columns:
    • tags_names: comma-separated names;
    • tags_raw: tag IDs. Names are cleaned, deduplicated, then created if they do not exist yet.
  • Missing files: in 5.5, local file lookup is exact (2025-report.pdf no longer matches report.pdf). This allows re-importing a native FLEXIcontent export.
tip

The import form keeps entered data when returning after an error, and steps beyond the first no longer crash on PHP 8.1+.

3. Import a tag list​

  1. Open Components > FLEXIcontent > Tags.
  2. Click Import tags.
  3. Paste one tag per line in the input area.
  4. Validate: empty lines are ignored, each tag is published (published = 1) and a message shows success and failure counts.

Import requires the right to create tags (CanCreateTags) and a valid Joomla token.

Import report (5.5)​

PR #1453 adds an import report: tags are grouped into created, existing and failed, each group offers ID copy buttons, a CSV export of the result and tag match checks. Duplicate entries in the list are ignored.

:::caution Deployment check This report is part of the 5.5 history, but in some working copies the file admin/views/tags/tmpl/import_report.php and related display code may have been removed. If the report does not appear after import, verify the repository state (git status) before documenting it as available. :::

4. Go further: attachments and rights​

  • Files referenced in the CSV must be accessible to the server; the Skip file check option only skips the check, it does not upload files.
  • Imported field values go through field plugins: validation is the same as in the item edit form.
  • Imports and exports are subject to Joomla rights: a field not visible to the user remains empty in exports.

See also​