Insert Data Tables
Build dynamic S-Docs data tables with related lists and direct SOQL. Start here for task guides, Microsoft template patterns, and troubleshooting.
Use this section when you need repeating data tables in an S-Docs template.
In S-Docs, most tables are built with related lists powered by direct SOQL.
Use this section to choose the right path for row selection, output formatting, Microsoft template layout, and troubleshooting.
Start with the path that fits your goal
If you need to return the right rows, start with filtering and sorting.
If the query already works, move to formatting, summaries, and cleaner output.
If you are building DOCX, or PPTX output, use the Microsoft template guide.
What you can do with data tables
Extract child records into repeated rows.
Filter, sort, and limit records using direct SOQL.
Format dates, currency, and handle blank values in table output.
Create grouped summaries and calculate aggregate totals.
Render repeating tables in PDF and Microsoft templates.
Browse by topic
Related note
Use Retrieve and Reuse Data when you need query results in a sentence, header, footer, or calculation instead of a table.

