adcooney Posted November 13, 2009 Share Posted November 13, 2009 Hi,If I have a parameter - $P{year} = "2009", is it possible to use the parameter inside a field XPath query, such that I could do something like:/data[year=$P{year}] and then the $P{year} would get replaced by the String value of $P{year} creating my query /data[year=2009] Or if there is an alternative solution (without hard-coding the value). Link to comment Share on other sites More sharing options...
Solution Giulio Toffoli Posted November 16, 2009 Solution Share Posted November 16, 2009 I think you should be able to filter the query in that way (using the parameter in the query, maybe using the syntax $P!{param}, note the exclamation mark after the $P).If this does not work, you can still set a filter expression (in the query dialog there is a button to set it). Giulio Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now