The ReportingCloud Portal enables you to create MS Word compatible templates that can be merged with JSON data using the ReportingCloud API in order to create documents in formats like Adobe PDF.
A highly requested feature is the usage of this editor to be used outside the portal, but directly in your application. Technically, this was possible using the MVC or WebForms components part of our ASP.NET product TX Text Control .NET Server for ASP.NET.
If you don't have a ReportingCloud account, create your free trial account here:
Login to the portal and open the Widgets section:
In the New widget location box, type in the hostname of your website including a subdomain (in case a subdomain is used). If you are testing locally, use localhost as the hostname and confirm with Create Key.
The location should be listed now in the list of widget locations:
A complete sample HTML page with an embedded widget would look like this:
If you open this HTML page now in a browser, the widget is loaded and rendered:
In the next couple of blog posts, we will show how to combine this concept with the ReportingCloud API. Consider the following scenario: A template is loaded from your ReportingCloud template storage using the REST API, loaded into the widget and saved back to the template storage. All within your application, on your preferred platform whether it is PHP, .NET Core, Java or Angular.