Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
425
PivotGrid with my local cube
posted

Hi all,

i have downloaded and succesfully installed ignite jquery trial version.

Your examples work well.

I encounter the following problem modifying your html code inside the page 'samples\igniteui.samplesbrowser\htmlsamples\pivot-grid\binding-to-xmla-data-source.html'

I am trying to connect to my Catalog/Cube resident on my MS Analytical Services installed on the same machine with msmdpump.dll already configured.

This is the modified code:

<script>
$.support.cors = true;

$(function () {
var dataSource = new $.ig.OlapXmlaDataSource({
serverUrl: 'http://localhost/olap/msmdpump.dll',
catalog: 'FBIRoambi' 
});

$('#dataSelector').igPivotDataSelector({
dataSource: dataSource,
height: "650px",
width: "240px"
});
$("#pivotGrid").igPivotGrid({
dataSource: dataSource,
height: "650px",
width: "670px"
});
});
</script>

Viewing the modified page on the browser all the combo box are empty.

I think there is a problem connecting to MSAS/msmdpump.dll; do you know a way to trace or log datasource connection errors ?

For your information i have no problem connecting to the same Catalog/Cube using MS Excel installed on the same machine.

Thanks

Marco

Parents
  • 995
    posted

    Hi Marco!

    You can try the following:

    var dataSource = new $.ig.OlapXmlaDataSource({
        serverUrl: 'http://localhost/olap/msmdpump.dll',
        //catalog: 'FBIRoambi'
    });

    var promise = dataSource.initialize();
    promise.fail(function (error) {
        // break here to inspect the error
    });
    promise.done(function(rootMetadataItem) {
        // everything is OK. inspect the rootMetadataItem
    });

    Let me know if you need any further assistance.

    Best,

    Philip

Reply Children