transportObject
The configuration used to load data items and discover schema information.
Example
<script>
var dataSource = new kendo.data.PivotDataSource({
  type: "xmla",
  transport: {
    connection: {
      catalog: "Adventure Works DW 2008R2",
      cube: "Adventure Works"
    },
    read: "https://demos.telerik.com/service/v2/olap/msmdpump.dll"
  },
  schema: {
    type: "xmla"
  }
});
</script>transport.discoverObject|String|Function
The configuration which is used when the data source discovers the schema information about the current cube.
The data source uses
jQuery.ajaxto make an HTTP request to the remote service. The value that is configured throughtransport.discoveris passed tojQuery.ajax. This means that you can set all options that are supported byjQuery.ajaxwithtransport.readexcept for thesuccessanderrorcallback functions which are used by the transport.
- If the value of transport.discoveris a function, the data source invokes that function instead ofjQuery.ajax.
- If the value of transport.discoveris a string, the data source uses this string as the URL of the remote service.
- If the value of transport.discoveris omitted, the data source usestransport.readfor schema discovery.
pseudo
    <script>
    var dataSource = new kendo.data.PivotDataSource({
      type: "xmla",
      transport: {
        connection: {
          catalog: "Adventure Works DW 2008R2",
          cube: "Adventure Works"
        },
        // The endpoint that returns the schema info for the cube
        discover: "endpoint-returning-info-about-the-cube",
        read: "https://demos.telerik.com/service/v2/olap/msmdpump.dll"
      },
      schema: {
        type: "xmla"
      }
    });
    dataSource.schemaDimensions().done(function(dimensions) {
      /* The result can be observed in the DevTools(F12) console of the browser. */
      console.log(dimensions.length);
    });
    </script>transport.connectionObject
The configuration that is used for setting the connection options.
Example
<script>
var dataSource = new kendo.data.PivotDataSource({
  type: "xmla",
  transport: {
    connection: {
      catalog: "Adventure Works DW 2008R2",
      cube: "Adventure Works"
    },
    read: "https://demos.telerik.com/service/v2/olap/msmdpump.dll"
  },
  schema: {
    type: "xmla"
  }
});
</script>transport.connection.catalogString
The catalog name.
Example - set the connection catalog name
<script>
var dataSource = new kendo.data.PivotDataSource({
  type: "xmla",
  transport: {
    connection: {
        catalog: "Adventure Works DW 2008R2"
    },
    read: "https://demos.telerik.com/service/v2/olap/msmdpump.dll",
  },
  schema: {
    type: "xmla"
  }
});
</script>transport.connection.cubeString
The cube name in the current data source.
Example - set the cube catalog name
<script>
var dataSource = new kendo.data.PivotDataSource({
  type: "xmla",
  transport: {
    connection: {
        catalog: "Adventure Works DW 2008R2",
        cube: "Adventure Works"
    },
    read: "https://demos.telerik.com/service/v2/olap/msmdpump.dll",
  },
  schema: {
    type: "xmla"
  }
});
</script>In this article