ig.OlapXmlaDataSource

ig.OlapXmlaDataSource_image
igOlapXmlaDataSource コンポーネントは、JavaScript クライアントアプリケーションと msmdpump.dll HTTP データプロバイダーで構成された Microsoft® SQL Server Analysis Services (SSAS) サーバー間の通信を処理します。Microsoft SQL Server Analysis Services (MS SASS) のデータを簡単に取得できる方法を提供します。SSAS サーバーからデータを取得するために Multidimensional Expressions (MDX) や XML for Analysis (XMLA) に関する特別な知識は必要ありません。igOlapXmlaDataSource は、指定したコマンドに基づいて必要な MDX クエリを生成します。igOlapXmlaDataSource は、OLAP データを視覚化および対話が可能な 1 つ以上の Ignite UI ウィジェットと通常使用されます (igPivotView™ または igPivotGrid™)。

コード サンプル

<!doctype html>
<html>
<head>
    <!-- jQuery Core -->
    <script src="js/jquery.js" type="text/javascript"></script>
    <!-- jQuery UI -->
    <script src="js/jquery-ui.js" type="text/javascript"></script>
    <!-- Infragistics Combined Scripts -->
    <script src="js/infragistics.core.js" type="text/javascript"></script>
    <script src="js/infragistics.lob.js" type="text/javascript"></script>
    <script type="text/javascript">
        $.support.cors = true;               
        $(function () {
            var dataSource = new $.ig.OlapXmlaDataSource({
                serverUrl: "http://sampledata.infragistics.com/olap/msmdpump.dll",
                catalog: "Adventure Works DW Standard Edition",
                cube: "Adventure Works",
                rows: "[Date].[Calendar]",
                measures: "[Measures].[Customer Count], [Measures].[Internet Order Count]"
            });
             
            dataSource.initialize().done(function(metadataTree) {
                // do anything with dataSource once it's initialized
                // the result of the pre-loaded rows, columns, filters and measures is evaluated as part of initialization
                var result = dataSource.result();
            });
        });           
    </script>
</head>
<body>
</body>
</html>   

関連サンプル

関連トピック

依存関係

jquery-1.9.1.js
infragistics.util.js

Copyright © 1996 - 2025 Infragistics, Inc. All rights reserved.