beginBatch(bIgnoreError: Boolean);
bIgnoreError. Indicates whether batch queries are processed independently. Available values:
true. Batch queries are processed independently.
false. Batch queries are not processed independently.
The beginBatch method enables batch mode of sending queries.
Batch query sending mode is disabled by the BiService.endBatch method.
To execute the example, the HTML page must contain the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component).
Enable batch query sending mode:
// Enable batch query sending mode eaxMdService.beginBatch();
Then execute some operations that require server response, for example, expand a node in the selected dimension.
The query for getting node children is added to the query execution queue.
Disable batch query sending mode:
// Disable batch query sending mode eaxMdService.endBatch();
After disabling batch sending query mode the whole query queue is initialized, the node children are displayed.
See also: