0

I have to search through the SharePoint list item and the content of attachments of the SharePoint list item which is in SharePoint Site A.

I have used the below API

https://abcv.sharepoint.com//_api/search/query?querytext='path:https://abc.sharepoint.com/sites/<siteName> searchTerm'

How we can search through only SharePoint list items?

To get search items only from the list I tried below but it is giving results from the entire site.

/_api/search/query?querytext='test'&sourceid='<List_Id>'

And can we search through SharePoint list attachment content?

Your Answer

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

Browse other questions tagged or ask your own question.