How can I Provide custom data sets to my web report designer in my angular applicaiton

1 Answer 53 Views
General Discussions Report Designer - Web Report Viewer - Angular
rana
Top achievements
Rank 1
rana asked on 12 Jul 2024, 09:48 AM | edited on 12 Jul 2024, 01:00 PM
Hello team Telerik

I've implemented your web report designer in my angular application and now I want to ask that how can I provide data to It

Basically my main purpose is that I want my user to generate report with the data set I've provided in my application like if there is a return generated in my application and my user want to design report of that return how can I bind my data (in what format) in a way that when he open a web designer he gets that data automatically and then he design and export that report by himself 
Is this functionality is available in your web designer for angular or not? 

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 15 Jul 2024, 02:51 PM

Hello Rana,

Thank you for the provided information!

Based on the description, the SharedDataSource component should be the correct one to use. It allows you to create pre-defined data source components that the end users can add to their reports with a few clicks, and then design the reports with the data available to those components.

Please visit the SharedDataSource Component at a Glance - Telerik Reporting article for more details on the topic.

Regards,
Dimitar
Progress Telerik

Stay tuned by visiting our roadmap and feedback portal pages, enjoy a smooth take-off with our Getting Started resources, or visit the free self-paced technical training at https://learn.telerik.com/.
rana
Top achievements
Rank 1
commented on 18 Jul 2024, 09:46 AM

Hey Dimitar,

Thankyou for you response

But I want to ask that is it possible that we make a connection string with database by default like from the backend or in json format so that when the user open the designer in our application he directly gets data without getting the connection pop-up.

If this is possible could you please guide me regarding this.

Dimitar
Telerik team
commented on 22 Jul 2024, 01:02 PM

By default, the SqlDataSource Component uses a shared connection - Connecting to a SQL Database at a Glance - Telerik Reporting, which means that the value of the ConnectionString property of the SqlDataSource in the design will be treated as the name of the connection, and the actual connection string will be resolved by the configuration loaded by the application, which for .NET web applications is usually the appsettings.json file.

If you wish to load the connection from a different configuration file or if you wish to limit what connections a user should be able to connect to, you may create a custom implementation of the ISettingsStorage interface.

Then, an instance of said implementation must be set to the ReportDesignerServiceConfiguration.SettingsStorage property for the Web Report Designer to use it. 

Tags
General Discussions Report Designer - Web Report Viewer - Angular
Asked by
rana
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or