|
Re: Share one single rptlibrary for a tree of Reports [message #782401 is a reply to message #781653] |
Mon, 23 January 2012 16:50 |
|
Do you mean in the designer or deployed? In the deployed you should be
able to just set the resource folder in the web.xml to the Root
directory. In the designer set the resource folder in the
window->preferences->Report Design->Resource preference.
Jason
On 1/21/2012 6:06 PM, Alessio Pollero wrote:
> I want to deploy my Reports in a tree of hierarchical folder, all
> reports have some items that are imported from a library(rptlibrary), i
> can share one unique library file in the root of the folder tree with
> all my reports in the subfolder ? How ?
> For exmaple i have :
>
> -Root
> commonObjects.rptlibrary
> --SubFolder1
> AReport.rptdesign
> --SubFolder2
> Report.rptdesign
> --SubFolder
> Report.rptdesign
|
|
|
|
Re: Share one single rptlibrary for a tree of Reports [message #782833 is a reply to message #782486] |
Tue, 24 January 2012 14:43 |
|
If you are using the Engine api just set the resource path on the
EngineConfig instance:
config.setResourcePath(resourcePath)
Jason
On 1/23/2012 3:13 PM, Alessio Pollero wrote:
> No, i mean using deployed but not using web application but using a
> standalone application(that implements Runtime API) that execute the
> reports, i have to set the resource folder also in the runtime engine ?
|
|
|
|
Re: Share one single rptlibrary for a tree of Reports [message #783025 is a reply to message #782918] |
Tue, 24 January 2012 23:00 |
|
That should work. Is the resourcePath a fully qualified path?
Jason
On 1/24/2012 1:14 PM, Alessio Pollero wrote:
> Yes, i have tried but it doesn't work ... I mean i have a
> library(rptlibrary) where i have put inside some embedded images, then i
> have loaded these images in several reports(rptdesign), if the
> rptlibrary is in the same folder of the report definition (rptdesign)
> when i load the report i have no problem(images are displayed), if i
> move the library into another folder (resources folder) and then i set
> the resource path with :
> config.setResourcePath(resourcePath)
>
> when i run the reports the images are not displayed ... Why ? Is it a bug ?
>
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06409 seconds