Unable to set Report Parameters on Data Sets of XML URL data source [message #1753052] |
Wed, 01 February 2017 13:05 |
Diljeet Singh 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.
|
|
|
Powered by
FUDForum. Page generated in 0.02541 seconds