FlashVars are a nice feature for providing a data push method to Xcelsius Dashboards.
A common scenario for using FlashVars is to provide the Webservice-URL to a Dashboard in a multiserver environment. Imagine you are working in a 3 layered Business Objects Enterprise server architecture with a development server, a test server and a production server.
Transporting a Dashboard in a multiserver architecture is easy if you are using the Import Wizard of Business Objects. If you are using LiveOffice connections who should ensure that the ObjectIDs stay stable. For more information about LiveOffice connection migration, take a look at: Migration of LiveOffice Connections.
Adding a FlashVar to you Dashboard is simple and you will find more infos about implementing FlashVars in Xcelsius documentation, SDN or other Xcelsius-Guru-Blogs.
Today we are foccussing on calling Flashvars. In the screenshot below you will see a simple CSV-Flashvar called var1.

There a several ways of calling a FlashVar.
1.) You could write a HTML document and embed the SWF-File and it's properties (including FlashVars).
The following link will provide the standard syntax for embedded Flash Files: Adobe TechNote Macromedia Flash OBJECT and EMBED tag syntax
For adding a FlashVar you habe to add PARAM NAME=FlashVars VALUE="%FLASHVARNAME%=%FLASHVARVALUE$" below the OBJECT-Tag and FlashVars="%FLASHVARNAME%=%FLASHVARVALUE$" into the EMBED-tag
2.) Call a FlashVar as a parameter in an URL String. The syntax is described in the example below:
http://servername:port/dashboard.swf?%FLASHVARNAME%=%FLASHVARVALUE%
3.) Deployed to Business Objects Enterprise you can change the FlashVar in the properties of the object in CMC.

4.) Provide the Flashvariable in an OpenDocument-Call
The syntax is - openDocument.jsp?iDocID= (Thanks to Pavel)
When you are using a multilayer server architecture with Dashboards deployed to Business Objects Enterprise that have different FlashVar requirements you have to adapt them manually in CMC after every transport because they are overwritten by Import Assistant.



