Importing Media References Using URLs

You can use reference URLs to import media files.

Prerequisites

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

Context

To successfully map this media, the $importFolder variable uses the URL value from cloud.hotfolder.default.images.root.url property.

You can also reference subfolders from that root URL folder to import their respective media files. If you need to use a different source locations for your media, use the cloud.hotfolder.default.images.root.url and cloud.hotfolder.default.images.media.folder.qualifier properties.

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.images.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.