{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"PDF Storage","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"pdf-storage","__idx":0},"children":["PDF Storage"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Optionally store completed task PDFs (signed documents) directly in Salesforce."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"pdf-storage-setup","__idx":1},"children":["PDF Storage Setup"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Configure PDF storage in the Onboarded™ Setup interface:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Navigate to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Onboarded™ Setup"]}," tab"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Go to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["PDF Configuration"]}," section"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Enable ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Store PDFs in Salesforce"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Choose your storage location preference"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Save configuration"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"storage-options","__idx":2},"children":["Storage Options"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"salesforce-files","__idx":3},"children":["Salesforce Files"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["PDFs are stored as ContentDocument records in Salesforce Files."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Pros:"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Centralized document management"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Can be organized in folders"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Sharing and permissions via Salesforce"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Setup:"]}," Create a folder in Files and specify it in the configuration."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"employee-record","__idx":4},"children":["Employee Record"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["PDFs are attached directly to the related Employee record."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Pros:"]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Documents automatically associated with employees"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Easy to find documents on employee record"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["No folder management required"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Beyond programmatic file retrieval through the API, completed task PDFs can also be viewed on demand from the Employee Onboarded and Workflow Onboarded components: when PDF Storage is enabled, completed task rows display a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["View Document"]}," button that opens the stored PDF in a new browser tab. See the Components page's Task Row Actions section for details."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"on-demand-file-download","__idx":5},"children":["On-Demand File Download"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["When PDF storage is ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["disabled"]},", completed task documents remain stored in Onboarded™ and are not automatically synced to Salesforce. For organizations that prefer this approach (to conserve Salesforce storage or for compliance reasons), the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Task File Download"]}," component provides on-demand access to these documents."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"download-mechanics","__idx":6},"children":["Download Mechanics"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The component appears on completed Task records when PDF storage is disabled"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Users can view a list of available files for the task"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Clicking \"Download\" generates a temporary signed URL (valid for 5 minutes)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Files are downloaded directly from Onboarded™ without being stored in Salesforce"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"task-record-page-setup","__idx":7},"children":["Task Record Page Setup"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Navigate to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Setup"]}," → ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Object Manager"]}," → ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Your Task Object]"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Lightning Record Pages"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Edit or create a Lightning Record Page"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Drag the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Task File Download"]}," component onto the page layout"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Save and activate the page"]}]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Visibility Conditions:"]}," The component automatically hides itself when:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["PDF storage is ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["enabled"]}," (files already sync to Salesforce)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The task is not yet ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["completed"]}," (no files to download)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["The record is not the configured ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Task object"]}]}]}]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Requirement:"]}," The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["completed_at"]}," field must be mapped in your Task object field mappings for the component to detect completed tasks."]}]}]},"headings":[{"value":"PDF Storage","id":"pdf-storage","depth":1},{"value":"PDF Storage Setup","id":"pdf-storage-setup","depth":2},{"value":"Storage Options","id":"storage-options","depth":2},{"value":"Salesforce Files","id":"salesforce-files","depth":3},{"value":"Employee Record","id":"employee-record","depth":3},{"value":"On-Demand File Download","id":"on-demand-file-download","depth":2},{"value":"Download Mechanics","id":"download-mechanics","depth":3},{"value":"Task Record Page Setup","id":"task-record-page-setup","depth":3}],"frontmatter":{"seo":{"title":"PDF Storage"}},"lastModified":"2026-05-29T01:46:02.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/onboarded_for_salesforce/pdf_storage","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}