Jump to content
We've recently updated our Privacy Statement, available here ×
  • How to pass report parameter values in URL for a multi-select list input control


    vchiem
    • Features: Parameters Version: v6.1 Product: JasperReports® Server

    Issue:

    The report contains the input control as "Users", which can be used to select multiple users. We need to pass the values for the input control "Users" through a URL. 

    We constructed the url as follows with the 'USERS' parameter in the URL: 

    http://localhost:8080/jasperserver-pro/flow.html?_flowId=viewReportFlow&.....&USERS=[SMITHJ, DOEJ, CHANW, BROWNA] 
    
    

    but this does not work. How to pass the list of parameter values through the url ? 

     


     

    Solution:

    For each value of the multi-select parameter list that you want to pass, also add the parameter name to the URL as such:

    http://localhost:8080/jasperserver-pro/flow.html?_flowId=viewReportFlow&.....&USERS=SMITHJ&USERS=DOEJ&USERS=CHANW&USERS=BROWNA
    

    User Feedback

    Recommended Comments

    There are no comments to display.



    Guest
    This is now closed for further comments

×
×
  • Create New...