discover
Starts the discover request with the specified options.
Parameters
options String
The options of the discover request.
Returns
Object
—The deferred object.
Example
<script>
var dataSource = new kendo.data.PivotDataSource({
type: "xmla",
transport: {
connection: {
catalog: "Adventure Works DW 2008R2"
},
read: "https://demos.telerik.com/olap/msmdpump.dll"
},
schema: {
type: "xmla"
}
});
dataSource.discover({
data: {
command: "schemaMeasures",
restrictions: {
catalogName: dataSource.catalog(),
cubeName: dataSource.cube()
}
}).done(function(response) {
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(response);
});
</script>