This is a migrated thread and some comments may be shown as answers.

SQL Connection

1 Answer 94 Views
Report Designer (standalone)
This is a migrated thread and some comments may be shown as answers.
Andrew
Top achievements
Rank 1
Andrew asked on 20 Dec 2016, 05:27 PM
Hello

I've design some reports in the Report Designer and they're working great, but what I need to do is to change the DB being connected to when I load the report.  The idea would be to pass a connect string to the Report Rest Service, as we already pass the filename for the report.  Is this possible?  

Thanks
Andrew

1 Answer, 1 is accepted

Sort by
0
Katia
Telerik team
answered on 21 Dec 2016, 10:51 AM
Hi Andrew,

Check the approach suggested in Changing the connection string dynamically according to runtime data Kb article. This is a sample approach demonstrating how to iterate over report's inner data items DataSource properties and can be modified according to your scenario.

To be used with HTML5 Report Viewer, the modifications need to be placed in the Resolve method of a custom resolver used by the Reporting REST service.


Regards,
Katia
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Report Designer (standalone)
Asked by
Andrew
Top achievements
Rank 1
Answers by
Katia
Telerik team
Share this question
or