Docs Made Easy by HIC Global SolutionsHelp Center
Help topicsParametersWhat’s newArticlesVideosContact usSign in
Sign in
  • Help topics→
  • Parameters→
  • What’s new→
  • Articles→
  • Videos↗
Sign inContact us
Esc

Showing results for .

✨ Answer

    AI-drafted from this article
    Questions
        ✨ Related by meaning
          Loading search…
          We couldn’t find that. Ask our team →
          Building templatesShow or hide content with IF conditionsAdd a template: upload, pre-built, from scratch or existingAdd fields from related records (child and lookup objects)Add your company logo and images to a templateChoose a data source: relationships, SOQL, pv0, QVars, Apex or reportsChoose templates dynamically with a QVar queryCreate a Document Solution CollectionCreate a static resource for document generationFilter a query to the current record (pv0)Generate documents in other languages and localesHandle special characters in IF conditionsHeaders, footers and page setup in templatesMerge data returned by an Apex classMerge several templates into one documentMerge syntax: {{…}} vs {!…} explainedParameters explained: template tags vs solution and button parameters
          Common questionsCan Docs Made Easy add QR codes to generated documents?Can I filter child relationship records in a template?Copy merge fields with the Merge Field HelperFormat numbers: decimal places and thousands separatorsHow do I add a hyperlink to a DOCX or PDF document?How do I add one year to today's date in a template?How do I add Rich Text Area fields to a template?How do I add Salesforce report data to a document?
          All of Building templates →
          Help Center/Building templates

          Can I filter child relationship records in a template?

          FAQ·Basic & Pro·Updated June 2025
          In short
          Limit the child records that appear in a generated document by using a document query with pv0 filters.

          Yes. Create a document query and add a pv0 filter to it. The filter passes the ID of the record you generate the document from, so the query returns only the child records related to that record.

          For the full steps, see Create a document query with the pv0 parameter.

          Related: Use SOQL queries in Docs Made Easy

          Was this helpful?
          What went wrong?
          Related
          Related-list tables are empty, show one row or repeatFilter a query to the current record (pv0)Pull data into a template with a SOQL queryShow or hide content with IF conditions
          Need a hand?Our team can walk you through it.Contact us →
          Related
          Related-list tables are empty, show one row or repeatFilter a query to the current record (pv0)Pull data into a template with a SOQL queryShow or hide content with IF conditions
          Need a hand?Our team can walk you through it.Contact us →

          Docs Made Easy by HIC Global SolutionsGenerate, send and sign documents right inside Salesforce.LinkedIn · X · Facebook · Instagram · YouTube
          Help CenterKnowledge baseGetting startedParameter referenceAll FAQsError codesRelease notes
          Docs Made EasyDocs Made Easy homeReasonable Use PolicyAnti-Spam PolicyPrivacy PolicyGoogle Drive privacy
          Contact+1 (262) 310-7818support@docsmadeasy.comBook a call
          © 2026 Docs Made Easy · HIC Global SolutionsAll rights reserved.