Welcome Guest! To enable all features please Login or Register.



Go to last post Go to first unread
#1 Posted : Thursday, September 20, 2018 1:26:50 PM(UTC)

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 ?
#2 Posted : Friday, September 21, 2018 6:17:29 AM(UTC)

Rank: Administration

Groups: Administrators
Joined: 12/20/2013(UTC)
Posts: 653

Thanks: 9 times
Was thanked: 111 time(s) in 108 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.
Users browsing this topic
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.