Setting connection string at runtime in trdf

2 posts, 0 answers
  1. Randy Hompesch
    Randy Hompesch avatar
    148 posts
    Member since:
    Nov 2008

    Posted 14 May 2019 Link to this post


    I accidentally posted this to the main report forum. Sorry for the duplicate. Anyhow … 

    I am using core and we have dev and production environments set up on different machines.
    How can I pass a connection string that is appropriate for the given environment to the .trdf report? I've tried everything I can think of.
    There was a long winded article with what seemed to be a very complicated way of doing something that should be simple.
    All I want is to read the appsettings.json file, pull the correct connection string from there and pass it to the .trdf at runtime.
    My kingdom for a simple example!
    Thanks ... Ed

  2. Silviya
    Silviya avatar
    418 posts

    Posted 17 May 2019 Link to this post

    Hi Ed,

    Please refer to set connection string at runtime for .trdf post where my colleague has already answered to your questions. 
    We will appreciate it if we continue the discussion in one of both threads, in order to keep a better track on the exchanged information.

    Best Regards,
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top