Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » File Path as a parameter
File Path as a parameter [message #669616] Tue, 10 May 2011 23:52 Go to next message
JP Redro is currently offline JP RedroFriend
Messages: 181
Registered: July 2009
Location: India
Senior Member

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 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

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 Go to previous messageGo to next message
JP Redro is currently offline JP RedroFriend
Messages: 181
Registered: July 2009
Location: India
Senior Member

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 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

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.
Re: File Path as a parameter [message #673585 is a reply to message #671040] Tue, 24 May 2011 07:59 Go to previous messageGo to next message
JP Redro is currently offline JP RedroFriend
Messages: 181
Registered: July 2009
Location: India
Senior Member

i am running at development area run as pdf.


Thanks,
JP
Re: File Path as a parameter [message #673749 is a reply to message #673585] Tue, 24 May 2011 15:14 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

JP,

This should work with the beforeOpen script. Are you getting anything
in the log file?

Jason

On 5/24/2011 3:59 AM, JP wrote:
> i am running at development area run as pdf.
>
Previous Topic:Missing styles after exporting to report library
Next Topic:file browser \ calendar picker on paramater
Goto Forum:
  


Current Time: Fri Apr 19 16:25:52 GMT 2024

Powered by FUDForum. Page generated in 0.01990 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top