Report parameters in JSVIewer are not being passed to server for section Report

Posted by: peter on 24 July 2019, 8:46 am EST

    • Post Options:
    • Link

    Posted 24 July 2019, 8:46 am EST

    I am experimenting with the JSViewer to ensure it will work as required for my existing code based Section Reports. I created a simple report with a parameter, and updated the call to the JSViewer to pass in a value.

    When the Parameter is defined in the designer as “prompt User” = true, it works as expected - the report is called with the initial value passed in javascript, and the user is able to change it on screen and re-run the report (debug.print is used for now to verify this). However if I change the designer to “prompt User” = false, the default value passed in via GrapeCity.ActiveReports.JSViewer.create is NOT reflected on the server (the parameter is empty, or just has the designer’s “Default” value).

    Can you confirm this is a bug? I have several parameters I need to pass to a report, and will be using a separate criteria webpage to gather these - and ideally just pass them through via the JSViewer.create call.

    JSViewer_MVC customised.zip

  • Posted 24 July 2019, 8:56 am EST

    Peter,

    Yes, it is a bug. However, it is fixed in the latest build. You can download the same from the following link:

    http://cdn.grapecity.com/ActiveReports/AR13/hotfixes/ActiveReports-v13.1.17688.0.msi

    Thanks.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels