Loading
The Trailblazer Community is now read-only Read More
Host an External Image in Salesforce

Host an External Image in Salesforce

Upload an image to the Documents tab in Salesforce Classic and retrieve its public URL to populate the Display URL field on a product record. Use this approach when an external image URL is blocked by a proxy or firewall.

Required Editions

Available in: Lightning Experience
Available in: Enterprise and Unlimited Editions with Life Sciences Cloud, Life Sciences Cloud for Customer Engagement Add-on license, and the Life Sciences Customer Engagement managed package.
User Permissions Needed
To host an external image in Salesforce: Life Sciences Commercial Admin

The Documents tab is available only in Salesforce Classic, so you need to switch before you begin. The Documents tab must be enabled in your org. You need access to a public folder under Documents, or you can create one. The image file must be in a web-compatible format, such as JPEG, PNG, or GIF.

  1. From the profile menu, select Switch to Salesforce Classic.
  2. Click the Documents tab. If it's not visible, click Add icon and select Documents from the All Tabs list.
  3. Click New Document.
  4. Enter a document name.
  5. Select a publicly accessible folder.
  6. Select Externally Available to make the URL public.
  7. Click Browse and select your image file.
  8. Save your changes.
    You're redirected to the document detail page.
  9. On the document detail page, locate the image preview or the document link.
  10. Right-click the image and copy the URL.

    Your public servlet.ImageServer URL looks like this: https://<your-org-domain>/servlet/servlet.ImageServer?id=<DocumentId>&oid=<OrgId>&lastMod=<timestamp>

Add the URL to the Display URL field on the product record. See Set Up Product Images for Store Check.

 
Loading
Salesforce Help | Article