Despite the COVID-19 outbreak, our team continues operating at full speed. We are always here to support and answer all your questions.

Feel free to reach out by filling this quick form.

Fill the form
Get Free Trial

Custom DataSource API Error message from server.

Parmod asked on March 16, 2021

Hi Flexmonster,

How can I add custom error message handle for Datasource API?


1 answer

Vera Didenko Vera Didenko Flexmonster March 16, 2021

Thank you for writing to us. 
Flexmonster provides the olapstructureerror and the queryerror events that can be used to detect when an error occurs. 
Using these events, you could provide your custom error handling logic.
Also, it is possible to customize the error messages via localization
Here is a link to the error messages defined for the custom data source API in the localization file.
We would like to mention that localization can be specified fully via file or partially by specifying specific labels (see example). 
Please let us know if this helps.
Kind regards, 

Please login or Register to Submit Answer