Searching items from only a single list

Hello Friends,

Can you please guide me on how to search items from a single list? I want to use the site collection settings like Result sources option to get the details.

Should I create a page and use Search Results and Search box web part? What will be the configuration of the Result Source?

Can you please provide me step-by-step process on how to do that?

July 28th, 2015 8:55am

Hi

for single list, configuring search is not good solution.

You can create webpart or application page or content editor and use csom,jsom or server object model to query the list using caml query.

This will return the number of results and later on you can do formatting the way you want.

http://guides.wmlcloud.com/technology/sharepoint-2010---querying-sharepoint-data-(part-1)---querying-using-caml-.aspx

http://www.sharepointcafe.net/2015/06/caml-query-in-sharepoint.html

Free Windows Admin Tool Kit Click here and download it now
July 29th, 2015 1:21am

HI,

You need to create a web part page and add a content search web part in it and configure the query of the web part as explained in this blog post.

July 29th, 2015 2:54am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics