Interactive editor
Explore Merge Fields
Insert and manipulate reporting merge fields programmatically.
Ready to tryUse the controls above to interact with this demo.
What this demonstrates
Merge Fields
Insert and manipulate reporting merge fields programmatically.
API used
TXTextControl.addMergeField
How it works
MergeField and IfField objects describe reporting placeholders. addMergeField inserts them into the document, while applicationFields provides access to update an inserted field later.
Source files
See the implementation
The view, browser behavior, and controller are encapsulated in Demos/RichTextEditor/Editing/MergeFields.