Embedding the report in an iframe will allow you to integrate it into your existing web content easily. The embedded report will automatically reflect the most recent published version of the HTML report in ClearPoint.
Getting the URL for a published report
Select Documents from the Control Panel
Choose HTML Exports under Templates
Click on the three dots icon next to the report template
Select Edit Template
Under Link, you will see a short URL
This URL automatically updates to display the most recent published version of your HTML report.
Copy this URL to embed in your iframe
Embedding the URL in an iframe
Important: You will need the webmaster for your website or intranet (someone who has access to edit your web pages) to perform these steps.
Insert an HTML <iframe> element into the HTML for your web page, placing it where you want to display the report.
The basic code for the iframe is:
<iframe src=""> </iframe>
Paste the URL from ClearPoint into the quotations following src=.
For example:<iframe src="https://publish.clearpointstrategy.com/123/yourpublishedreport "> </iframe>
Once you have the URL embedded in the iframe, there are HTML attributes that can be added to format the iframe as well, like width and height.
Some example of these attributes can be found here.
For example:<iframe src="https://publish.clearpointstrategy.com/yourpublishedreport" width="1024" height="800"> </iframe>.
After saving the newly added iframe referencing your report URL, your web page will display your published ClearPoint report in an iframe.
You can also embed ClearPoint charts using an iframe – find out more here!