I wrote a workflow with SharePoint Designer 2013 with a HTTP request to get an item from a list. In the request, I set a filter like this:
$filter=Sting code eq 'something'
The result (a dictionary) should contain an item with the field "String code" equals to 'something'.
To get a not empty dictionary I must write the field name without space (e.g. StringCode).
I found a way to encode the space (in many blogs), that is String%5Fx002%5Fcode, but it fails (I get an empty dictionary).
Any solutions? Thanks in advance
According to your post, my understanding is that you want to create workflow with SharePoint Designer 2013 with a HTTP request to get an item from a list.
You can use the internal name of the column.
For more information, you can refer to:
SharePoint–Finding Column Display and Internal Names
Working with Web Services in SharePoint 2013 Workflows using SharePoint Designer 2013
TechNet Community Support
Hi, thank you for the reply.
I've checked the internal name, and it corresponds to String%5Fx0020%5Fcode. It fails again (I get no results).
The url in my http request is:
.../lists/getByTitle('Title')/items?$filter= String%5Fx0020%5Fcode eq 'something'
It's strange because everithing seems to be set correctly.
I also set response-headers' parameters "Accept" and "Content-type" to
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?