Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Unable to set Report Parameters on Data Sets of XML URL data source
Unable to set Report Parameters on Data Sets of XML URL data source [message #1753052] Wed, 01 February 2017 13:05
Diljeet Singh is currently offline Diljeet SinghFriend
Messages: 2
Registered: February 2017
Junior Member
I am trying to set Report Parameters on data sets of a XML URL data source.

I have tried to set the XPath Expression as per my parameter but I am unable to get any results and is it possible to set multiple parameters in XPath Expressions?
I have also tried to add script in before open method but then I am getting blank column for the added parameter.
Here is the script :
if (params["RP_Country"] != null)
{
this.queryText ="table0#-TNAME-#table0#:#[/feed/entry/content/m:properties]#:#{d:id;STRING;/d:id},{d:first_name;STRING;/d:first_name},{d:last_name;STRING;/d:last_name},{d:country_name;STRING;/'"+params["RP_Country"].value+"'}";
}

I have attached the xml file with this post which is returned by the URL.
Previous Topic:Trouble using a Joint Data Set on a Data Cube for a Cross Tab
Next Topic:Can't SUM the Measures in a cross tab
Goto Forum:
  


Current Time: Sat Apr 27 02:07:15 GMT 2024

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

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

Back to the top