Skip to main content
Question

merging fields with multiple children

  • January 22, 2025
  • 3 replies
  • 58 views

Forum|alt.badge.img+2

Hello, DocuSign eSignature for Salesforce admins, 

I am working on building a DocuSign envelope template inside Salesforce using DocuSign App Launcher(DAL), in this template, I have a requirement to pre-populate data into the document from three sources, the source object itself, its parent record, and its child record. I could add merging fields for the source record, and its parent record, but my question here is for children, if the source record has multiple children, how does DocuSign know which child record to retrieve the data from it? Is it the most recent child record or the first created one or what? On their documentation page, nothing mentioned about this point 

https://support.docusign.com/s/document-item?language=en_US&bundleId=srl1586134368658&topicId=zce1616797759905.html&_LANG=enus

3 replies

Forum|alt.badge.img+15
  • Community Moderator
  • 2554 replies
  • January 23, 2025

Hello ​@aalamour1981 ,

Welcome to the Docusign Community and thank you for posting your concerns!

I believe that the usage of related list can assist in identifying the needed child record and the needed field in that record: Add a Filter for Related List Recipients in an Envelope Template

Let us know if you need further assistance with this.


Best regards,

Nathaly | Docusign Community Moderator
"Select as Best" below if you find the answer a valid solution to your issue!


Jesse.Morgan
Docusign Employee
Forum|alt.badge.img+5
  • Docusign Employee
  • 19 replies
  • January 23, 2025

Hi ​@aalamour1981 - If your source object has a related list that has multiple records that you need to pull in information from via eSignature for Salesforce merge fields, then here’s what to do:
1. Create your template and merge fields.
2. On the “Place Fields” step, drag and drop the fields onto the document you’ve uploaded in your envelope template.

3. For the fields that are mapped to a field on the child/related list object, click on each field and you should then see a property panel open on the right hand side of the page. Look for the “Salesforce” dropdown, click on it, and you should see a text field called “Row” that allows you to specify which sfdc database row to pull in information for. So if you know you’ll have up to 2 rows of related list info to add to the document, you’ll need a field or set of fields where you’ve denoted “1” for the Row, and others with “2” for the Row. Etc.


Forum|alt.badge.img+15
  • Community Moderator
  • 2554 replies
  • February 7, 2025

Hello ​@aalamour1981 ,

If you found our response to be a useful solution to your question, please mark it as the best answer by clicking “Select as Best” to make it easier for other users to find.


Best regards,

Nathaly | Docusign Community Moderator
"Select as Best" below if you find the answer a valid solution to your issue!