Struct Docs
Struct.PIM 4
Struct.PIM 4
  • Struct PIM Documentation
  • API Reference
  • Latest updates from Struct HQ
  • Latest updates in Documentation
  • Fundamental concepts
    • Get familiar with Struct PIM
    • Catalogues & categories
    • Products & variants
    • Attributes
    • Product structures
    • Identifiers
    • Global lists
    • Localization & segmentation
    • Revisions & changelog
    • Publications
    • Supplier onboarding portal
  • Tutorials
    • Welcome to Struct PIM 4
    • Helpful guides
      • How to search efficiently
      • How to use Import
        • How to import products
        • How to import data into a list property on entities
        • How to import categories
        • How to import with media
        • How to use File templates
    • Example projects
      • Working with the API
  • Integration
    • Web API
    • Webhooks
  • Media format
  • API Reference
    • Introduction
    • Endpoints
      • AssetFolders
      • Assets
      • AssetTypes
      • AttributeGroups
      • Attributes
      • AttributeScopes
      • Browse
      • BusinessUnits
      • Catalogues
      • Categories
      • Dimensions
      • Exports
      • EnrichmentInsightSetups
      • GlobalLists
      • Languages
      • Maintenance
      • Miscellaneous
      • Messaging
      • Permissions
      • Products
      • ProductStructures
      • Publications
      • Transactions
      • UserGroup
      • UserRoles
      • Users
      • VariantGroups
      • UserTasks
      • Variants
      • Webhooks
      • Workflows
      • Models
Powered by GitBook
On this page
  • Before importing
  • Starting the import
  • Mapping your data
  • Approve changes
  1. Tutorials
  2. Helpful guides
  3. How to use Import

How to import with media

Learn how to include media when importing

PreviousHow to import categoriesNextHow to use File templates

Last updated 7 days ago

Before importing

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.

Starting the import

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 your data

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.

Approve changes

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:

How to import products
How to import data into a list property on entities
Excel spreadsheet with headers and data
Import page
Data mapping