Seal Report Forum
»
Report Edition
»
Data Source Creation
»
How to pass connection string to Seal Web Server ?
Rank: Newbie
Groups: Registered
Joined: 9/13/2018(UTC) Posts: 1 Thanks: 2 times
|
I am trying to embed Seal Reports into a web application. I am using the WebInterface APIs to execute and get the reports. I want to make the database connection string configurable so that I can change the connection string when deploying the application. I tried looking up the web.config of the SealWebServer but couldn't find any setting parameter for this ? How do I configure the connection string ?
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 12/20/2013(UTC) Posts: 1,209 Thanks: 14 times Was thanked: 206 time(s) in 199 post(s)
|
the connection string is defined in the data source... so if you want to make it dynamic for the Web Report Server, you may try to modify the Init script executed when a report is executed: You can edit it from Sever Manager->Configuration->Configure Server->'Init Script'
Then you have the possibility to change the connection depending on the user logged (got from report.SecurityContext). This requires knowledge of C# and the Seal Report object model. Good luck.
|
|
|
|
Seal Report Forum
»
Report Edition
»
Data Source Creation
»
How to pass connection string to Seal Web Server ?
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.