Interactive editor
Explore Merge using MailMerge
Merge templates server-side with the TX Text Control reporting engine.
Understand the current template
Explore its merge fields, repeating blocks, and nested structure in an interactive template map.
Ready to tryUse the controls above to interact with this demo.
What this demonstrates
Merge using MailMerge
Merge templates server-side with the TX Text Control reporting engine.
API used
MailMerge.MergeJsonData
How it works
The browser sends the current template to this demo's controller. The controller reads the first invoice from the nested JSON data, merges it with MailMerge.MergeJsonData, exports the result as PDF, and returns it for download. The same JSON initializes the Reporting ribbon in the editor.