Edit this page

discover

Starts discover request with given options.

Parameters

options String

The options of the discover request

Returns

Object 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) {
        console.log(response);
    });
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy