0

I would like to return the search results for the documents which has apostrophe by using KQL (Programatically ) in sharepoint 2016. How can i achieve this ?

1 Answer 1

0

You can insert a backslash "\" before the apostrophe.

As an alternative, you can use SPEncode.UrlEncode method to encode your url, so the method will build the correct URL for you.

1
  • Tried, not working... without doing encoding it is working fine.
    – Share
    Commented Jan 31, 2018 at 16:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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