You may not always want to display all rows in a table within your document. With ChiliDocs®, you can apply filters to show only the rows that meet certain conditions.
đź”§ Basic table structure
A table in ChiliDocs® starts and ends with the control characters:
[object_table]
… content …
[object_table_end]
Example in Word template:
🎯 Applying a filter
To restrict the rows, add a filter inside your table.
Example:
Show only contacts from Paris:
[filter(contact.city=“Paris”)]
Word template:
âž• Combining multiple filters
You can apply multiple filters by separating them with a comma.
Example:
Show only contacts from Paris who also speak English:
[filter(contact.city=“Paris”, contact.hs_language=“en”)]
đź“‘ Supported filter types
-
String (text fields): e.g. “Paris”, “en”
-
Integer (number fields): e.g. =100, >50
-
Boolean (true/false): e.g. =true, =false
⚠️ Notes
-
Filters only apply within the table where they are defined.
-
Make sure to use the internal HubSpot property names.
-
Strings must be enclosed in quotes.