To store an image in Salesforce to hold the URL of the image:
- Create a text field in Salesforce to hold the URL of the image.
- Store an image attachment on the Documents tab or as an attachment to a record
- Click the View link that accompanies the attachment.
- Copy the complete URL of the image record to the clipboard.
-
Paste the URL into a record that has the new field created in Step 1 and save
the record.
In the event that the field storing the URL does not contain a URL of an image and is therefore an empty field, the user may see an error in the merged output file. To overcome this, the URL field must contain a value.
If the field will sometimes be empty, one way to overcome the error seen in the output file will be to add an IF statement to a Salesforce formula field to make sure that if that URL field is empty, populate it with a generic URL of another image (for example, an empty image).
Example merge field syntax:
{{IMAGE:Account_Image_URL:100:75}}
Note: The 100 and 75 in the merge field example above refer to the designated height and width of the image.For more information on merge field syntax for images in PowerPoint templates, see Image Merge Fields in PowerPoint.