what is the system id of the report design? [message #760844] |
Mon, 05 December 2011 12:34 |
Mike Messages: 3 Registered: October 2011 |
Junior Member |
|
|
Hi,
I have to work with some code that uses BIRT engine and I don't understand why the code accepts as a system id of the report design only the path of a sample file!!!
The function I'm talking about is the "openReportDesign" of the "ReportEngine" class:
public IReportRunnable openReportDesign(java.lang.String name,
java.io.InputStream designStream)
throws EngineException;
The same file is referenced in the templates as:
<property name="FILELIST">C:\Document Generator\birt\templates\reports\sample.xml</property>
but I fail to make the connection...
(The above path doesn't exist on the system that the app has been deployed.
The path provided with the "openReportDesign" function as a system id is valid though, and points to that sample.xml file...)
What is this system id value and what kind of string data can be accepted as a system id?
Thanks,
Mike
[Updated on: Mon, 05 December 2011 15:38] Report message to a moderator
|
|
|
Re: what is the system id of the report design? [message #761002 is a reply to message #760844] |
Mon, 05 December 2011 19:01 |
|
Mike,
I am not 100% on what you are asking. That call expects the an input
stream with the design in it. The name is just the name of the report.
Jason
On 12/5/2011 7:34 AM, Mike wrote:
> Hi,
>
> I have to work with some code that uses BIRT engine and I don't
> understand why the code accepts as a system id of the report design only
> the path of a sample file!!!
>
> The function I'm talking about is the "openRepostDesign" of the
> "ReportEngine" class:
>
> public IReportRunnable openReportDesign(java.lang.String name,
> java.io.InputStream designStream)
> throws EngineException;
>
> The same file is referenced in the templates as:
> <property name="FILELIST">C:\Document
> Generator\birt\templates\reports\sample.xml</property>
> but I fail to make the connection...
>
> (The above path doesn't exist on the system that the app has been deployed.
> The path provided with the "openReportDesign" function as a system id is
> valid though, and points to that sample.xml file...)
>
>
> Thanks,
>
> Mike
|
|
|
Powered by
FUDForum. Page generated in 0.03274 seconds