BeyondERP.Newsletter
Menu

Setup step on the Employee images page · Retail and Commerce

Define the employee image template

Set the media path and file extension that Store Commerce uses to fetch worker photos.

See how to set it up Back to Retail and Commerce

Used by
Retail catalog manager, Retail merchandising manager, Retail store manager
Business process
Manage sales channels
Menu item
RetailWorkerImage
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, “Employee photo 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 setup page where you define the media template (URL path and file extension) that Store Commerce uses to fetch externally hosted images of workers.
What you do hereUse this page to open Define media template for the Worker entity so that employee photos stored on your media server or CDN appear in Store Commerce.
ExampleFor example, a retailer stores employee photos on an external media server and defines the employee image template so Store Commerce can retrieve them.
Employee 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

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 employee image template

Set the media path and file extension that Store Commerce uses to fetch worker photos.

Steps from Microsoft

  1. Go to Retail and Commerce > Employees > Employee images.
  2. On the Action Pane, select Define media template.
  3. On the Media path FastTab, enter the remaining path of the image location under the media base URL.
  4. In the File Extension field, select the expected file name extension.
  5. Select OK.
  6. 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; Worker for this page.Microsoft Learn
Media pathThe folder path appended to the channel profile's media base URL to locate the images.Microsoft Learn
File ExtensionThe file name extension (for example .jpg) the images use.Microsoft Learn
Generate Image URLs for ExcelPreviews the image URLs derived from the template and prepares them for Edit in Excel overrides.Microsoft Learn

Common errors and fixes

MessageWhat to do
Store Commerce shows no employee photosStore Commerce fetches images from the media base URL in the channel profile plus the media path of this template. Check both, check that the image files exist under that path, and run the 1150 (Catalog) job after any change to the template. Microsoft Learn

Test checklist

  1. Set Media base URL on the store's channel profile.
  2. On Employee images, open Define media template, enter the media path and file extension, and use Generate Image URLs for Excel to check the URLs.
  3. Run the Catalog job (1150) from Distribution schedule.
  4. Sign in to Store Commerce and check that the worker's photo appears.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Define the employee image templateOne media path for employee images under the media base URL of the channel profile, with the file extension your photos use, then run the 1150 (Catalog) job.Images are hosted outside Commerce; the full URL is the media base URL from the channel profile plus the media path of this template.Where should employee photos be hosted?Changing the template without running the 1150 (Catalog) job, so Store Commerce keeps using the old path.Test: Employee photo 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 companyShared: the image table has no company column, so one employee media template serves every legal entity. Microsoft data model
Can it be undoneReversible: The template can be changed at any time; stores get it after the 1150 (Catalog) job runs.
If you change it laterAny change to the employee media template only reaches the stores after the Catalog job (1150) is run; the LanguageID token is not supported for the Worker entity. Microsoft Learn
Technical architect

6Technical

Menu itemRetailWorkerImage 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=RetailWorkerImage
Table definitionRetailImageResource columns and relations Microsoft data model
Everyone

8Sources

To cite this step: RC-EMP-050, Define the employee image template. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/RC-EMP-050