This is a migrated thread and some comments may be shown as answers.

Parameter in web serviced data source

1 Answer 387 Views
Report Designer (standalone)
This is a migrated thread and some comments may be shown as answers.
Nithin
Top achievements
Rank 1
Nithin asked on 01 Jun 2018, 12:07 PM

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.

1 Answer, 1 is accepted

Sort by
0
Accepted
Peter
Telerik team
answered on 06 Jun 2018, 10:38 AM
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
Tags
Report Designer (standalone)
Asked by
Nithin
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or