☝️Small business or a startup? See if you qualify for our special offer.
+
All documentation

olapstructureerror

[starting from version: 2.3]

It is triggered for "microsoft analysis services" and "api" data source types:

  • For Microsoft Analysis Services, olapstructureerror is triggered when some error appeared while loading the OLAP structure.
  • For the custom data source API, the event is triggered if the response to the /fields request was not received successfully.

To track when the structure starts loading, use loadingolapstructure. To make sure that structure was loaded, use olapstructureloaded.

Data passed to the handler

Parameter/TypeDescription
params
Object
Contains information about the event.
params.error
String
The error message returned from the server side.

Example

pivot.on('olapstructureerror', function (e) {
alert('Error with olap structure!' + e.error);
});

Check out on JSFiddle.

See also

olapstructureloaded
loadingolapstructure
unauthorizederror