How to import with media
Learn how to include media when importing
Last updated
Learn how to include media when importing
Last updated
A prerequisite when importing media is having a zip-file with all of the mediafiles you wish to import. The zip-file must only contain the media files. No folders or subfolders.
Additionally you must have an excel spreadsheet with information as though you would normally import
Importantly you must have a column with the name of the media attribute as header and filenames that correspond to the files in your zip-file, including their file extension, e.g. pdf.
To start importing you choose the excel spreadsheet with the data you want to import, in this tutorial the spreadsheet is called "ClothingForImport.xlsx".
Next you need to choose the correct Import type. Choose the one that fits what you need to import. In this tutorial we are importing to a list so we choose 'List property import'.
To include media toggle the 'Include media' option. This reveals a new selectize, 'Select media file'. Clicking the 'Select .zip file'-button will open a file explorer and allow you to choose your zip-file.
Finally you can choose the media folder to upload your media to. If you leave it empty, the media will be uploaded to the folder specified in Settings > Setup.
If you click the '+'-icon to select a specific media folder you are presented with the 'Select media'-page.
You can navigate into a folder by clicking the folder or choose the folder you wish to upload to by clicking the 'OK'-icon. In this case we have chosen the folder named 'Import'. Having chosen a folder we click 'Select' to return to the import page.
Mapping data works the exact same way as it does without media.
If you are uncertain on how to do this you can follow read more about this in earlier import-tutorials:
Mapping with General excel import: How to import products Mapping with List property import: How to import data into a list property on entities
When approving data you should be able to see the media files being attached to your entity.
If you are happy with the changes, click 'Commit import' to finalize the import.