0

I am using Soap Architecture to enter a value into a sharepoint column(single line of text).

All Special characters get added. Only when & is added it gets converted to %26 in the list.

Any help?

3

& gets encoded to %26 becuase it is a reserved keyword that is used in query strings. This is intended behavior and it is the client (your code's) responsibility to decode it back. In JavaScript you can use the below

decodeURIComponent('%26')
  • where do you want me to decode it... Its a Post Soap request with value within URL like PostBody- ...{"column":"C&O"} – Joy D'souza Jul 6 '17 at 12:56
  • Can you update the code you are using to create a new item? – Tanmay Jul 7 '17 at 8:44
  • yes it can be modified. & is entered correctly in multiline text column but gets converted to %26 for single line of text. – Joy D'souza Jul 7 '17 at 12:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.