Migrate media files to the AEM Assets DAM
Both Adobe Commerce and Adobe Experience Manager (AEM) provide built-in features to streamline media file migration from Commerce to the AEM Assets digital asset management system (DAM). You can also migrate media files from other sources.
Prerequisites
- AEM as a Cloud Service environment provisioned with AEM Assets
- Sufficient storage capacity
- Network bandwidth for large file transfers
- Administrator access to AEM Assets as a Cloud Service
- Access to source system where media files are stored (Adobe Commerce or external system)
- Appropriate permissions to access cloud storage services
- AWS S3 or Azure Blob Storage account
- Private container/bucket configuration
- Authentication credentials
- Organized media files ready for migration
- Image and video files in formats supported by AEM Assets.
- Clean, duplicated assets
- AEM Assets metadata profile configured for Commerce assets
- Mapped metadata values for each asset
- CSV file editor (e.g., Microsoft Excel)
Migration best practices
-
Curate assets before migration by removing unused and duplicate content.
-
Organize assets logically by size, format, or use case.
-
Consider breaking large migrations into smaller batches.
-
Schedule resource-intensive imports during off-peak hours.
-
Validate metadata mapping before full import.
Migration workflow
Follow the migration workflow to export media files from Adobe Commerce or another external system and import them into the AEM Assets DAM.
Step 1: Export content from the existing data source
[PaaS only]{class="badge informative" title="Applies to Adobe Commerce on Cloud projects only (Adobe-managed PaaS infrastructure)."}
For Adobe Commerce merchants, the Remote Storage module can facilitate media file imports and exports. This module allows businesses to store and manage media files using remote storage services like AWS S3. To set up remote storage for your Commerce instance, see Configure Remote Storage in the Commerce Configuration Guide.
If you have media files stored outside of Adobe Commerce, upload them directly to one of the data sources supported by AEM as a Cloud Service.
Step 2: Build a CSV file for metadata mapping
After exporiting the media files, create a CSV file to map these assets with the necessary metadata for automation. The CSV should include fields for product, position, and role mapping, ensuring alignment with the AEM Assets metadata profile.
For each media file you plan to migrate, provide values for the metadata fields included in the AEM Assets metadata profile for Commerce assets as described in the following table.
Use the path to create sub-folders to organize Commerce assets, for example
content/dam/commerce/<brand>/<type>
./content/dam/commerce/<sub-folder>/..<filename>
Yes
thumbnail
, main image
, swatch
)Use this sample CSV code to create the file in a code editor or spreadsheet application like Microsoft Excel.
code language-csv |
---|
|
Step 3: Bulk Import Assets into AEM Assets
After creating the metadata mapping file, use the AEM Assets Bulk Import Tool to import your assets.
The following is a high-level overview for using the tool.
-
Log in to your AEM Assets as a Cloud Service author environment.
-
From the Experience Manager Tools view, select Assets > Bulk Import.
-
From the Bulk Import Configurations, select Create to open the configuration form.
-
Set up and save the configuration.
You’ll need:
- Authentication credentials for your data source
- The target folder in AEM Assets where imported files will be stored
- Optional. Information about the MIME types, file size, and other parameters to customize the import configuration
- The path to the metadata mapping CSV file you uploaded to the Cloud storage instance.
For detailed steps, see Configure the Bulk Import tool in the AEM Assets as a Cloud Service User Guide.
-
After saving the configuration, use the bulk import tools to test and run the import operation.