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
- Open Components > FLEXIcontent > Items.
- Filter the list if needed (type, category, state, author…).
- Click CSV Export.
- Choose the offered options:
- Header row:
Field LabelorField name; - include fields;
- include media files in a ZIP archive.
- Header row:
- 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:
| Element | Value |
|---|---|
| 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.
In 5.5, exported category values, field quoting and diagnostics were fixed.
2. Import items from CSV
- Open Components > FLEXIcontent > Import.
- Upload the CSV file.
- Fill separators:
- Field separator:
,; - Enclosure character:
"; - Item separator:
\n; - Multiple values separator:
%%; - Multiple properties separator:
!!.
- Field separator:
- For
file,imageormediafilecolumns, check Skip file check if files are not already on the server; otherwise the component verifies their existence. - 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.pdfno longer matchesreport.pdf). This allows re-importing a native FLEXIcontent export.
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
- Open Components > FLEXIcontent > Tags.
- Click Import tags.
- Paste one tag per line in the input area.
- 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.