The other day, my colleague Josh Tapley (http://data-ink.com) and I had a conversation about being able to “bookmark” an Xcelsius dashboard. Basically, the idea would be to “save” the user context on the dashboard and be able to return to the same context. Well, below is an example of such an implementation. The dashboard is embedded in a php page. The Bookmark button on the dashboard is a text label with html code to trigger a javascript ajax function that takes the user context in the dashboard selectors, assigns them an id, and saves them in a database table. When the id is passed back to the embedding page, the proper values are retrieved and are used to initialize the dashboard. Enjoy!
-
Archives
- October 2021
- June 2020
- June 2017
- March 2017
- September 2016
- June 2016
- February 2016
- November 2015
- July 2015
- May 2015
- March 2015
- January 2015
- September 2014
- August 2014
- July 2014
- June 2014
- March 2014
- February 2014
- January 2014
- December 2013
- October 2013
- August 2013
- July 2013
- June 2013
- April 2013
- March 2013
- February 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
-
Meta
can you provide the HTML behind the text label? be awesome to see it – thanks
Hi BJ, the label triggers a javascript function that calls the ajax function that stores the user input in the database and generates the bookmark. I typically post all my source files, but in this case, i have to leave a little bit to your imagination… 🙂 Feel free to reach out directly for more input. Thanks – Ron
Ron,
This would be definitely make the Business go from asking for a “nice-to-have” to “must-have” feature now. 🙂 Very nice concept.
Just curious, were you able to overcome challenges on Porting code across multiple browsers such as Chrome, Firefox etc?
Thanks,
Badri Sridharan
Thanks Badri, i did not try many browsers, just IE. There are some differences in how Firefox and IE handle Flashvars