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

siddharth.goel

Members
  • Posts

    12
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Posts posted by siddharth.goel

  1. I am using REST as the datasource in my JasperReports Server instance. The response from REST endpoint is like follows :

    {  "field1" : "value1",  "field2" : "value2",   .   .   .   "field20" : "value20",   "fieldsToReport" ": ["field2", "field7", "field13", "field18"]}[/code]

    Now I want to generate a dynamic report with two columns "Field name" and "Field value". How many rows land into the report depends on "fieldToReport" field. So for example for the above data, the report will only show 4 rows i.e. field2, field7, field13 and field18 .

    One of the way to do this is get the field name from "fieldToReport" and use that field name in the field mapping expression. But as I was trying it I realized that field mapping expression does not evaluate $F expression. Now I am not sure whether I am writing incorrect expresison or there is some other better way to solve this?

  2. Hey @devdio ,

    It is a co-incidence that I have also started to work on something similar. In my opinion, it is possible to solve this without modification in Web Service plugin if we use scriptlets to get the fancy token's etc. But I still need to investigate on this. Feel free to connect with me at http://urlgone.com/13f36a/ to discuss more on the topic outside this channel.

     

    Cheers,
    Siddharth

  3. In JasperReport I have implemented validation logic of the input control parameters. Now the problem is that when I throw a JRScriptletException from my code then I can see the error stack trace on JasperReports Server page. I want to achieve that the JasperReport server page should show a dialog box with a meaningful error message upon failing a validation. How can I achieve the same?


×
×
  • Create New...