Hi,
I'm trying to retrieve a multivalue field from a document and post it to a web service using the "HTTP Form Post" activity. Unfortunately the web service is only receiving the first value from the multivalue token.
On the "Retrieve Field Values" activity I have ticked the "All Values (as a multi-value token)" option (see screenshot) and I can see with a token tracker that all values are retrieved.
The token that I am posting is "%(RetrieveFieldValues_Additional Text Fields_All)"
But no matter what I only ever get the first value, is this a bug or am I doing something wrong?
I have access to the code of the web service, it is in C#. What structure should the value be on the webservice? I was assuming it should be List<string> or IEnumerable<string>. These both gives me the first value but only the first value.
Any advice would be greatly appreciated. I would very much like to avoid concatenating the values into a single token that contains separators but I have considered that I could post that instead as a workaround.