Cloud
Cloud-Dienstleistung für schnelle und effektive Analyse und Visualisierung von Daten für Ihr Business ohne eigene Applikationen zu erstellen oder zu programmieren.
$viewer->onBeginProcessData = function (StiDataEventArgs $args) {
if ($args->connection == 'MyConnectionName')
$args->connectionString = 'Server=localhost; Database=northwind; UserId=root; Pwd=;';
if ($args->dataSource == 'MyDataSource')
$args->queryString = 'SELECT * FROM MyTable';
};
$viewer->process();onBeginProcessData — fires on the server as the report requests its data, keeping credentials off the client.$args->connection / connectionString — identifies the named connection and lets you supply its connection string.$args->dataSource / queryString — identifies the data source and lets you override its SQL query.onBeginProcessData on the server keeps database credentials out of the client; you can override the connection string and query for each named connection and data source.