To use the Actuate JavaScript API from a web page, add a script tag that loads the Actuate JavaScript API class libraries from an Actuate application.<script type="text/javascript" language="JavaScript" src="http://localhost:8700/iportal/jsapi"></script>The <script> element nested in the <div> element imports the Actuate JavaScript API libraries into the web page’s context. For example:<script type="text/javascript" src="http://localhost:8700/iportal/jsapi">
localhost:8700 is the host name and TCP port for an available Actuate application host.Use additional script tags to call JavaScript functions for the page. Use the actuate.load( ) function to enable the components of the Actuate JavaScript API.The scripts in this section are encapsulated in <div> tags for portability. Encapsulated Actuate JavaScript API functions can be used in any web page.
|
|
Copyright Actuate Corporation 2012 |