8/10/2019 4-Writeback to a Database With Xcelsius
1/14
Xcelsius Writeback
Presented by Steve Dingley of InfoSol
8/10/2019 4-Writeback to a Database With Xcelsius
2/14
8/10/2019 4-Writeback to a Database With Xcelsius
3/14
8/10/2019 4-Writeback to a Database With Xcelsius
4/14
Can I update my database fromXcelsius?
Query as a Web Service Web Service
Live Office
Crystal Report Excel XML Maps
XML Data
Why would I want to do that? Is a Dashboard the right tool?
What information can I capture?
8/10/2019 4-Writeback to a Database With Xcelsius
5/14
Reasons for Writeback Persist User options across sessions
Collect User responses Questionnaire Collaborate exchange information and
see what other Users are saying
Store User selections during a session Extends capabilities of Xcelsius selectors
Update key Business Parameters E.g.
Sales Targets Trigger other processes E.g. Schedule a
Report or Dashboard data refresh
Log dashboard usage
8/10/2019 4-Writeback to a Database With Xcelsius
6/14
Wouldnt it be good if we could execute a
SQL statement from Xcelsius! INSERT UPDATE DELETE
EXECUTE stored-procedure
Target a single column, a row or multiple rows We also need to be able to control
DB connections to SQL Server, Oracle etc
Authentication single-signon?
Status checking
8/10/2019 4-Writeback to a Database With Xcelsius
7/14
Server Application
XML Data
Connector
Web Server +
Custom Scripts +Local Storage +
Access to Data
8/10/2019 4-Writeback to a Database With Xcelsius
8/14
Xcelsius XML Data connector Properties panel
8/10/2019 4-Writeback to a Database With Xcelsius
9/14
Property Usage
Input
URL points to the web script DBCONN specify the connection name
DBQRY specify the query name XCDATA the data values used by SQL
Output
DBSTATUS the result of the operation(s)
8/10/2019 4-Writeback to a Database With Xcelsius
10/14
Usage
USAGE (when does the data transfer occur?) 3 automatic options + 1 manual (Refresh Button)
8/10/2019 4-Writeback to a Database With Xcelsius
11/14
SQL statement examples
Insert
INSERT into tbl-sales sales-tax values(@sales-tax)
INSERT into tbl-sales sales-target values
(@sales-target) where mgr=@manager
Update UPDATE user-prefs set start-graph=@start
where user=@user
8/10/2019 4-Writeback to a Database With Xcelsius
12/14
Manage DB-Connections & Queries
Define, edit and test each query
Incorporate placeholders for targeting
8/10/2019 4-Writeback to a Database With Xcelsius
13/14
Single column, Row, Multi-Row
8/10/2019 4-Writeback to a Database With Xcelsius
14/14
Real world scenario Interact with the dashboard to model a business
case
Update control value(s) in database
Schedule a Report refresh based on new data
Open & view report from the dashboard
Iterate above process until satisfied
Collaborate with colleagues to obtain agreement
Make the final update Trigger a refresh of the dashboard data
ALL FROM A SINGLE INTERFACE
Top Related