Load Report Libraries Dinamically [message #659217] |
Fri, 11 March 2011 10:18  |
Eclipse User |
|
|
|
I have an application that's used by several companies but have the same reports, I have a library with all data sets and another with a the master pages for each company (logo, address and so on)
right now i have a directory for each customer, with all the reports on each directory, loading the customer library and the shared library.
This works but is a pain to mantain, is there a way to dynamically load a library, or specify the directory on a parameter or something of the sort, so I could have a single report, for every customer.
thanks in advance
Jose Suero
|
|
|
Re: Load Report Libraries Dinamically [message #659232 is a reply to message #659217] |
Fri, 11 March 2011 10:35   |
Eclipse User |
|
|
|
I assume you mean the Viewer resource folder. You can set it on the url
like &__resourceFolder=locationofresourcefolder
Jason
On 3/11/2011 10:18 AM, ms@mstn.com wrote:
> I have an application that's used by several companies but have the same
> reports, I have a library with all data sets and another with a the
> master pages for each company (logo, address and so on)
>
> right now i have a directory for each customer, with all the reports on
> each directory, loading the customer library and the shared library.
>
> This works but is a pain to mantain, is there a way to dynamically load
> a library, or specify the directory on a parameter or something of the
> sort, so I could have a single report, for every customer.
>
> thanks in advance
>
> Jose Suero
|
|
|
|
|
|
|
|
Re: Load Report Libraries Dinamically [message #659555 is a reply to message #659279] |
Mon, 14 March 2011 10:57  |
Eclipse User |
|
|
|
Jose,
It looks like the viewer parameter requires a full path for the resource
folder. Can you log a bug to fix this? The only work around I could
think of was to write a driver report that gets the local path of the
deployed app and then forwards to the report using the local path as a
resource folder parameter.
Jason
On 3/11/2011 2:39 PM, ms@mstn.com wrote:
> I tested the resource folder and it works if I put a absolute path:
>
> /u01/app/glassfishv3/glassfish/domains/domain1/applications/
> birt/REPORTS/CLIENT1
>
> but I haven't been able to figure out how to use a relative path
>
> thanks again
>
> Jose
|
|
|
Powered by
FUDForum. Page generated in 0.04895 seconds