Importing Media References Using URLs

To import reference URLs for media files, use the steps in this section.

Prerequisites

You’re using a Microsoft Azure Blob store with remote media import.

Procedure

  1. Set the media properties in your manifest file.
    Property Default Value Explanation
    cloud.hotfolder.default.images.root.url https://$%7Bazure.hotfolder.storage.account.name%7D.blob.core.windows.net/$%7Bazure.hotfolder.storage.container.name%7D/$%7BtenantId%7D/images Specify the root URL for the remote media when the hot folder is importing media.
    cloud.hotfolder.default.image.media.folder.qualifier cloudimages The name of the media folder to use when importing the URLs. The folder is created if it doesn’t exist.
  2. In your working directory, create a url_media.csv file.
  3. Add a row for each media file that you plan to import.

    The row layout is identical to the standard batchMediaConverter row layout, where an image is associated with a product.

  4. Upload the url_media.csv file to the Cloud Hot Folder.

Results

The URLs are associated with the products and the media is served from the location defined in cloud.hotfolder.default.images.root.url.