Interactive editor
Explore Dynamic Contract Generation
The editor loads a pre-designed contract template and sample JSON data. Generate both variants and compare the Intellectual Property and Indemnification clauses.
Ready to tryUse the controls above to interact with this demo.
What this demonstrates
Dynamic Contract Generation
Dynamic sections let a single template produce contracts with different sets of clauses. This sample changes only the supplied JSON data; the document template remains unchanged.
API used
MailMerge.MergeJsonData
How it works
With dynamic sections merges the complete data source and includes the Intellectual Property and Indemnification clauses. Without dynamic sections uses JSON without the corresponding data, causing MailMerge to remove those sections automatically.