AR 13 JSReport Viewer Passing Parameter

Posted by: coreyp on 29 May 2019, 2:20 am EST

    • Post Options:
    • Link

    Posted 29 May 2019, 2:20 am EST

    I would like to pass a parameter from the JSViewer back to the report so that I can dynamically build up the connection string for the data source. I am using rpx files for my reports. It would be very helpful if you could show me how to first get the parameter to the report and then how to access it and dynamically update the connection string on the data source before the report is generated, as my databases are unique per customer.

    Thanks,

    Corey

  • Posted 29 May 2019, 2:20 am EST

    JSViewer, not JSReport :slight_smile:

  • Posted 29 May 2019, 8:45 pm EST

    Hello,

    You need to use the UseCustomStore to achieve your requirement. I have made the sample for you. Please refer to the attachment.

    To learn basic about JSViewer, please refer to the following link:

    https://help.grapecity.com/activereports/webhelp/AR13/webframe.html#ViewingreportsusingJSViewer.html

    Note: Please change the path and reference if you have a different version.

    Thanks,

    Mohit

    JSViewer - CHECK.zip

Need extra support?

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

Learn More

Forum Channels