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

Notification

Icon
Error

Options
Go to last post Go to first unread
cyracks  
#1 Posted : Friday, July 3, 2020 3:45:38 PM(UTC)
cyracks

Rank: Member

Groups: Registered
Joined: 6/5/2020(UTC)
Posts: 12
Slovenia

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ž
epf  
#2 Posted : Monday, July 6, 2020 7:22:53 AM(UTC)
epf

Rank: Administration

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

Thanks: 14 times
Was thanked: 154 time(s) in 148 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.
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.