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

Notification

Icon
Error

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

Rank: Newbie

Groups: Registered
Joined: 9/13/2018(UTC)
Posts: 1
India

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

Rank: Administration

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

Thanks: 7 times
Was thanked: 78 time(s) in 76 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.