-
How to display an image stored in Document in a Salesforce Visualforce page?
Hii All,
I'm trying to display an image that is stored as a Document. Starting with the most basic example, I am using the following:
<apex:page standardcontroller="Document">
<apex:outputField value="{!Document.name}"/>
<apex:image id="theImage" value="!Document.Logo.jpg" width="100" height="100"/></apex:page>
Log In to reply.
Popular Salesforce Blogs
Why Operational Efficiency Depends on Business-Specific CRM Workflows
Organizations invest heavily in Customer Relationship Management (CRM) platforms to centralize customer data, improve collaboration, and support business growth. Yet many companies fail to achieve…
Create a List View in Salesforce Lightning Experience
ListView allows you to see a filtered list of records, such as contacts, accounts, or custom objects. In list views, you can only see the…
Salesforce Consulting Services: How does the Salesforce IoT Cloud System Build Customer Experience?
There has been a buzz around IoT technology, and some are branding it as revolutionary. Due to it, the popularity of IoT devices has soured…
Popular Salesforce Videos
Clean Code in Salesforce | Code Review
We spend more time reading our code than writing it. So doesn't it make sense that our code is clean, precise, and easy to read?…
What is Salesforce APEX? How to use APEX? Salesforce Interview Questions and Answers
Apex is a strongly typed, object-oriented programming language that allows developers to execute flow and transaction control statements on Salesforce servers in conjunction with calls…
Practice Questions and Test for Salesforce Administrator ADM 201 Certification Exam | 2021
In this video, Shrey provides a practice test for the candidates who are preparing for the Salesforce Administrator exam. This test boosts your confidence and…