How to use a parameter in a JSON Data Adapter URL?

0

In Jaspersoft Studio 6.2.1 I've created a JSON file data adapter with a URL like: https://localhost/api/events/date%3A06-01-2009?api_key=XXXXXXXXXXXXXXXXX...

This works well, but I want to use a parameter in this URL like: https://localhost/api/events/date%3A +$P{Datum}+ ?api_key=XXXXXXXXXXXXXXXXXXXXXXXX

So far I'm unable to get this to work, is this possible and if so how do I implement this?

Thnx Remco

 

rtiel's picture
19
Joined: May 23 2013 - 1:07am
Last seen: 3 months 2 weeks ago

i have done this..created a custom data adapter.

then you could create a subreport and pass this in via string.

 

works fine

Perko - 1 year 4 months ago

0 Answers:

No answers yet
Feedback
randomness