DevExtreme Vue - XmlaStore Props
This section describes options that configure the XmlaStore.
beforeSend
Specifies a function that customizes the request before it is sent to the server.
The request parameters. When jQuery is used, this object can contain jQuery.ajax()-supported fields.
| Name | Type | Description | 
|---|---|---|
| url | The request URL. | |
| method | The request method ("GET", "POST", "PATCH", or "MERGE"). | |
| headers | The request headers. | |
| xhrFields | Native XMLHttpRequest object properties. | |
| data | A query string that contains data to be sent to the server. | |
| dataType | The expected result's data type. | 
jQuery
var store = new DevExpress.data.XmlaStore({
    url: "https://my-web-srv01/OLAP/msmdpump.dll",
    catalog: "AdventureWorksDW2012",
    cube: "Adventure Works",
    beforeSend: function (e) {  
        e.headers = {
            "Custom Header": "value"
        };
    }
});
var pivotGridDataSource = new DevExpress.data.PivotGridDataSource({
    // ...
    store: store
});Angular
import PivotGridDataSource from "devextreme/ui/pivot_grid/data_source";
import XmlaStore from "devextreme/ui/pivot_grid/xmla_store";
// ...
export class AppComponent {
    pivotGridDataSource: PivotGridDataSource;
    constructor() {
        this.pivotGridDataSource = new PivotGridDataSource({
            // ...
            store: new XmlaStore({
                url: "https://my-web-srv01/OLAP/msmdpump.dll",
                catalog: "AdventureWorksDW2012",
                cube: "Adventure Works",
                beforeSend: (e) => {
                    e.headers = {
                        "Custom Header": "value"
                    }
                }
            })
        });
    }
}url
Specifies the OLAP server's URL.
This should be the MSMDPUMP.dll URL and usually has the following format: http://<servername>/OLAP/msmdpump.dll.
jQuery
var store = new DevExpress.data.XmlaStore({
    url: "https://my-web-srv01/OLAP/msmdpump.dll",
    catalog: "AdventureWorksDW2012",
    cube: "Adventure Works"
});
var pivotGridDataSource = new DevExpress.data.PivotGridDataSource({
    // ...
    store: store
});Angular
import PivotGridDataSource from "devextreme/ui/pivot_grid/data_source";
import XmlaStore from "devextreme/ui/pivot_grid/xmla_store";
// ...
export class AppComponent {
    pivotGridDataSource: PivotGridDataSource;
    constructor() {
        this.pivotGridDataSource = new PivotGridDataSource({
            // ...
            store: new XmlaStore({
                url: "https://my-web-srv01/OLAP/msmdpump.dll",
                catalog: "AdventureWorksDW2012",
                cube: "Adventure Works"
            })
        });
    }
}If you have technical questions, please create a support ticket in the DevExpress Support Center.