Print a spreadsheet in a document
Print an opportunity's spreadsheet as a table in the Document Builder, or pull totals, counts and single cells into your text.
A Document Builder document can print the rows of an opportunity's spreadsheet as a table, or pull single values from it, such as a total. This is handy for proposals and agreements that need a list of assets, liabilities, items or payments.
First the spreadsheet needs to be kept on the opportunity. See https://trustpager.com/help-center/standalone-spreadsheets.
Print the whole sheet as a table
- Open your document in the Document Builder.
- Add the Spreadsheet Table section.
- Choose which spreadsheet to print.
When the document is made for an opportunity, the table shows the rows of that opportunity's own sheet of that spreadsheet.
Print single values
In any text, open the variable picker and look in the Spreadsheet group. The values follow these patterns, where <key> is the spreadsheet's key:
{{sheet.<key>.total}}: the total of the sheet.{{sheet.<key>.count}}: how many rows there are.{{sheet.<key>[1].<column>}}: one cell, here from row 1. Change the number to pick another row.{{sheet.<key>.where.<dropdown column>.<option>[1].<column>}}: the same, but counting only rows where a dropdown column has a chosen option. For example, the first row marked "Liability".
Pick the values from the picker rather than typing them, so the names are always right.
Limits
A document will not print a sheet with more than 5,000 rows on one opportunity. It says so plainly instead of printing a partial table.