Have any questions? Email: info@flynet.email. US: +1 617-778-7259. UK: +44 (0)3333-110-370. ES/PT: +351-300-500-441.

Publishing Dashboards

When a dashboard is ready for deployment it can be exported from Xcelsius as HTML (File -> Export -> HTML...). This will produce two files, a Flash (.swf) file containing the dashboard and a .html file containing a simple web page with the dashboard embedded in it.

Prior to deploying these files it is important to modify the .html file so that it requests a specific file from the web server before the dashboard is loaded. This file (ImageLicense.aspx) is generated along with the web service and ensures that clients viewing the dashboard are setup correctly to obtain viewing licenses. If this modification is not made, viewers may not see data in the dashboard.

Note: There is no need to make this modification if the dashboard relies solely on named viewer licencing, or if all web services referenced by the dashboard have been deployed with Windows authentication.

The modification involves adding an img tag to the HTML as seen in the highlighted section of the following screen shot:


The value of the src attribute depends on where your web service is deployed and can be derived from the WSDL URL of your service by replacing <web service name>.asmx?wsdl at the end of the URL with ImageLicense.aspx. In the above example, the WSDL URL is:

http://ddle5209/WebService_Sales/WebService_Sales.asmx?wsdl

So the value of the src attribute is:

http://ddle5209/WebService_Sales/ImageLicense.aspx

The value to be used can be tested by copying it into a web browser and requesting the file. The response to the request will be a blank page because the image returned is a single pixel, transparent GIF but the important part of the test is that there is no 404 Not Found error.

Once this change is made, the two files can be deployed to a web server and the dashboard can be tested.

There is no requirement to use the Xcelsius generated HTML, dashboards can be embedded in custom HTML using an object tag in the same way the Xcelsius does so long as the HTML also requests ImageLicense.aspx prior to loading the dashboard.