Sharing Documents with ReportingCloud
We just published a new endpoint and DocumentViewer widget to share documents with ReportingCloud.

We just published a new beta feature of ReportingCloud that enables developers to embed the ReportingCloud DocumentViewer using a lightweight widget into any website.
This way, you can show your created documents on your website using a fully-featured, HTML/JavaScript-based and responsive DocumentViewer. The following sample document is delivered directly from ReportingCloud through the DocumentViewer widget:
Technically, all you need to do is to include the widget code into your website:
<div data-document="" id="reportingcloud-documentviewer"></div>
<script async src="https://portal.reporting.cloud/scripts/reportingcloud.js" charset="utf-8">
</script>
The new endpoint document/share returns the encrypted document share path that needs to be added to the data-document attribute.
https://api.reporting.cloud/v1/document/share
Query Parameter | Value Type | Value |
---|---|---|
templateName | String | Specifies the template name in the template storage. |
Consider the following workflow: In an online store, a customer is buying products and receives an invoice for the purchased products. The invoice template is created in advance using the ReportingCloud template designer. After the transaction, the template is merged with the transaction data to create an invoice. This invoice can be delivered to the buyer via e-mail or it can be linked to be downloaded. Additionally, the ReportingCloud DocumentViewer widget can be used to share the document immediately on the website.
The document is stored in the private ReportingCloud template storage and delivered directly through ReportingCloud. The document share location is encrypted in the hash value that is returned by the endpoint document/share.
Just another great idea to provide a fully-featured document workflow directly delivered through the cloud.
Test this on your own and create a ReportingCloud trial account today.
Happy coding!
Cloud
Are we moving to the cloud? This question is changing from "if" to "when" and "how". Text Control ReportingCloud brings complete reporting functionality to the cloud so all developers can use it, irrespective of the platform or language they're using. Its highly RESTful API can be used to merge Microsoft Word compatible templates with JSON data from all clients including .NET, Javascript, PHP, Node.JS, jQuery, Ruby, Python, Android, Java and iOS.
Related Posts
CloudMicroservicesReportingCloud
The End of Monolithic Applications? Outsource Your Document Generation and…
Matt Riley, CEO & Co-founder of Swiftype, says this year that "a decade from now, every business will be operating primarily from the cloud". When are you moving to the cloud?
CloudReportingCloudSample Templates
ReportingCloud: Sample Template Gallery Launched
We just launched a sample template gallery as part of the ReportingCloud portal. This gallery should help you to understand the supported reporting features in templates.
ReportingCloud .NET Core Wrapper Released: Creating Documents on Windows,…
We just released a .NET Core version of the Text Control ReportingCloud .NET wrapper. .NET Core is an open-source managed software framework to create applications on Windows, macOS and Linux.
Proofing Tools Available As ReportingCloud Web API Endpoints
We just rolled out 3 new ReportingCloud endpoints to integrate spell checking functionality to your cloud-based applications in more than fifty languages.
All Google Fonts Now Available in ReportingCloud
Making the web more beautiful, fast, and open through great typography. This is the motto of Google Fonts. The advantage of ReportingCloud is a consistent rendering of documents.