Deploying from the Playground
Note If you're using ReportLayer in production, you're probably using a full ReportLayer account with your own login. In that case, you should follow the instructions on deploying from ReportLayer instead of deploying from the Playground.
This document shows how you can deploy public templates from the ReportLayer Playground in your application. This can be useful for quick testing, demos, or very simple reports.
Templates in the Playground are always public, so you should not use the Playground for anything private or sensitive.
Install the SDK
If you haven't already, add the ReportLayer SDK to your application.
Find the template's ID
The template ID is the short string of letters and numbers between the last two slashes in the URL when the template is open in the Playground:
(The number after the final slash is the version number, and is not used for now.)
If you don't see an ID, the template might not be saved yet. Save the template and an ID should appear in the URL bar.
Render the template in your application
Use the API key "playground" and your template ID to render the report in your application code:
For more examples of how to use the SDK, see Rendering reports.