Jump to content
We've recently updated our Privacy Statement, available here ×

How to use parameters in query of ElasticSearch data adapter


alex.glau
Go to solution Solved by plambert_1,

Recommended Posts

Hi,

I am testing ElasticSearch adapter in Jasper Studio for creating complex report including sub report. For this purpose i need to define parameter (like $P{SH_ID}) in the query of my sub report data source that looks like

{

    "query": {

        "terms" : {"linked_to" : "$P{SH_ID}"}

    }

}

 

Is such syntax supported in adapter? I don't get exception but I also not see results in sub report

 

Thank you

Alex

Link to comment
Share on other sites

  • 3 weeks later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...