We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Add new datasources to designer at runtime

The program I wrote connects to data via Web API. I added the ReportDesigner tool to the application so that users can design new reports. When I manually select the API address and add a sample API endpoint to ReportDesigner as a datasource, it works fine.

There are around 30 and frequently updated API endpoints defined in the system.

What I want to do is: I will ask what kind of report the user wants to prepare. Afterwards, while the user opens the report design screen, I want to be able to add the relevant data sources to the report from the API endpoints defined in the system, according to the user's selection.

For example: There may be different data sources when preparing a stock report and different data sources when preparing a sales report. These data sources should come ready to the user.

I am using Blazor and C# coding infrastructure

I would be very grateful if you could help me figure out how to do this.

Best regards.

1 Reply

AM Arumugasami Murugesan Syncfusion Team March 27, 2023 07:49 AM UTC

Hi Seckin Karabacakoglu,

Thanks for contacting Bold Reports support.

Please refer to the below documentation to add the data source and dataset for Report Designer from application.



Arumugasami M

Live Chat Icon For mobile
Up arrow icon