Saving Scenarios with Xcelsius

Saving Scenarios with Xcelsius

Written by: Ryan Goodman
Published: June 8th, 2008
8327 views

There are several reasons why end users desire the ability to save information from their dashboard for future use. Hopefully with this article, I can sort out what you have available to you in order to solve some of these scenarios below.

  1. Save a personal scenario- A dashboard that contains some level of runtime scenario analysis (what-if) users want to save personalized scenarios based on their inputs to share or recall them at a later time.
  2. Save a shared scenario- A dashboard that contains some level of runtime scenario analysis (what-if) users want to save scenarios for all other dashboard end users to see.
  3. Offline usage- A dashboard that resides on the desktop that connects to live data, where the end user wants to take the SWF offline and still have access to the data.
  4. Write-back- A dashboard contains multiple inputs and functions as a form to write back to a database. This write back data is then used as a data source for the dashboard.

The path of least resistance to saving scenarios is achieved through the local scenario button. This Xcelsius component works similar to a cookie in your browser. The local scenario button takes a snapshot of the dashboard’s current state. This snapshot includes both the data and selections and is associated to the SWF if it is on your desktop or hosted on a server. If you access the same SWF in another browser session or after you re-start your computer, the scenarios will remain. This functionality also works using other deployment methods including Power Point and PDF.

Download Source Files

I use a browser cookie to explain this functionality because the local scenario button does have similar limitations:

  • Local Scenarios will only work for the local PC end user. Other people who access the SWF on your server will not have access to your scenarios.
  • If you re-publish your SWF and overwrite the existing file, your scenarios are cleared. There is no way to transfer the scenarios to your new SWF.
  • You cannot re-use the saved scenarios for other applications to access.

In our initial 4 scenarios we have solved #1 and #3. The only thing to remember with saving scenarios for connected dashboards, is the scenario will only grab the data present within the dashboard at that moment. If you are using parameterized queries to retrieve data, you may need to save multiple snapshots to tell your story in an “offline mode.”

For #2 and #4 you have two potential options.
Business Objects customers can potentially use Take action as a Web Service, which is an application that generates web services for writing back to a data base. I have not used this in any projects yet but it looks pretty nice.

Non-BOBJ customers or those who don’t have time or resources to create a database can use Xport Wizard to generate XML files on a server from Xcelsius, then load them back into the dashboard using the XML data connector. I have been using this utility for a while and love it because of its simplicity. Some of the XML data button binding gets a little tricky depending how complicated your dashboard saving is, but I have had tremendous luck so far.

Hopefully this clarifies what options you have available to you.

6 comments

Comment from: Tony Turner [Visitor] Email
I am new to Xcelsius, but found some useful information in your article.

I would like to have you elaborate on a couple of points.

I need to be able to capture comments when viewing my dashboard.

It would be awesome to be able to write back to a database. I am not using Business Objects Enterprise, but I am using Crystal Reports 2008 as well as Xcelsius.

I know Business Objects Enterprise very well if I need to use it.

1) How do I create a dashboard and have the ability to add text comments?

2) How would I write that back to a database? I could even write it back to a spreadsheet or XML file.

3) I would like to automate this so I could give it to someone, let them review dashboard, make their comments
and hit some button that will save their comments to a database.
(Ultimate goal, but not sure if do-able).
07/24/08 @ 08:03
Comment from: Ryan Goodman [Member] Email · http://ryangoodman.net/blog
There certainly is a method for writing to an XML file or CSV, which could then be loaded into a data base, or loaded into another Xcelsius dashboard. I would check out Xport Wizard at centigonsolutions.com
07/24/08 @ 13:35
Comment from: Hiroyasu Minami [Visitor]
Thank you for very informative topic.

Is it possible to solve scenario 2 with crystal report and publicaion function in BOE?

My Cus ask me the feasibility of that solution.

My understanding is that this approach can't solve scenario 4 but sort out scenario 2.


06/28/09 @ 20:48
Comment from: Cory [Visitor]
Thanks for the article.

You can certainly 'rig' Xcelsius to communicate back with the server. Just pass in any relevant data though a web service entry point. You can even use a nice button to kick it off.
11/13/09 @ 17:19
Comment from: David [Visitor] · http://2CommaSales.com
Thanks for your contributions to the XCelsius community.

One question where does the SWF application "write" the local scenario information to on the user's machine.
11/16/09 @ 18:56
Comment from: Daniel Davis [Visitor] · http://www.thedavisgang.com
*****
Ryan,

can you tell me - what location the SAVED files live in? Are they XML, Temp internet files? I've always tried to find the saved files with no sucess.

Regards

Daniel
12/08/09 @ 06:20

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
PoorExcellent
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)





©2010 by Ryan Goodman •

Contact • Credits: blog software | web hosting | monetizing