Parameter in web serviced data source

2 posts, 1 answers
  1. Nithin
    Nithin avatar
    67 posts
    Member since:
    Mar 2018

    Posted 01 Jun Link to this post

    Hi,

    Currently, we have 4 options (Header, Query, Inline, Cookies)  for setting parameters in Http request of web serviced data source. Using these options we are able to set report parameter as the parameters for the Http request of web serviced data source. Instead of that how can we pass parameter inside the body of Http request? Current we are able to send parameter inside the body statically. Is have any other way to bind the value of the parameter inside the body from report parameter.

  2. Answer
    Peter
    Admin
    Peter avatar
    1641 posts

    Posted 06 Jun Link to this post

    Hi Nithin,

    The Web Service Datasource supports inline parameters. The inline parameters are parameters that are used to replace parameter placeholder (@param1) in the URL and the Body fields with the expression result or static value.

    For example in the following body the @param1 parameter placeholder will be replaced with the actual parameter value.

    key1=@param1

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