0

how to filter contains full-text-search SharePoint online post query

Example:

search "software" in "program software"

  • Please indicate if the answer below works for you or clarify your question further so we can help you. – Matthew McDermott Dec 15 '19 at 13:55
0

It will be helpful if you clear your question a little bit more. Here I have used substringof to find contains text. I think you want to filter where contains text is matched. Code looks like this:

sp.web.lists
  .getByTitle('ListName').items.select('Title,ISDNNumber')
  .filter(`substringof('${searchString}',Title) or substringof('${searchString}',ISDNNumber)`)
  .top(100).get()
  .then(console.log)
  .catch(console.warn)

|

| improve this answer | |

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.