How to dynamically set the Service Url field of a Web Service Data Source

3 posts, 0 answers
  1. Edward
    Edward avatar
    58 posts
    Member since:
    Oct 2018

    Posted 18 Oct 2018 Link to this post

    Have a Web Service Data Source in the Report Designer.  Want to set the Service Url field dynamically based on report parameter passed in.  Is this possible?  That field doesn't have an Expression option.  It's just a text field...

     

  2. Edward
    Edward avatar
    58 posts
    Member since:
    Oct 2018

    Posted 19 Oct 2018 Link to this post

    Was going about this the wrong way initially- using the Report Designer... instead of using the Report Library and defining my own reports with access to underlying C# classes and api's.  This would give me better controls and accessibility. 
  3. Silviya
    Admin
    Silviya avatar
    354 posts

    Posted 23 Oct 2018 Link to this post

    Hello Edward,

    I suggest to provide the Service Url as an inline parameter, i.e Service Url property of the WebServiceDataSource can be set as an inline parameter @Url, and then the value of @Url can be provided as an Expression (i.e. taken from a Report Parameter) so that its value to be evaluated run time. Please refer to this screen shot - https://www.screencast.com/t/jtcgJ2EAK

    Regards,
    Silviya
    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