Jump to content
Changes to the Jaspersoft community edition download ×

adding a JSON URL parameter


dmoroney

Recommended Posts

The JSS v7.1.0 User Guide->Data Adapters->Configuring a Parameter Using the Data Adapter Tab in the Dataset and Query Dialog isn't clear about how to add a parameter that uses JSON.

I have a working Data Adapter with all of the needed URL parameters hard coded. I want to override the json_data={"operation":"list_operations"} URL parameter in the report design view with a new JSON Value as needed. The json_data Parameter Name would remain unchanged.

Attempting to use the JSON as the Default Value Expression throws a compile-time error like "Expression expected instead value = {"operation":"list_operations"}; //$JR_EXPR_ID=0$"

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

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...