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.

Answered
Parmod asked on March 16, 2021

Hi Flexmonster,

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

Attachments:
Capture.PNG

1 answer

Public
Vera Didenko Vera Didenko Flexmonster March 16, 2021

Hello,
 
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, 
Vera

Please login or Register to Submit Answer