Cross-Site Publishing and Catalog Enabled Lists and Libraries
Cross-site publishingis
a new feature in SharePoint 2013 that enables content owners to create
content in one site collection and publish the same content in another
site collection. If a content owner updates the content in the source
collection then the update shows in the dependent collections.
Cross-site publishing requires catalog enabled lists and libraries, as
well as search configuration to work.
Figure 5
shows the infrastructure for cross-site publishing. Lists and libraries
within the source site collection must enable cross-site publication
and a search must crawl over these lists and libraries before the
content is available in destination site collections.
Destination site collections use cross-site
published content via Content Search Web Parts. These Content Search
Web Parts use the search index to retrieve the content from the source
collection.
Catalog Enable List/Library
I shall now demonstrate this configuration, as follows:
- Navigate to your publishing site collection.
- Click the gear icon.
- Select Site settings from the menu.
- Click the link to access the site collection features, under Site Collection Administration.
- Enable the Cross-Site Publishing feature.
- Click the gear icon.
- Click the link to view site contents.
- Choose a list or library to catalog content for cross-site publishing.
- View the list or library settings page.
- Click the Catalog settings link.
- SharePoint shows a page like that in Figure 6.
- Check the check box under the Catalog Sharing section—this enables the list as a catalog.
- If the content of this list/library is to show on anonymous-accessible pages, click the button to enable anonymous access.
- Choose fields that represent the primary key for items (I used ID and Title).
- If you wish to allow catalog navigation, select the tagging field from your list to bind to a term set.
- Click the OK button.
Configure Search
In the previous subsections, I demonstrated
how to enable cross-site publishing and how to enable cataloging in a
list/library. Feel free to catalog several lists and libraries before
completing the following steps to configure search crawling of these libraries.
The steps in this
section assume that you have a provisioned Search Service
Application—if not, use the farm wizard to create one for the purpose
of this exercise.
- Open Central Administration.
- Click the General Application Settings header.
- Click the Farm Search Administration link.
- Choose a Search Service Application from the list.
- Click the Content Sources link in the left navigation.
- Edit the Local SharePoint Sites content source.
- Ensure that this source includes the site collection (or root site collection if under a managed path) for your publishing site.
- Return to the content sources page.
- Start a full crawl of the content source.
- Click the link for the Crawl log.
- Monitor for errors and ensure that the crawler indexes content from your publishing site collection.