Loading

RCA - Displaying Product Images in Catalog Screen (Product2 DisplayURL)

Fecha de publicación: Apr 29, 2026
Descripción

In some cases, product images may not appear in the catalog (e.g., via the Browse Catalogue feature), even when configured using standard fields. This issue is often related to how the image URL is referenced or hosted.

For example, a product like “CAR” may not display its image due to an incorrect or inaccessible DisplayURL configuration.

 

What is a Static Resource?
A Static Resource in Salesforce allows you to upload content (files) that can be referenced in your Visualforce pages, Lightning components, or Aura components. Think of it as a file storage mechanism within Salesforce for web assets.
Solución

Follow these steps to ensure product images display correctly:

  1. Navigate to Setup → Static Resources in Salesforce.
  2. Upload the product image as a static resource.
  3. Set Cache Control to Public for the resource.
  4. Update the Product2 DisplayURL field using the following format:

     
    /resource/YourStaticResourceName
     

    Example:

     
    /resource/CarImage
     
  5. Alternatively:
    • Open the uploaded static resource file
    • Copy the generated file URL
    • Paste it directly into the DisplayURL field of the product
Número del artículo de conocimiento

005318948

 
Cargando
Salesforce Help | Article