Skip to content

Document Management

Document management architecture involves choosing where files live, how they are generated, how knowledge is published, and how signatures are captured. The CTA must balance native platform simplicity against the richer capabilities of external document management systems.

Document Management Landscape

flowchart TD
    A[Document Management<br/>Decisions] --> B[File Storage]
    A --> C[Knowledge Base]
    A --> D[Document Generation]
    A --> E[E-Signature]

    B --> B1[Salesforce Files]
    B --> B2[External DMS<br/>SharePoint, Box, Google Drive]
    B --> B3[Files Connect<br/>Hybrid]

    C --> C1[Salesforce Knowledge]
    C --> C2[Experience Cloud CMS]
    C --> C3[External CMS]

    D --> D1[Native Document Generation]
    D --> D2[Conga / Nintex]
    D --> D3[Custom Apex + PDF]

    E --> E1[Salesforce E-Signature]
    E --> E2[DocuSign]
    E --> E3[Adobe Sign]

Salesforce Files vs External DMS

Salesforce Files (ContentDocument / ContentVersion)

Salesforce Files is the native file storage system. Every file is stored as a ContentDocument with one or more ContentVersion records and linked to records via ContentDocumentLink.

FeatureDetail
Storage modelContentDocument / ContentVersion / ContentDocumentLink
VersioningAutomatic version history
SharingFollows Salesforce sharing model
PreviewIn-app preview for common file types
SearchFull-text search on file content
MobileAvailable through Salesforce Mobile App
LibrariesOrganize files into shared libraries
Asset filesServe files publicly via URLs

Storage Limits

EditionBase File StoragePer-User File Storage
Enterprise10 GB612 MB/user
Unlimited10 GB2 GB/user
Performance10 GB2 GB/user

Storage math

A 500-user Enterprise org gets 10 GB + (500 x 612 MB) = ~308 GB of file storage. This sounds generous until you consider that a single scanned contract is 2-5 MB, and an organization processing 100 contracts/day generates 73-182 GB per year. Always model file volume growth.

External DMS Comparison

FactorSalesforce FilesSharePointBoxGoogle Drive
Native integrationMedium (API + Lightning)Strong (managed package)Medium (API)
Version controlBasicAdvancedAdvancedAdvanced
CollaborationLimited (Chatter)Full (Office 365)FullFull (Google Workspace)
External sharingLimitedAdvancedAdvancedAdvanced
Advanced permissionsSalesforce sharing modelSharePoint permissionsBox permissionsGoogle permissions
Compliance (DLP, retention)ShieldMicrosoft PurviewBox ShieldGoogle Vault
OCR / AILimitedMicrosoft AIBox AIGoogle AI
CostIncluded (within limits)Microsoft 365 licenseBox licenseGoogle Workspace license
Offline accessLimitedOneDrive syncBox DriveGoogle Drive

When to Use External DMS

SignalWhy External DMS Wins
Heavy document collaborationMultiple users editing documents simultaneously
Advanced version controlBranch merging, check-in/check-out workflows
Large file volumesTerabytes of documents exceed Salesforce storage economics
Document lifecycle managementRetention policies, legal holds, disposition schedules
Non-Salesforce usersSignificant user base that never touches Salesforce
Advanced complianceeDiscovery, DLP, information barriers, sensitivity labels
Document-centric workflowsThe document is the primary work object, not a Salesforce record

When to Keep Files in Salesforce

SignalWhy Salesforce Files Wins
Record-centric attachmentFiles are attachments to CRM records (proposals, contracts on Opportunities)
Simple requirementsUpload, view, download — no collaborative editing
Mobile accessField users need files through Salesforce Mobile App
Security simplicityFile access should follow CRM sharing model exactly
Low volumeFile volumes well within Salesforce storage limits
No external DMS existsCustomer does not have SharePoint, Box, or Google Workspace

Files Connect

Files Connect provides access to external files (SharePoint, Google Drive, Box, OneDrive) directly from within Salesforce without migrating files.

