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 "import_with_media.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 'Upload assets' option. This reveals a new selectize, 'Select zip file'. Clicking the 'Select zip file'-selectize will open a file explorer and allow you to choose your zip-file.
Having chosen the files you want to import, click 'Start upload' to continue.
Mapping data works the 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:
One difference however is that this is where you will choose the folder to upload your media to. This is done by selecting the folder in the list under 'Select upload folder'.
Note Be aware that 'Select upload folder' will not be visible until an asset reference attribute has been chosen to be mapped to.
When approving data you should be able to see the media files being attached to your entity.
[IMAGE TO COME]
If you are happy with the changes, click 'Commit import' to finalize the import.
Mapping with General excel import: Mapping with List property import: