File Path as a parameter [message #669616] |
Tue, 10 May 2011 23:52 |
|
Hi All,
i have developed a report in BIRT2.6.2, which has xml file as data source. Hence i have passed the parameter in property binding in data source as File path (params["xmlFilePath"]) and created the parameter in Report parameter as xmlFilePath. While running report in pdf format, i am not getting output, but in HTML and Web viewer i am getting output. Please assist me in this.
Thanks & regards.
JP
|
|
|
Re: File Path as a parameter [message #669639 is a reply to message #669616] |
Wed, 11 May 2011 02:12 |
|
JP
Can you try using the beforeOpen script instead of property binding?
this.setExtensionProperty("FILELIST", params["xmlFilePath"].value );
Jason
On 5/10/2011 7:52 PM, JP wrote:
> Hi All,
>
> i have developed a report in BIRT2.6.2, which has xml file
> as data source. Hence i have passed the parameter in
> property binding in data source as File path
> (params["xmlFilePath"]) and created the parameter in Report
> parameter as xmlFilePath. While running report in pdf
> format, i am not getting output, but in HTML and Web viewer
> i am getting output. Please assist me in this.
>
> Thanks & regards.
> JP
|
|
|
Re: File Path as a parameter [message #671012 is a reply to message #669639] |
Mon, 16 May 2011 14:26 |
|
Thanks Jason,
I have set that script in beforeOpen at datasource level, but still i am not getting output. But in some other PC we are able to get output with property binding also. Hence i have compared system settings with that PC, found both are same. I am unable to get this my pc only.. Please assist me.
Thanks,
JP
|
|
|
Re: File Path as a parameter [message #671040 is a reply to message #671012] |
Mon, 16 May 2011 15:25 |
|
how are you running it?
Jason
On 5/16/2011 10:26 AM, JP wrote:
> Thanks Jason,
>
> I have set that script in beforeOpen at datasource level,
> but still i am not getting output. But in some other PC we
> are able to get output with property binding also. Hence i
> have compared system settings with that PC, found both are
> same. I am unable to get this my pc only.. Please assist
> me.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03723 seconds