Introduction
The S-Docs Custom Settings is a List Custom Settings record that can be used to modify S-Docs's functionality. This article explains how to locate the S-Docs Custom Settings and each field's functionality.
Locate S-Docs Custom Settings
From the Setup menu, type "Custom Settings" into the Quick Find bar, then click Custom Settings in the dropdown menu. Then, locate the SDocsSettings record and click Manage.
If no record exists, click New. Otherwise, click Edit to open and modify the S-Docs Custom Settings record.
S-Docs Custom Settings Fields
The S-Docs Custom Settings appears as follows. Refer to the table below the image for each field's functionality and accepted values.
Passes the name of your Self-Signed Certificate to S-Docs for use with your S-Docs Connected App
Name of the Self-Signed Certificate used with your S-Docs Connected App (used with S-Sign e-signatures)
Normally this certificate is named "SDocsCert"
Passes your S-Docs Connected App Consumer Key to S-Docs
S-Docs Connected App Consumer Key
Passes your Salesforce login URL to S-Docs for use with your S-Docs Connected App
Your Salesforce Login URL
Production: https://login.salesforce.com
Sandbox: https://test.salesforce.com
Passes your Salesforce domain to S-Docs for use with your S-Docs Connected App
Your Salesforce domain
E.g. https://na123.salesforce.com
Passes the name of your S-Sign Internal User to S-Docs for use with S-Sign
Username of your S-Sign Internal User (used with S-Sign e-signatures)
Allows S-Docs to work with Salesforce Shield Platform Encryption
Checked to enable
Adds a custom button to the S-Docs Live Edit page
Syntax:
Button_Name,Button_URL
Example:
Open Clip Art Gallery,/apex/ClipArtGallery
Allows you to create SDoc Relationship lookup fields to custom objects with API names that exceed the Field Label/Name character limit.
Enter an alias object API name into the Field Label/Name fields for your SDRelationship lookup field, then map it to the full custom object API name using a JSON map in this field, as shown in the example.
JSON map of key-value pairs.
Example:
{ "Very_Long_Object_API_Name__c": "Alias_Put_In_SDRelationship_Field_Label__c", "Another_Very_Long_Object_API_Name__c": "Another_Alias_Put_In_SDRelationship_Field_Label__c" }
Sets the number of S-Docs Jobs to process concurrently
Number of Jobs
Causes S-Docs Jobs to fail if template-level errors occur (when the document generates successfully, but errors are present within the generated document)
Checked to enable
Moves all S-Docs Jobs to the top of the queue above all other asynchronous jobs (Batch jobs, future callouts, etc.)
Checked to enable
Modifies the template editor Insert Image button to add your base Salesforce URL to image URL paths. By default, only the relative URL path is used
Your Salesforce domain
E.g. https://na123.salesforce.com
Processes all queueable S-Docs Job Splitters concurrently
Checked to enable
Sets the number of seconds between attempts to create files for S-Doc Jobs
Number of seconds
Causes any emails sent through S-Docs Jobs to be sent through a future method (allowing generated documents to be attached to the email record)
Checked to enable
Prevents SDTemplate Trigger function (sets template encode values, etc.) from running when inserting/updating templates.
By default, this function is always run when templates are created or updated.
Checked to enable
Modifies the number of fields displayed at once in the template editor Insert Field, Insert Related List, and Insert Conditional Logic menus
Next and Prev buttons will appear below the field menus to switch between fields
Number of fields to display
Adds Create Salesforce Task tab to the S-Docs Template Editor, which allows you to configure S-Docs to create a Salesforce task when a document is generated
Checked to enable
Allows documents with template-level errors to generate (e.g. invalid formatting, nonexistent components, etc.)
By default, S-Docs will stop document generation if template-level errors are detected
Checked to enable
Function:
Passes your Salesforce login URL to S-Docs for use with your S-Docs Connected App in Salesforce Government Cloud
Your Salesforce Login URL
Production: https://login.salesforce.com
Sandbox: https://test.salesforce.com
Causes S-Docs to encode spaces in file names of documents uploaded to Amazon S3 with real spaces (legacy method).
By default, spaces are replaced with "+"
Checked to enable
Fixes broken images in Insert Image tool and allows DOC/DOC-NEW templates with Embed Images checked to generate.
This setting is only required for orgs with stabilized URLs for Visualforce, Experience Builder, Site.com Studio, and Content Files enabled.
Checked to enable
Disables queries S-Docs runs on the Contact object by default when the S-Docs Email page is loaded
Checked to enable
Automatically includes the ContentDocument, ContentVersion, and/or Attachment IDs of the generated document in the folder file path for documents uploaded to Amazon S3 folders
Checked to enable