How Files Connect Works

flowchart LR
    A[Salesforce User] --> B[Files Tab / Related List]
    B --> C[Files Connect]
    C --> D[SharePoint]
    C --> E[Google Drive]
    C --> F[Box]
    C --> G[OneDrive]

    style C fill:#457b9d,color:#fff
AspectDetail
File storageFiles remain in external system (not copied to Salesforce)
AccessBrowse and search external files from within Salesforce
LinkingAttach external file references to Salesforce records
AuthenticationOAuth-based, per-user or admin-configured
SearchExternal file content searchable through Salesforce global search
EditingOpen in native app (Word, Google Docs) — not edited in Salesforce

Files Connect as the bridge

Files Connect is the ideal solution when a customer has an established external DMS and wants to surface those documents in Salesforce without migration. It avoids duplicate storage costs and preserves the DMS’s collaboration features while giving Salesforce users visibility.

Files Connect Limitations

  • Files are not stored in Salesforce — if the external system is unavailable, files are inaccessible
  • Performance depends on external system responsiveness
  • Search indexing of external files may lag
  • Not all metadata from the external system is preserved in Salesforce views
  • Requires appropriate external system licenses in addition to Salesforce

Knowledge Management

Salesforce Knowledge

Salesforce Knowledge is a built-in knowledge base for creating, managing, and publishing articles.

FeatureDetail
Article typesMultiple record types for different content categories
LifecycleDraft, Published, Archived with approval workflows
ChannelsInternal (agents), Customer (portal), Partner (portal)
VersioningArticle versions with translation support
SearchFederated search in console and portals
Case deflectionSuggested articles during case creation
Data categoriesHierarchical categorization and visibility control
FeedbackArticle ratings, view counts, case association
Lightning KnowledgeSingle article record type with multiple page layouts

Knowledge Article Lifecycle

flowchart LR
    A["Draft"] -->|"Submit"| B["In Review"]
    B -->|"Approve"| C["Published"]
    B -->|"Reject"| A
    C -->|"Edit"| D["Draft<br/>(New Version)"]
    D -->|"Submit"| B
    C -->|"Retire"| E["Archived"]
    E -->|"Restore"| A

    style A fill:#e9c46a,color:#000
    style B fill:#457b9d,color:#fff
    style C fill:#2d6a4f,color:#fff
    style E fill:#6c757d,color:#fff

Articles can be published to multiple channels simultaneously: Internal (agent-facing in Service Console), Customer (self-service portal via Experience Cloud), and Partner (partner portal). Data categories control which articles are visible in each channel.

When Salesforce Knowledge Excels

  • Service agents need articles while working cases
  • Customer self-service portal with case deflection
  • Knowledge articles closely tied to products or services in Salesforce
  • Article visibility needs to follow Salesforce data category and sharing rules

Experience Cloud CMS

Experience Cloud includes a headless CMS for creating and managing content in digital experiences.

FeatureDetail
Content typesCustom content types with custom fields
WorkspacesOrganize content by team or topic
ChannelsPublish to multiple Experience Cloud sites
APIHeadless delivery via CMS API
MediaImage and document management
PersonalizationAudience-based content targeting

Knowledge Solution Decision

RequirementSalesforce KnowledgeExperience Cloud CMSExternal CMS
Agent-facing knowledgeBest fitNot designed for thisPossible via integration
Customer self-serviceGoodGoodGood
Marketing contentLimitedGoodBest fit
Multi-channel publishingLimitedGoodBest fit
Content workflowBasic approvalsBasic approvalsAdvanced workflows
Headless API deliveryLimitedYes (CMS API)Yes
Non-Salesforce sitesNot idealPossible via APIDesigned for this

Document Generation

Native Options

MethodUse CaseComplexity
Email templatesMerge fields in emailsLow
Quote PDFGenerate quote documentsLow
Flow-generated documentsAutomated document creation in flowsMedium

Third-Party Document Generation

