Rank: Member
Groups: Registered
Joined: 6/5/2020(UTC) Posts: 12 Thanks: 4 times
|
Hello,
when defining path of a Sub Report absolute path is required. Is it possible to set relative path ?
I have: %SEALREPOSITORY%\Reports\DEV\Reports\Accounting\Report 1.srex %SEALREPOSITORY%\Reports\DEV\Reports\Accounting\Report 2.srex
When setting path of (sub)Report 2 full path must be set so if I move from folder DEV to PROD the (sub)report path must also be changed. I tried to set ..\Report 2.srex or just Report 2.srex, but it did not work.
Is there any workaround ?
Regards, Tomaž
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 12/20/2013(UTC) Posts: 1,209 Thanks: 14 times Was thanked: 206 time(s) in 199 post(s)
|
no workaround for this, if yo want to keep this, you may change the path in the data source file before the deployment... this can be automated easily by creating a report having a task doing the job (few lines of c#).
other option is to modify the path in the 'Report Execution Init Script' that can be defined using the Server Manager->Configuration->Configure Server... but it is bad to execute a script before each report execution so you loose CPU and a few milliseconds.
|
|
|
|
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.