Many documents need repeating data — a table of line items, a list of project tasks, a record's comment history. Print handles these with repeating blocks.
Tables with repeating rows
To create a table where each row is a record from a related app:
In the template editor, insert a table
Design the header row (column names, formatting)
In the data row, add a variable for each column
Select the row and click "Make this row repeat"
Set the data source: the related app or list field that drives the rows
At generation time, the row repeats once per related record. If a project has 8 line items, the table has 8 data rows.
Simple lists
For a bulleted or numbered list of related records:
Add a text block to your template
Insert a list variable:
{{LIST(podio.project.tasks, task.name)}}The list renders as bullet points, one per task
Comment history
To include a record's comment history:
Add a section to your template
Set the data source to Comments
Add variables:
{{comment.author}},{{comment.date}},{{comment.text}}Make the section repeat
At generation time, one section renders per comment, in chronological order.
Sorting and filtering repeating blocks
In the repeating block settings, you can:
- Sort by any field (ascending or descending)
- Filter to only include records matching a condition
- Limit to N records
Related: Template Architecture · Variables — Pulling Data Into Your Document