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

jyka.saario

Members
  • Posts

    2
  • Joined

  • Last visited

jyka.saario's Achievements

Newbie

Newbie (1/14)

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

Recent Badges

0

Reputation

  1. Hello! I have case where I try to do hide text field from frame, when it's empty. Exmplate: I have put frame into report -> set Layouts to horizontal Layout. Added three text fields to frame -> Selected "Remove line when empty" for all three text fields and set position type to Float. I leave text field in the middle empty "Col 1" "Col 3" What I try to achieve, is to have middle, empty field to disappear and two other to fill it's placce, like this: "Col 1""Col 3" This works just as expected, when using vertical layout, but I cannot get same kind of behavior with horizontal layout. Is there way to get that done???
  2. Hello! I’m struggling with REST API (v2). Here is my case: I need to pass parameters to my SQL query what uses SQL IN. I found several examples where this is explained. In Jasper Studio (latest version), my parameter is named as ID_ARR. Param class is set to java.util.Collection (have tried List as well). Only name & class is set for parameter. In SQL this is used like: where $X{IN, id, ID_ARR} All works like charm when I use preview in my Jasper Studio. Now I need to run this report via REST API request. This is URL for report: http://localhost:8080/rest_v2/reports/Reports/TestReport.pdf?interactive=true&onePagePerSheet=false&freshData=true&saveDataSnapshot=false&ID_ARR=1469&ID_ARR=1470&ID_ARR=1471&ID_ARR=1472&ID_ARR=1473 Report will be returned just fine, BUT ID_ARR variable remains always empty and all data is returned from table, so where IN is not executed at all? Any ideas what I’m doing wrong? I use latest JasperStudio & Jasper Server (6.4.0)
×
×
  • Create New...