ProductStrengthsConsiderations
Conga ComposerTemplate-based, Word/Excel/PDF/PPT output, complex logicAppExchange managed package, licensing cost
Nintex Drawloop (now Nintex for Salesforce)Template-based generation, workflow integrationMerged with Nintex platform
Formstack DocumentsCloud-based, WebMerge heritage, API-drivenExternal processing
S-DocsNative Salesforce, no external processingLightning-native

Document Generation Decision Factors

FactorNativeThird-Party
Template complexitySimple merge fieldsComplex logic, conditionals, tables
Output formatsPDF (limited)Word, Excel, PDF, PowerPoint, HTML
Batch generationNot supported nativelySupported (Conga, Nintex)
Dynamic contentLimitedConditional sections, loops, calculations
Template managementSetup menusTemplate builders with preview
E-signature integrationManual processDirect integration (Conga + DocuSign)

CTA exam context

Document generation questions in CTA scenarios typically involve complex proposals, contracts, or compliance documents. If the scenario mentions “generate a 20-page proposal with dynamic sections based on selected products,” that is a signal for a third-party solution like Conga. Standard Salesforce document generation cannot handle that complexity.

E-Signature

Salesforce E-Signature (formerly DocuSign for Salesforce native)

Salesforce now offers native e-signature capabilities.

FeatureDetail
IntegrationNative within Salesforce
WorkflowSend for signature from records
TrackingStatus tracking on Salesforce records
TemplatesReusable signature templates
MobileSign on mobile devices

DocuSign vs Adobe Sign

FactorDocuSignAdobe Sign
Salesforce integrationManaged package (deep)Managed package (deep)
Market shareLargestSecond largest
Feature depthExtensiveExtensive
Adobe ecosystemNoYes (Acrobat, Creative Cloud)
Pricing modelPer-envelope or per-userPer-transaction or per-user
Bulk sendYesYes
Conditional routingYesYes
ComplianceSOC 2, HIPAA, FedRAMPSOC 2, HIPAA, FedRAMP
In-person signingYesYes

E-Signature Decision Factors

FactorNative SalesforceDocuSign / Adobe Sign
VolumeLow-mediumHigh volume, enterprise
ComplexitySimple signing workflowsComplex routing, conditional fields
Existing investmentNo existing e-sig toolAlready using DocuSign or Adobe
ComplianceBasicAdvanced (21 CFR Part 11, eIDAS)
Integration depthNativeDeep Salesforce integration + other systems
CostIncluded or add-onSeparate license

File Storage Optimization

Strategies to Reduce Salesforce File Storage

StrategyHow It WorksSavings
External DMS + Files ConnectKeep files external, reference in SalesforceMajor
Archival policyMove old files to external storageModerate
CompressionCompress files before uploadMinor
Duplicate detectionPrevent duplicate file uploadsMinor-Moderate
Version cleanupLimit retained versionsMinor
Content delivery networkUse Asset Files for public contentIndirect (offloads serving)

File Architecture Decision

flowchart TD
    A[File Storage Decision] --> B{Expected file<br/>volume over 3 years?}

    B -->|Under storage limits| C{Need collaboration<br/>on documents?}
    B -->|Exceeds limits| D{Has existing<br/>DMS?}

    C -->|No, just attach and view| E[Salesforce Files]
    C -->|Yes, collaborative editing| F{Which tools do<br/>users have?}

    F -->|Microsoft 365| G[SharePoint +<br/>Files Connect]
    F -->|Google Workspace| H[Google Drive +<br/>Files Connect]
    F -->|Neither| I[Box +<br/>Files Connect]

    D -->|Yes| J[Keep in DMS +<br/>Files Connect]
    D -->|No| K[Evaluate external DMS<br/>+ Files Connect<br/>vs buying more storage]

    style E fill:#2d6a4f,color:#fff
    style G fill:#457b9d,color:#fff
    style H fill:#457b9d,color:#fff
    style J fill:#457b9d,color:#fff

Sources