relative address to profiles [message #368939] |
Tue, 07 July 2009 17:35  |
Eclipse User |
|
|
|
Hello,
We would like to use relative address for profiles in reports. Currently
absolute address is used, and this is not working for us when moving
files from development machine to test or production.
Currently, we have number of reports that we would like to move to
production, but in order to do so, sys admin must change location for
each report.
Can someone point me to right direction how to change location of profiles?
Thanks a lot for your help,
Mira
|
|
|
|
|
|
Re: relative address to profiles [message #736103 is a reply to message #736029] |
Thu, 13 October 2011 11:21  |
Eclipse User |
|
|
|
Ronak,
You could always put the connection profile in the resource folder and
in the beforeOpen script of the data source use a script like:
myresourcefolder = reportContext.getDesignHandle().getResourceFolder();
this.setExtensionProperty("OdaConnProfileStorePath",
myresourcefolder+"/myprofile.dat");
Jason
On 10/13/2011 7:57 AM, Ronak wrote:
> Hi,
>
> I had created the Template using BIRT and Connection Profile (datasoure).
> The template works fine for me.
>
> But when I send the report to user he need to change the connection
> profile path of his location...which is not good.
>
> What I want is that when the template used by user the profile path it
> should find himself. I thik here we need to use the relative path.
>
> I dnt know how to use this.
>
> can anyone help me in this. My connection profile name is xsProfile and
> I am using BIRT 3.7
>
> Thanks
|
|
|
Powered by
FUDForum. Page generated in 0.35242 seconds