generateReport()
function generateReport( template, data, options?): LayoutDocument;Generates a paginated layout document from a template and JSON data.
Throws TemplateValidationError for invalid templates. Expression errors
do not throw: the affected text shows #ERROR and the error is listed in
issues.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
template |
string | ReportTemplate |
data |
unknown |
options |
GenerateOptions |