How To: Upload PDF To S-Docs (Classic Editor)
PDF-Upload is a template format where users can take an existing PDF Document (S-Docs generated or not) and upload it through the template editor to generate future S-Docs.
How does PDF-Upload Work?
S-Docs captures a static background image of the uploaded PDF Document which is then used when the file is generated. This means that the PDF Document cannot be changed or scaled. Data cannot be integrated into the original PDF, as it is a background image, instead we utilize merge fields that drag and drop with overlaying text.
Considerations:
Once a template exists as a different file format, it cannot be changed to PDF-Upload Format Likewise, PDF-Upload templates cannot be changed to a different file format
Only Portrait Orientation is supported
Component Templates cannot be brought into a PDF-Upload Template to populate with data
Related Lists are not supported, only Named Queries
Conditional Logic must be manually implemented, there is no supported WYSIWYG capability
Traditional Page Header, Footer, and Page Settings are not available
PDF-Upload and the Template Editor
In the template editor the user is prompted immediately with 2 options: Upload PDF and PDF File Quality. Once the upload is successful, the user can navigate through standard tabs such as Document Options, Email Settings, Runtime Prompts, and Advanced Options.
The PDF-Upload unique options within the template editor are separated into two sections, PDF-Upload Fields, where you will be able to customize the drag-and-drop merge fields, and PDF-Upload Settings, where you can add any standardizations for your merge fields along with named queries.
PDF-Upload Fields
Merge Field: Where to Select Merge Field to be layered onto Static Image. S-Sign Field compatible
Additional Style: Overridable CSS Styling Area, only supports up to CSS 2.1
Render If: Conditional Render Area to show merge fields if a specified condition is met
PDF-Upload Settings
Default Merge Field Style: Default CSS Styling for all merge fields, supports up to CSS 2.1
Named Queries: Allows Named Queries (LineItemsSOQL queries that utilize tags) to be used
Conditional Logic in PDF - Upload
As earlier stated, PDF-Upload Fields can be rendered onto a PDF-Upload Document if specific criteria are met. Instead of adding a render block, you simply need to specify the relationship to be evaluated.
Examples:
Using PDF-Upload Templates as Components for PDF Templates
PDF-Upload Templates can not utilize components when trying to generate a S-Doc. It is possible to use PDF-Upload Templates as the component for your standard PDF Template.
To use a PDF-Upload Template as a component:
Close HTML tags before the component
HTML tags cannot open before the component merge field and close after it; you must close all tags before the PDF-Upload component is inserted. Upon document generation, the content before the component, the component itself, and the content after the component are wrapped in separate tags.
Example:
Name of the PDF-Upload Template being “PDF Upload Component”
Last updated
Was this helpful?

