Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
XML dataset parameters
Patrice
Hi all,<br />
<br />
How do I set parameters in a XML dataset URL ?<br />
Something like <a class='bbc_url' href='
http://mydatasourceserver/mydataset?param1=value1¶m2=value2'>http://mydatasourceserver/mydataset?param1=value1¶m2=value2</a><br
/>
<br />
Thanks for help
Find more posts tagged with
Comments
rmurphy
Hi Patrice,<br />
You can use the beforeFactory event of the data source and manipulate the FILELIST property. Here is a basic example of the code:<br />
<br />
this.setExtensionProperty("FILELIST", this.getExtensionProperty("FILELIST") + params["ParameterStringToAppendToURL"]);<br />
<br />
You can download a sample BIRT 2.2.2 report from here:<br />
<a class='bbc_url' href='
http://www.birt-exchange.com/devshare/designing-birt-reports/533-parameter-driven-xml-data-source-url/'>Parameter
Driven XML Data Source URL - Designs & Code - BIRT Exchange</a><br />
<br />
The above link also contains a link to a live example.<br />
<br />
Rob