BeyondERP.Newsletter
Menu

Setup step on the Catalog images page · Retail and Commerce

Define the catalog image template

Let Store Commerce find catalog images on the media server without entering a URL per catalog.

See how to set it up Back to Retail and Commerce

Used by
Retail catalog manager, Retail merchandising manager, Retail store manager
Business process
Develop product catalogs
Menu item
RetailCatalogsImage
Main table
RetailImageResource
Setup steps
1 on this page

How this guide was checked

Checked in Dynamics 365
Version 10.0.49: the menu item, form, table and security, the page.
Recommended values
Based on Microsoft's documentation. A sound starting point to adjust to your own business requirements.
Tests
A ready-to-run test, “Catalog image shows in Store Commerce”, to confirm this setup in your own test environment.
Show what matters for
SETUP GUIDEHow to set it up8 sections. Choose a role to highlight what matters to you.
Everyone

1What it is and why

What it isA page where you define the media template that builds the image URL for every catalog, generate the resulting URLs for Excel, and view or overwrite individual catalog image links.
What you do hereUse this page to tell Store Commerce where externally hosted catalog images live by setting the media path and file extension, and to override the URL for specific catalogs.
ExampleFor example, a catalog named Fabrikam Base Catalog resolves to the file Fabrikam Base Catalog.jpg under the Catalogs/en-US folder of the media server.
Catalog images page in Dynamics 365
The page in Dynamics 365. page title tab to open what to set or check
Functional consultant · Solution architect

2Where it fits

Business processDevelop product strategy › Develop product catalogs
Menu pathRetail and Commerce › Catalogs and assortments › Catalog images
Set up firstChannel profiles (Media base URL) Microsoft Learn All catalogs Microsoft Learn
Used next byDistribution schedule (Catalog job 1150) Microsoft Learn
Related pagesProduct images / Category images / Employee images / Customer image (Define media template) Microsoft Learn
End user · Functional consultant

3How to do it

About the examples: Examples and screenshots in this guide use BEAT, a demo company in a Dynamics 365 test environment. Use your own company's codes and values instead of copying them.

Setup steps on this page

Define the catalog image template

Let Store Commerce find catalog images on the media server without entering a URL per catalog.

Steps from Microsoft

  1. Go to Retail and Commerce > Catalogs and assortments > Catalog images.
  2. On the Action Pane, select Define media template; Catalog is selected in the Entity field.
  3. On the Media path FastTab, enter the remaining path of the image location (LanguageID can be used as a variable).
  4. In the File Extension field, select the image file extension, and rename your image files to the catalog names.
  5. Select OK.
  6. Reopen Define media template and use Generate Image URLs for Excel to check the URLs.
  7. Run Catalog Job 1150 from Retail and Commerce IT > Distribution schedule.

Source: Microsoft Learn

Fields on the page

FieldWhat it means
EntityThe entity the media template applies to; Catalog on this page.Microsoft Learn
Media pathThe part of the image URL after the channel's media base URL; supports a LanguageID variable.Microsoft Learn
File ExtensionThe expected file name extension of the catalog images.Microsoft Learn
Generate Image URLs for ExcelPreviews the URLs built from the saved template and must be run before Edit in Excel.Microsoft Learn
File name (hard-coded)Image files must be named after the catalog; the format cannot be changed.Microsoft Learn

Common errors and fixes

MessageWhat to do
Catalog images don't appear in Store Commerce after the template was changedRun the Catalog job (1150) from Retail and Commerce IT > Distribution schedule after every change to the media template, so the channel database gets the new template. Microsoft Learn
Edit in Excel shows old image URLsWhenever you change the media template, select Generate on the Generate Image URLs for Excel FastTab before you use Edit in Excel. Microsoft Learn
Images hosted on SharePoint return Forbidden in POSOnly publicly and anonymously accessible images render on POS; SharePoint-hosted images aren't supported out of the box. Host the images on a media server or CDN. Microsoft Learn

Test checklist

  1. Set the Media base URL on the channel profile the test store uses.
  2. Open Define media template for the Catalog entity, set the Media path and File Extension, and select Generate on the Generate Image URLs for Excel FastTab.
  3. Check that a generated URL ends with the catalog name and the chosen extension, and that the file opens anonymously in a browser.
  4. Run the Catalog job (1150) from Distribution schedule.
  5. Open Store Commerce for that store and check the catalog image is shown.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Define the catalog image templateOne media path per entity, with the {LanguageId} token where images differ by language, and image files named after the catalog name with the selected file extension.The file name is hard-coded to the catalog name and can't be changed, so files must be renamed to match; the path is joined to the Media base URL of the channel profile.Where should catalog images be hosted?Not running the Catalog job (1150) after a template change, so POS keeps the old path.Test: Catalog image shows in Store Commerce

Feature management and licence

Licence or add-inIn this system 3 roles can open this page, among them Retail catalog manager, Retail merchandising manager and Retail store manager.

Checked in Dynamics 365

Solution architect

5Design impact

Shared or per companyOne media template for the Catalog entity: the template sets the path for every catalog image unless a single image is overwritten. The first part of the URL comes from the Media base URL of each channel profile. Microsoft Learn
Can it be undoneReversible: The template can be changed at any time; run the Catalog job (1150) again so channels get it.
If you change it laterA changed template is only used by stores after the Catalog job (1150) syncs it to the channel; the gallery on this page does not preview template-derived URLs, only overwritten ones. Microsoft Learn
Technical architect

6Technical

Menu itemRetailCatalogsImage Checked in Dynamics 365
FormRetailMediaGallery Checked in Dynamics 365
TableRetailImageResourceShown as “RETAILIMAGERESOURCE” in Record infoChecked in Dynamics 365
Who can open it

3 security roles. Select a role to see its duties and privileges.

  • RoleRetail catalog managerRetailCatalogManager
    • DutyMaintain media management security.RetailMediaMaintain
      • PrivilegeMaintain media management security.RetailMediaMaintain
  • RoleRetail merchandising managerRetailMerchandisingManager
    • DutyMaintain media management security.RetailMediaMaintain
      • PrivilegeMaintain media management security.RetailMediaMaintain
  • RoleRetail store managerRetailStoreManager
    • DutyMaintain media management security.RetailMediaMaintain
      • PrivilegeMaintain media management security.RetailMediaMaintain
Checked in Dynamics 365
Roles to set it up and use itTo set it up or change itRetail store manager RetailStoreManagerRetail merchandising manager RetailMerchandisingManagerRetail catalog manager RetailCatalogManagerGive people one of these roles. On this system, 3 roles can open this page.Checked in Dynamics 365
Actions on the page(Action Pane without tabs): Define media template, View referencesChecked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=RetailCatalogsImage
Data migrationLoad order: The catalog media template has no data entity in Data management, so it can't be loaded from a file or a configuration template. Define the template again in each environment with Define media template, then run the Catalog job (1150). Overwritten image URLs can be moved with Edit in Excel and Publish in Excel.Checked in Dynamics 365
Table definitionRetailImageResource columns and relations Microsoft data model
Everyone

8Sources

To cite this step: RC-CAT-020, Define the catalog image template. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/RC-CAT-020