Thursday, September 5, 2013

Content by Search (CBS) Web Part in SharePoint 2013

Here we will check about Content by Search (CBS) Web Part in SharePoint 2013. Also check out my previous posts on:

- Retrieve selected properties of website using SharePoint 2013 client object model

- Workflow activity in SharePoint 2013

- Hover panel in SharePoint 2013 search results

Content by Search (CBS) Web Part enables users to aggregate content directly from the search index. CBS is not constrained to one site collection. It's based on search, so it must to go beyond the site collection boundary. The query results in CBS may not be up to date.

CBS renders only major versions and cannot query content from site collections marked to be excluded from the search.

A query in CBS can be configured to aggregate content based on values on the page or within the URL.

CBS returns the results in raw XML format. Results can be styled using snippets of HTML and JavaScript instead of XSLT. These snippets are referred to as display templates in SharePoint 2013 and are stored in the Master Page gallery.

Twitter Delicious Facebook Digg Favorites More