Jump to content
We've recently updated our Privacy Statement, available here ×
  • How to Pass a Report Saved Values as a parameter in the URL using HTTP API


    asimkin

    Question:

    I use JasperReports Server HTTP API to embed it in my custom application. I have a report with a number of pre-saved unput controls values (report Saved Values feature).

    How can I pass required saved values name as a parameter in the URL to consider the pre-sepected values?


    Answer:

    Instead of using reportUnit URL parameter to call a report directly, you should use reportOptionsURI parameter to specify required Saved Values URI:

    http://localhost:8080/jasperserver-pro/flow.html?_flowId=viewReportFlow&standAlone=true&reportOptionsURI=%2Fpublic%2F64455%2Ftest_Raph%2FOptions&ParentFolderUri=%2Fpublic%2F64455%2Ftest_Raph

    The Saved Values URI can be found within JasperReports Server UI, using Properties context menu of the Saved Values:

    SavedValuesURI.png.b3ebc9aaa74dc8b3c5c1e9373dacc2a8.png

     


    Ref. Case #00068313


    User Feedback

    Recommended Comments

    There are no comments to display.



    Guest
    This is now closed for further comments

×
×
  • Create New...