Loading
Omnistudio Document Generation
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Dynamic Images in Server-Side Document Generation

          Dynamic Images in Server-Side Document Generation

          Insert images such as product photos, barcodes, or pie charts in your generated DOCX and PDF documents by using image tokens in a Microsoft Word or Microsoft PowerPoint document template.

          Required Editions

          Available in: Lightning Experience
          Available in: Professional, Enterprise, Unlimited, and Developer Editions
          Warning
          Warning Dynamic images in server-side document generation may not work with Omnistudio Standard.

          Place image tokens anywhere within a document template, such as in paragraphs, tables, and text boxes. Use a token in a header or footer or within a repeating content section to pass an array of images.

          Define the height and width of the images in Omnistudio Data Mapper Transform.

          By default, image tokens are supported within the Token Data and Token Data Content Document fields of the Document Generation Process. You can also use a custom Apex class to load a blob for dynamic image rendering using IDs, URsL, or other strings and identifiers.

          Note
          Note In PPTX, if you want your text and image to render on the same line in a document, you must give the text and the dynamic image token in separate text boxes on the same line.

          Store images in Files, on the Documents tab of a contract, or in the Notes and Attachments section of an object as a contract document, or in rich text fields.

          To set up your dynamic images, follow these instructions:

           
          Loading
          Salesforce Help | Article