Connect S-Docs to your customer records
Configure S-Docs relationships for Salesforce standard and Custom Objects.
Once you have successfully installed S-Docs, the next step is configuring the application to recognize the specific Salesforce objects you plan to use for document generation.
To ensure S-Docs works seamlessly with your desired objects—whether they are standard Salesforce objects or custom ones—you must ensure the proper relational architecture is in place.
Create a Lookup Field on the SDoc Relationship Object
To associate generated documents with your records, create a lookup field on SDoc Relationship. This field links the target object to S-Docs.
S-Docs includes lookup fields for standard objects, including Account and Opportunity. Check for an existing lookup field before you create one.
If the lookup field does not exist, create it. Custom Objects always require a new field. Some standard objects also require one.
Navigate to Setup > Object Manager.
Search for SDoc Relationship.
Select SDoc Relationship.

The SDoc Relationship object selected in Salesforce Object Manager Select Fields & Relationships.
Select New.

The New button on the SDoc Relationship Fields and Relationships page Select Lookup Relationship.
Select Next.
Select the target object from the Related To list.
Select Next.
Enter a value in Field Label.
Enter a value in Field Name.
Enter the exact object name without
__c. For example, enterCustomObjforCustomObj__c.Select Next.
Select the checkbox for each relevant user.
Select Next.

The field-level security visibility checkbox in Salesforce Leave the default layout settings unchanged.
Select Save.
Add a Custom Object to the S-Doc Template Picklist
Complete this procedure when you configure S-Docs for a Custom Object. This lets you create S-Docs templates related to that object.
Navigate to Setup > Object Manager.
Search for S-Doc Template.
Select S-Doc Template.
Select Fields & Relationships.
Search for Related to Type.
Select Related to Type.
Scroll to Values.
Select New.
Enter the Custom Object API name as a picklist value.
Select Save.
Last updated
Was this helpful?

