Passing embedded data as web service parameters | XM Community
Skip to main content

Hello! 

 

I am trying to pass an embedded data value as a parameter in a webservice. However, instead of embedding the value of the data (as a random number), the webservice call gets the textual value of the embedded data. For example, if I set a embedded data called “random_id”, when I set the embedded data in a query parameter as `${e://Field/random_id}`, I get the full “${e://Field/random_id}” as the value for the parameter on the webservice/API call. See the picture below: 

 

That’s how the web service Test button works. It doesn’t replace piped fields with their values, it just passes the piping string.  The correct value will be resolved and sent when a actual response occurs.


Thank you! I can see now it works on the preview as well!