1 year ago
#387666
Hubert Solecki
Dynamics CRM 8.2 WebApi filter with special characters
I'm making web api calls to Dynamics CRM OnPremise using JavaScript and I'm facing problems when I have a special character in my filter such as '&'. I'm encoding the value that is passed to the filter but nothing is retrieved and no error is triggered. Below is the filter part of my URI that I'm using for my request:
"?$filter=contains(name,'"+ encodeURIComponent(value)+"')"
And I have verified I have many records that has an "&" in the name field.
What I am doing wrong ?
dynamics-crm
special-characters
webapi
0 Answers
Your Answer