Like what you see? Have a play with our trial version.

Error rendering macro 'rw-search'

null

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Styleclass
ClasstopLink

Embedding with JavaScript

Using the JavaScript API, Yellowfin Reports and Dashboards can be embedded into external webpages, which can be hosted on a separate web server to Yellowfin. The only requirement is that the end user's browser can be able to access the Yellowfin server. This is achieved by placing a scriptlet into the HTML code. This is The following example shows what a JavaScript scriptlet looks like:

Code Block
languagejs
<script src="http://reporting.example.com/JsAPI?reportUUID=e5e5aaf3-c3b8-4f9b-8280-e21e4d848e63&width=500&height=500" type="text/javascript"></script>

 

The example scriptlet above will render a report within the enclosing page. If the user does not have a current session on the instance that the embedded report is coming from, the user will be prompted to log in unless the Guest User login (http://wiki.yellowfin.com.au/display/yfcurrent/Guest+Users) is enabled and the displayed content is not secured.  For more details, see User Access (http://wiki.yellowfin.com.au/display/yfcurrent/JavaScript+API#JavaScriptAPI-UserAccess)

...