Loading
Visual Studio Code Based Modeler for Consumer Goods Cloud
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
          Signature Print in PDF

          Signature Print in PDF

          To render signatures in your PDF reports, declare signature attributes in the PrintLayout contract.

          Required Editions

          Available in Lightning Experience in Enterprise and Unlimited Editions that have Consumer Goods Cloud enabled.

          Considerations for declaring signatures in a print layout:

          • A maximum of 4 signatures can be added to a single document.
          • If there are more than 4 signatures, then only the first 4 signatures passed to the contract are rendered. The remaining signatures are shown as a broken image icon.

          The supported attributes are:

          Attribute Description Data Type Required
          name Unique name of the signature. String Yes
          type Specify Signature. String Yes

          If the print engine cannot resolve an image at runtime, a broken image icon is shown. Also, images aren’t supported as attachments.

          Example
          Example To declare a signature:
          <Declarations>
            <DataDeclaration name="mySignature" type="Signature"></DataDeclaration>
          </Declarations>

          To render a signature in a PDF of print layout, declare the signature as shown here:

          <img src="{{Declarations::mySignature}}" />
           
          Loading
          Salesforce Help | Article