An overview of the search driven publishing feature available in SharePoint 2013.
This deck was created and presented by me at the January 2014 meetup of the Sri Laka SharePoint Forum
Follow/Tweet me: @ShehanPeruma
3. 3
A new way of publishing
If it’s been crawled, then it can be served!
Search Enabling Content
It’s not a b out sea rching content, b ut ra ther a b out
p ub lishing a nd rep ub lishing cra wled content
4. 4
• Separation of concerns &
responsibilities
• Content reuse
• Decouple structure from
navigation
• Content targeting
• Scalability
Internet | Intranet | Extranet | Mobile
Authors can create and
maintain content in an
authoring site collection
Content can be made
available to one or more
publishing site collections
Quick Overview
What? Why?
• Enable lists & libraries as
Catalogs
• Crawl the content of the
catalog enabled lists &
libraries
• Use the Content Search
Web Part for rendering
How?
Where?
5. 5
Search Driven Publishing Model
#1 – Add content into
Catalog enabled
lists/libraries in the
authoring sites
#2 – SharePoint will
crawl and index the
content
#3 – Utilize Content
Search Web Parts to
resurface the content in
publishing sites
10. 10
Search Driven Publishing…
Content Catalogs
Enable it | Index it | Consume it
• Accessible from the
settings page
• Define the URL structure
• Define the navigation
hierarchy via managed
metadata
• Available for consumption
after crawl completes
11. 11
Search Driven Publishing…
Category and
Catalog Item Page
• Show structured content
consistently
• Automatically created
when a connection to a
catalog is made *
• Assigned to Terms in a
term store (managed
navigation)
12. 12
Search Driven Publishing…
Content Search Web Part
• Is responsible in executing
the query and displaying
the results
• Contains the Query
Builder and list of available
Display Templates
13. 13
Search Driven Publishing…
Query Builder
• UI based tool targeted at
Information Workers
• Provides powerful query
building capabilities
(including Quick &
Advanced views)
• Shows a real-time preview
of the search results
14. 14
Search Driven Publishing…
Display Templates
• Mechanism to brand the
results of the search
• No more XSLT! Built using
HTML, CSS & JavaScript
• Ability to “mix-and-match”
templates with queries
16. 16
(Product) Catalog - In a nutshell…
On the authoring site:
1. Create the Taxonomy hierarchy
2. Create Site Columns (and Content Type) for the Catalog list/library
3. Add the content type to the list/library
4. Enable the Catalog setting for the list/library (and modify the
other properties)
5. Enter content and crawl the catalog
On the publishing site:
1. Once the crawl is complete. Create a connection to the catalog in
the publishing site
2. Add the CSWP and configure it
17. 17
Recap…
• A new content publishing model
• Reuse content between different sites (including site
collections)
• Any library or list can be defined as a Catalog
• Utilizes search technology to retrieve content
• Content displayed using Content Search Web Parts
Search is at the very center of how of this works.
In 2010 the Term Store was mainly used for tagging content. In 2013, the Term Store can now also be used to define the sites navigation hierarchy.
A completely flexible navigation that does not have “Pages” or “.aspx” in the URL.
The location of content does not determine the URL. The content can be flat, but still be represented in a navigation hierarchy.
Taxonomy based navigation – build and maintain the navigation using Term Sets.
Terms can be “Pinned” – this maintains the relationships between source and reused term
This is what enables us to share content.
The site collection feature called “Cross-Site Publishing” must be activated in order to enable the library/list as a catalog.
Works with the Search infrastructure behind the scenes. SharePoint crawls and index's catalogs in a different way than regular lists/libraries.
The columns added to the list must be Sit Columns, this is needed so that managed properties can be created for them.
Web Part is available under the “Content Rollup” category.
There are other Search driven web parts (like Recently Changed Items, Popular Items, etc.) available under the “Search-Driven Content” category
For columns in a catalog to be used for Soring and Refining, they muse be Managed Properties and have the necessary options selected when the managed property is created.
There are two types of display templates: Control and Item
Control templates are used to define the rendering of the area that does not display the results (e.g. paging, header/footer, etc.)
Item templates are used to render the each result item
Display templates consist of an HTML file and a SharePoint generated JavaScript file. The templates are stored in the MasterPage Gallery
There are quite a few templates that available OOTB (including a basic slide show).
Use the Diagnostic template to troubleshoot the values being returned by the query.