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

emir_Fer

Members
  • Posts

    3
  • Joined

  • Last visited

emir_Fer's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Hi, I have a cascading multiselect input parameter in a report on jasper server. I am populating the first multiselect with a query(first parameter).The other one depends on the first multiselect(second parameter). I am accesing the reports and input controls with rest api java client (jrs). While i can get both input parameter id-s , i dont know how to get the values from the input parameters to populate a list. Thanks for any help
  2. Hello, I am working with the Rest Api of Jasper using the Java client: jrs-rest-java-client. I am able to run(asinhronus mode) a custom report from the Jasper server and retrive it in a inputstream, output format is set to html. My first question is, when i get an inputstream, how do i display the report it in a html page, jsp page...generally web enviroment ? Currently i convert the inputstream to a string and then display the string in a jsp page like this: <%=request.getAttribute("report") %> where report is the string from the inputstream conversion. Don´t know weather thats ok, but it shows the report. Just want to get som guidlines. Second question is, updating input parameters. When i update the input parameters with OperationResult<InputControlStateListWrapper> operationResult = session .inputControlsService() .inputControls() .container("/reports/someCustomReport") .values() .parameter("parameter1", "4") .run();InputControlStateListWrapper result = operationResult.getEntity();[/code]i get the updated parameters from result.getInputControlStateList().get(0).getValue() and it shows 4 for the "parameter1" (default is 1). How do i get the updated report ? Do i have to run it somewhere again? What does the run() function do ? I would like to have a html input field where user would set a input value like a integer and then pass that value to the .parameter() function and get an updated report with the new input parameters. Thanks
  3. Do I need a Jasper server pro version for the usage of this feauture or is it posible with the community edition ?
×
×
  • Create New...