Including the API
The Embedded ReportsAPI, which is a JavaScript file, is:
- <yourLogiApp>/rdTemplate/rdEmbedApi/rdEmbed.js
To use it, include a link to it at the end of your custom HTML page, just above the </body> tag:
- <body>
- ...
- <script src="https://<yourLogiApp>/rdTemplate/rdEmbedApi/rdEmbed.js" type="text/Javascript">
- </script>
- </body>
Next, create a div element to contain the embedded Logi report, and give it a unique idattribute.
- <div id="div1" />
Then decide which of the two following embedding approaches, described in the following sections, you want to use: Markup or JavaScript. Note: The Embedded Reports API works well with all modern browsers, but some features (such as auto-sizing and accessing embedded reports) will not work with older browser, such as IE7.