You can download exported node as a zip file with all file references such as images, documents, videos and etc.

By clicking on Download as a zip with all assets a new archive file should be created and automatically downloaded.

The archive contains:

1. Single YML file which is exported source node.
2. Assets folder which contains all files referenced.

When importing content there is possibility to upload/drag-n-drop a single archive file with assets.

The archive is being extracted with assets on import process and assets are being created and referenced

As result I can export content from my local machine with all assets like images and then upload the archive to live site to get the same content with the same files that were used.

Make sure that there is a separate method in. the import service which allows to export to archive (generates archive) and import from archive (extract files and import content).

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

nginex created an issue. See original summary.

nginex’s picture

Issue summary: View changes
Issue tags: +LutskCodeSprint2021
nginex’s picture

Version: 1.1.x-dev » 1.2.x-dev
Issue summary: View changes

Here is a full functional description

nginex’s picture

Assigned: Unassigned » nginex
artycal’s picture

Assigned: nginex » artycal

artycal’s picture

Assigned: artycal » Unassigned
Status: Active » Needs review

Added a patch which adds support for exporting the content to a zip archive with all assets, as well as added support for importing content from a file or zip archive.
Refactored some existing code.

nginex’s picture

Assigned: Unassigned » nginex
Issue tags: -LutskCodeSprint2021
nginex’s picture

Assigned: nginex » Unassigned
Status: Needs review » Reviewed & tested by the community

I've reviewed and tested the code changes locally. I've refactored and improved functionality. Ready for release.

nginex’s picture

Status: Reviewed & tested by the community » Fixed
nginex’s picture

Status: Fixed » Closed (fixed)