The HTML5 based editor and template designer is typically used to create mail merge templates in web applications.
The data source for the Reports ribbon tab can be pre-loaded in the view using the LoadDataSet method. Using this data source, the available merge field and merge block drop-down lists are populated.
The following code shows how to create a DataSet in the controller that is stored in the ViewBag:
In the view, the LoadDataSet method is used to load the stored DataSet from the ViewBag.
The drop-down lists are now pre-populated with the available merge fields and merge blocks: