TX Text Control for Angular provides a fully-featured mail merge UI to insert merge fields and repeating merge blocks into a document. The drop-down Insert Merge Field is used to insert available merge fields:

Angular Data Source

To help users to insert only valid merge fields, the required data structure can be loaded using the loadJsonData TX Text Control .NET Server for ASP.NET
JavaScript API
TXTextControl Object
loadJsonData Method
Loads JSON data which is used to create table and field name menu items in the mailings ribbon tab.
method.

Available fields and child objects are listed hierarchically in the merge field lists. The following JSON string has been used in this sample:

Loading...

The JSON data can be loaded using the loadJsonData JavaScript method:

Loading...

In order to initialize TX Text Control with that data, you can load the excerpt file in the ribbonTabsLoaded TX Text Control .NET Server for ASP.NET
JavaScript API
TXTextControl Object
addEventListener Method
The addEventListener function registers event listener functions on the TXTextControl object.
event. As this event must be attached to TX Text Control when it is available in the DOM, the txDocumentEditorLoaded event is used in the HostListener:

Loading...

Test this on your own and create your trial access token today.