Products Technologies Demo Docs Blog Support Company

Preview: JSON Support in MailMerge Version X14 (24.0)

JSON, the acronym for JavaScript Object Notation, is a data format used in modern, web-based applications. It became the de facto standard format to transfer data in web-based applications. In the current version of MailMerge, the Merge method accepts a DataTable and a DataSet. The MergeObject and MergeObjects methods merge an object or collections of objects into a loaded template. In version X14 (no release date known yet), the MailMerge class accepts a JSON object as the data source: The…

Preview: JSON Support in MailMerge Version X14 (24.0)

JSON, the acronym for JavaScript Object Notation, is a data format used in modern, web-based applications. It became the de facto standard format to transfer data in web-based applications.

In the current version of MailMerge, the Merge method accepts a DataTable and a DataSet. The MergeObject and MergeObjects methods merge an object or collections of objects into a loaded template.

In version X14 (no release date known yet), the MailMerge class accepts a JSON object as the data source:

void MailMerge.MergeJsonData(string json, bool append)

The JSON strings should contain an array of objects, very similar to XML files serialized from a DataSet. Relations are built based on nested objects in the hierarchy of the JSON string. The JSON object can contain strings, integers and even images encoded as Base64 strings.

According to this new data source type support, the HTML5 based editor Web.TextControl will also accept a JSON string to fill the merge field drop-downs.

Stay tuned for more!

Stay in the loop!

Subscribe to the newsletter to receive the latest updates.

Reporting

The Text Control Reporting Framework combines powerful reporting features with an easy-to-use, MS Word compatible word processor. Users can create documents and templates using ordinary Microsoft Word skills. The Reporting Framework is included in all .NET based TX Text Control products including ASP.NET, Windows Forms and WPF.

See Reporting products

Related Posts

ReportingWindows FormsMail Merge

MailMerge: Conditional Rendering of Merge Blocks

Merge blocks can be used to render content conditionally. This article explains different ways to control this.


ReportingWindows FormsMail Merge

DataSourceManager: Using the Ready-to-Use Reporting Dialog Boxes

The Text Control DocumentServer class comes with ready-to-use dialog boxes for various purposes. This article shows how to use them in your application.


ReportingMail MergeRelease

Merge Blocks in X16: Filtering, Sorting and Conditional Rendering

Merge blocks have been drastically improved in TX Text Control X16: They can be sorted, filtered and rendered based on conditions.


ReportingMail MergeRelease

MailMerge Improvements in X14: Event Arguments and JSON Data Sources

In version X14 (24.0), the MailMerge class will be improved with new features and enhancements. The MailMerge class is a .NET component that can be used to effortlessly merge template documents…


ActiveXASP.NETReporting

TX Text Control 32.0 Has Been Released

We are pleased to announce the immediate availability of TX Text Control 32.0 for all platforms including ASP.NET, Windows Forms, WPF and ActiveX.