Set Connection string in .Net Core JSViewer

Posted by: rwatts on 30 June 2021, 8:31 am EST

    • Post Options:
    • Link

    Posted 30 June 2021, 8:31 am EST

    Hello,

    We are adding the JSViewer to our .NET Core application. I am loading an rldx report which works fine, but because we will be deploying the rldx file to multiple clients, I need to be able to set the sql connection string programmatically at runtime since the connection will be different per install. Is this possible with the jsViewer in .Net Core? I’m able to do this in our older web forms application with the standard viewer, but I haven’t been able to find a way to change the connection string in .Net Core jsViewer.

    Thank you!

    Richard

  • Posted 1 July 2021, 2:28 am EST

    Hello,

    You can use the UseCustomStore member of the JSViewer reporting service to change the connection string of the report. Please refer to the following link for the same:

    https://www.grapecity.com/forums/activereports/help-for-usecustomstore-rd

    Thanks,

    Mohit

  • Posted 1 July 2021, 8:04 am EST

    Hi Mohit,

    Thank you that worked perfectly.

    Thanks!

    Richard

Need extra support?

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

Learn More

Forum Channels