Export and Import Content Data
Why export and import content
Section titled “Why export and import content”Moving content between environments is essential for development workflows. You might need to transfer sample content from production to a staging environment for testing, migrate content during a platform upgrade, or move a microsite from one CMS instance to another. The export/import tools give you a structured way to package content and transfer it safely.
Export content
Section titled “Export content”The CMS exports content as data packages that contain pages, blocks, media, and their relationships.
Export a content tree
Section titled “Export a content tree”- Open the Admin section.
- Navigate to Export Data or Tools > Export.
- Select the root page of the content you want to export. All child pages under this root are included.
- Choose export options:
- Include referenced content — Includes blocks and media referenced by the exported pages.
- Include content types — Includes content type definitions so the target environment can create matching types.
- Click Export.
- Save the exported file to your local machine.
- Verify the file size is reasonable. Very large exports may indicate you selected too broad a content tree.
Selective export
Section titled “Selective export”You can export specific items instead of an entire tree.
- In the export dialog, switch to Select Items mode.
- Browse or search for individual pages, blocks, or media items.
- Check each item you want to include.
- Choose whether to include dependencies (referenced blocks, media).
- Click Export.
Export multilingual content
Section titled “Export multilingual content”When your site uses multiple languages, the export includes all language versions of each content item by default.
- Follow the standard export steps.
- Verify the export options include All Languages or select specific languages to export.
- Language branches are bundled together per content item in the export file.
If you need only one language, some CMS versions let you filter the export to a single language branch. Check the export dialog for language selection options.
Import content
Section titled “Import content”Importing brings exported content into a target environment.
- Open the Admin section on the target environment.
- Navigate to Import Data or Tools > Import.
- Click Browse and select the export file.
- Review the import summary, which shows the number of items and content types included.
- Choose how to handle the import root. You can import under a specific page in the content tree or let the importer place content at its original location.
- Click Import.
- Wait for the import to complete. Large imports may take several minutes.
- Verify the imported content appears in the content tree at the expected location.
Handle import conflicts
Section titled “Handle import conflicts”Conflicts occur when the target environment already contains content with the same identifiers or when content types differ.
| Conflict type | Cause | Resolution option |
|---|---|---|
| Duplicate content ID | Content with the same GUID exists in the target | Choose to overwrite, skip, or create as new |
| Missing content type | The target lacks a content type from the export | Import content type definitions first, or add them via code |
| Property mismatch | A property exists in the export but not in the target content type | The property value is skipped during import |
| Missing referenced content | A referenced block or media item does not exist in the target | Import dependencies first, or accept broken references |
Resolve conflicts during import
Section titled “Resolve conflicts during import”- After uploading the file, the import dialog lists detected conflicts.
- For each conflict, select a resolution: Overwrite, Skip, or Create New.
- Overwrite replaces existing content with the imported version. Use this when you want the import to take precedence.
- Skip leaves existing content unchanged. Use this when the target version is more current.
- Create New imports the item with a new identity. Use this when you need both versions.
- Click Continue after resolving all conflicts.
Best practices
Section titled “Best practices”- Export from production, import to staging. This direction is safest because production has the authoritative content.
- Test imports on staging first. Never import directly to production without verifying on a test environment.
- Include content type definitions when moving between environments that may have different code deployments.
- Document what you export. Note the root page, date, and purpose of each export for audit purposes.
- Clean up after imports. Check for broken references and missing media after every import.
1. An administrator exports a product catalog from production and imports it to staging. The staging environment already has some product pages with the same IDs. The admin wants the production content to replace the staging versions. Which conflict resolution should they choose?
Overwrite replaces existing content in the target with the imported version. This is the correct choice when you want the source environment's content to take precedence over what already exists in the target.
Overwrite replaces existing content in the target with the imported version. This is the correct choice when you want the source environment's content to take precedence over what already exists in the target.
Review this topic →2. A developer exports content that includes a custom content type not yet deployed to the target environment. What happens during import?
If the target environment lacks the content type definition, imported content of that type encounters a missing content type conflict. Properties that do not match get skipped. To avoid this, include content type definitions in the export or deploy the code first.
If the target environment lacks the content type definition, imported content of that type encounters a missing content type conflict. Properties that do not match get skipped. To avoid this, include content type definitions in the export or deploy the code first.
Review this topic →