SharePoint 2013 Snippet: Content Search Web Part


The Content Search Web Part is a new web part in SharePoint 2013 that lets you bring together data from across SharePoint into a single view. For example, you might have a page on your intranet for engagements with a particular customer. You can use the Content Search Web Part to find any document that references that customer’s name and display it on that page, wherever the documents may be stored. Or you might have a web page with a web part showing which products are on special offer. The Content Search Web Part would let you pull results from multiple lists and display just those that match the query rules about the special offer. Or you could have a list of documents on the page that’s built based on who is viewing the page.

The queries that build these documents can be very simple (e.g. searching for a particular word), or very complex (e.g. a query searching for documents of a particular type, with particular properties, featuring certain keywords, filtered based on the user profile of the person viewing the page), or somewhere in between.

However the query has been built, the result looks to the user like a list of documents or list items, much in the same way as the web parts which let you display contents of a particular document library. The concept behind this is similar to the Content Query Web Part from SharePoint 2010. The difference is where the results are coming from. The Content Search Web Part lets you pull results from across sites to give a more comprehensive set of results.

When building one of these parts, you get nice tools like the preview of results so you can make sure your query is bringing back the results you expect before you put it onto the page.

Laura Rogers has written a post on configuring these web parts.

Comments (1)

  1. werrewr says:

    http://www.screencast.com/t/ay4f233rVJj
    https://www.pinterest.com/pin/84583299228832164/
    http://www.screencast.com/t/kRNLfLjtEW
    http://www.screencast.com/t/HzTfc4E0fdze
    https://www.facebook.com/1490743534578418
    https://www.pinterest.com/pin/160511174196344305/
    https://www.facebook.com/1493415504310122
    https://www.pinterest.com/pin/50665564535278748/
    http://www.screencast.com/t/iog3Tzgyt8c
    http://www.screencast.com/t/HC3NzGHm1s
    https://www.facebook.com/1485724771752445
    http://www.screencast.com/t/cchlSppO3
    https://www.facebook.com/1485719845086271
    https://www.facebook.com/1491443397841486
    http://www.screencast.com/t/cFzdlVFh
    https://www.facebook.com/1491442604508232
    https://www.facebook.com/1493870187601461
    http://www.screencast.com/t/rZ2i4bxK
    https://www.pinterest.com/pin/160511174196343940/
    http://www.screencast.com/t/WbURnretvCd
    https://www.pinterest.com/pin/148478118942136875/
    http://www.screencast.com/t/VQLez1siwkmv
    http://www.screencast.com/t/EkZsJhYpGd
    http://www.screencast.com/t/BGgozJVj
    http://www.screencast.com/t/I0MgWjaeE
    https://www.pinterest.com/pin/350647520966519902/
    http://www.screencast.com/t/pTiwTCFb
    https://www.facebook.com/1488571788132344
    http://www.screencast.com/t/3tfTlZugzCw
    http://www.screencast.com/t/a9qz7BbJ
    https://www.pinterest.com/pin/19421842120367665/
    https://www.pinterest.com/pin/503840277041036124/
    https://www.pinterest.com/pin/503840277041035331/
    http://www.screencast.com/t/3mgzI5fBio
    https://www.pinterest.com/pin/19421842120367628/
    https://www.pinterest.com/pin/350647520966519088/
    http://www.screencast.com/t/UmxSjj0vs
    https://www.pinterest.com/pin/50665564535280306/
    https://www.pinterest.com/pin/148478118942136811/
    https://www.pinterest.com/pin/160511174196348142/
    http://www.screencast.com/t/YKSLMtvWn
    https://www.facebook.com/1491518771167282
    http://www.screencast.com/t/RBOpGReVIDA
    https://www.facebook.com/1487874028202120
    https://www.pinterest.com/pin/442830575838892988/
    https://www.pinterest.com/pin/442830575838892472/
    https://www.facebook.com/1493389320979407
    https://www.facebook.com/1492526997733126
    https://www.pinterest.com/pin/148478118942137370/
    https://www.facebook.com/1483707501951849