Intro
Use the new features of the WordTemplate object to create feature-rich reports that were previously only possible with many lines of code. This sample uses nested repeat blocks to produce a report very much like the Word Application Product Catalog.This sample uses nested repeat blocks to produce a report very much like the Word Application Product Catalog sample, but with many fewer lines of code. Instead of using many database queries and manually constructing each piece of the report, this sample uses two queries and binds them to a template that builds the entire report.
Note that using nested repeat blocks is only supported by using docx files.
Code
Downloads
Template: NestedCatalogTemplate.docx
Output: NestedProductCatalog_output.docx