spotfire-wrapper is a static JavaScript library that provides two new HTML tags :
<spotfire-viewer>
: to display a dashboard<spotfire-editor>
: to display a dashboard with a backpanel to configure itTo insert a spotfire dashboard into a web page, user needs to add the following HTML code:
<spotfire-viewer url="https://spotfire-next.cloud.tibco.com" path="Samples/Introduction to Spotfire" page="Example dashboard" </spotfire-viewer> <script src="./spotfire-wrapper.js" ></script>
Note: An account to access the Spotfire™ instance defined in url
is required (here : https://spotfire-next.cloud.tibco.com