crystal xcelsius and web services by dashboardcafe.com

2,386 views

Published on

How dashboard look up your data?

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,386
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
64
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

crystal xcelsius and web services by dashboardcafe.com

  1. 1. Crystal Xcelsius and Web Services By Sigit Yunanto
  2. 2. Crystal Xcelsius Corporate Dashboard Development
  3. 3. Crystal Xcelsius Corporate Dashboard Development
  4. 4. Crystal Xcelsius: At A Glance <ul><li>Source data from: </li></ul><ul><li>Excel spreadsheets </li></ul><ul><li>XML data </li></ul><ul><li>SOAP-based Web Services </li></ul>1. Create an interactive presentation with point-and-click. 2. Output final interactive analytic or presentation to Crystal Vision Server, BusinessObjects Enterprise, any web page, PowerPoint, Outlook or PDF – with just one click! 3.
  5. 5. The Dynamic Duo +
  6. 6. How they Work Together Data Connectivity Excel Model Business Visualization Visualization Tier Data Source Tier Data is populated into Excel model 2 Import Excel model into Crystal Xcelsius and generate Visualization 3 Publish Visualization to Crystal Vision Server or BusinessObjects Enterprise, export to Outlook, PowerPoint, etc. 4 Business Logic Tier Web/Client Tier Connect to corporate data sources via Web Services, LiveOffice, Query as a Web Service, XML, etc. 1
  7. 7. Crystal Xcelsius and Live Office
  8. 8. Crystal Xcelsius and Live Office <ul><li>The design process: </li></ul><ul><li>1. Create a Crystal Report </li></ul><ul><li>2. Use the LiveOffice add-in </li></ul><ul><li>to create an Excel spreadsheet </li></ul><ul><li>3. Create an Xcelsius dashboard </li></ul><ul><li>based on the spreadsheet </li></ul><ul><li>4. Add the LiveOffice connector to your dashboard </li></ul><ul><li>5 . Set LiveOffice connector options (Refresh on Load, etc.) </li></ul>
  9. 9. Crystal Xcelsius and XML Data <ul><li>Two different types of XML data supported: </li></ul><ul><li>Static and Dynamic XML data sources </li></ul><ul><ul><li>XML files </li></ul></ul><ul><ul><li>Web sites/pages that provide dynamic XML data </li></ul></ul><ul><ul><li>Can retrieve/submit XML </li></ul></ul><ul><li>Web Services </li></ul><ul><ul><li>Defined by Web Services Definition Language (WSDL) </li></ul></ul><ul><ul><li>Can support a number of different methods </li></ul></ul><ul><ul><li>Supports input and return values </li></ul></ul>
  10. 10. Crystal Xcelsius and XML Data <ul><li>Example of a dynamic data source: </li></ul><ul><li><data> </li></ul><ul><li><variable name=&quot;Range0&quot;> </li></ul><ul><li><row> </li></ul><ul><li><column>Xtreme Bike Warehouse</column> </li></ul><ul><li><column>JAN-2006</column> </li></ul><ul><li><column>$9920.02</column> </li></ul><ul><li></row> </li></ul><ul><li><row> </li></ul><ul><li><column>Xtreme Bike Warehouse</column> </li></ul><ul><li><column>FEB-2006</column> </li></ul><ul><li><column>$2029.02</column> </li></ul><ul><li></row> </li></ul>
  11. 11. Crystal Xcelsius and XML Data <ul><li>Dim sSQL as String </li></ul><ul><li>Dim oCon as Object </li></ul><ul><li>dim sConnect as String </li></ul><ul><li>sConnect = &quot;Provider=SQLOLEDB;Data Source=orion;Initial Catalog=Northwind;User Id=sa;Password=;&quot; </li></ul><ul><li>oCon = Server.CreateObject(&quot;ADODB.Connection&quot;) </li></ul><ul><li>oCon.ConnectionString = sConnect </li></ul><ul><li>oCon.Open </li></ul><ul><li>dim oRst as Object </li></ul><ul><li>oRst = Server.CreateObject(&quot;ADODB.RecordSet&quot;) </li></ul><ul><li>oRst.ActiveConnection = oCon </li></ul><ul><li>sSQL = &quot;SELECT * FROM StoreSales” </li></ul><ul><li>oRst.Open(sSql) </li></ul><ul><li>dim sXML as String </li></ul><ul><li>sXML = &quot;<data>&quot; </li></ul><ul><li>sXML = sXML & &quot;<variable name=&quot; + chr(34) + &quot;Range0&quot; + chr(34) + &quot;>&quot; </li></ul>Do Until oRst.EOF sXML = sXML & &quot;<row>&quot; sXML = sXML & &quot;<column>&quot; & oRst(&quot;CompanyName&quot;).value & &quot;</column>&quot; sXML = sXML & &quot;<column>&quot; & oRst(“ Period &quot;).value & &quot;</column>&quot; sXML = sXML & &quot;<column>&quot; & oRst(“ SalesAmount &quot;).value & &quot;</column>&quot; sXML = sXML & &quot;</row>&quot; oRst.MoveNext Loop sXML = sXML & &quot;</variable>&quot; sXML = sXML & &quot;</data>&quot; Response.Write(sXML) oRst.close oRst = Nothing oCon.close oCon = Nothing Code behind the dynamic XML data source (getdata.aspx)
  12. 12. Creating Dashboards from Universe Data <ul><li>Utilizes “Query as a Web Service” (QAWS) </li></ul><ul><li>QAWS was developed by Business Objects Labs http:// labs.businessobjects.com </li></ul><ul><li>Provides the ability to query on a Universe and expose the query results via a web service </li></ul><ul><li>Powerful tool for leveraging existing investment in universes </li></ul>
  13. 13. Creating a generic web service for data retrieval <ul><li>One web service to access multiple data sources </li></ul><ul><li>Can pass server connection details, table name, field names, etc. </li></ul><ul><li>Retrieve data from tables, views, stored procedures, etc. </li></ul><ul><li>Flexible way to access data via the web </li></ul>+
  14. 14. Presentation for Web Service <ul><li>Web Service Generator Database </li></ul><ul><ul><li>WSGd Overview </li></ul></ul><ul><ul><li>WSGd Part1 </li></ul></ul><ul><ul><li>WSGd Part2 </li></ul></ul><ul><ul><li>WSGd Part3 </li></ul></ul><ul><li>Web Service Generator Application </li></ul><ul><ul><li>WSGa Overview </li></ul></ul><ul><ul><li>WSGa ShowApp 1 </li></ul></ul><ul><ul><li>WSGa Recorder 2 </li></ul></ul>

×