SharePoint Pals
 | Sign In
Cross site publishing for Page Library in SharePoint 2013
by Arunraj Venugopal 31 Mar 2014
Author
SharePoint Developer
Visits   
Today  :   1     Total  :    18746

In this article, let us discuss about configuring Cross Site Publishing for the Page Library in SharePoint 2013

Step 1: Create a site collection in any of the web application. The template for the site collection should be Product Catalog

clip_image002

clip_image004

Step 2: Create a site Collection in another web application. The template for the site collection be publishing site.

clip_image006clip_image008

Step3: Go to Central Administrator and create a term hierarchy

clip_image009clip_image011

Step4: Go to site setting and click site content type. Create a site content type.

clip_image013

Step5: Filter Page Layout Content Types and click on it.

clip_image014clip_image016

clip_image018

Step6: Add the site columns to the article page content type by selecting Page layout column type.

clip_image020

clip_image022

clip_image024

Note: Site columns should be created for all the existing data types including Managed Metadata type.

During the creation of managed metadata column, select termset in the site navigation column.

Step7: Go to page library, add the newly created content type and change the default content type from article page to customArticleContenttype.

clip_image026

Step8: Create two article pages by selecting article page layout.

clip_image028

Add content in page content. Web part content including JavaScript is not getting reflected in the publishing site.

clip_image030

clip_image032

Add content in page content. Web part content including JavaScript is not getting reflected in the publishing site.

clip_image034

Step9: Edit page properties and change the content type from article to newly added content type.

clip_image036

Step10: Go to Term field in the edit form, select the term for which the page will be reflected in the publishing site.

clip_image038

Step11: Enable the catalog setting for the page library.

clip_image039clip_image041

Enable the anonymous access, select the metadata field from available fields and navigation hierarchy field.

clip_image043

Step12. Publish the page.

Step13. Perform the incremental crawling in the central administration.

clip_image045

Step14. Go to the publishing site collection and click site setting. Select Manage catalog connection setting

clip_image047

Click Connect to a catalog

clip_image049

clip_image051

Click connect against the site collection in which the pages are created.

clip_image053

clip_image055

Step15. The categorypage and the cateogryitem page are created once the connection went on successfully.

clip_image057

Step16: Go to site content to ensure that the pages are created.

clip_image059

Step17: Go to site setting and click Navigation to map the term with the category page and category item page respectively in the term driven tab.

clip_image061

Step 18: In the Left Navigation, click the term for which page is attached to it.

clip_image063

Step 19: Click the link to see the page attached to that term in the authoring site.

clip_image065

Note: In the default page layout attached to the category (term).aspx would show additional columns details on the page. To hide those details, the below steps to be followed.

1. Edit the page

2. Change the default page layout to any one of the available layouts.

3. Add Catalog Item Reuse webpart and edit it.

4. Select the PublishingpagecontentowsHtml in the Managed Properties field after selecting the change managed properties checkbox.

5. Save it.

Remember: Content and JavaScript in the webpart don’t get populated in the publishing site as there is not code in the source view since the webpart get removed along with the internal content when it got published.

Display Template & Item Template customization will be posted in the separate article.

blog comments powered by Disqus

SharePoint Pals

Pals
SharePoint Pals, a community portal for SharePoint developers, Administrators and End Users. Let's join hands and share the point together.
Read this on mobile

Training

Angular Js Training In Chennai
Advanced Angular Js training with real world developer scenarios
Angular Js, Web Api and Ionic for .Net Developers
All in one client side application development for .Net developers
Angular Js For SharePoint Developers
Get ready for the future. Its no more just C#

Get Connected

SharePoint Resources

SharePoint 2013 and 2010 Web Parts
Free Web Parts with Source Code for SharePoint Community




SharePoint 2013 Books and Tutorials
Collection of free SharePoint 2013 books and tutorials (eBooks, pdfs)

Supported By

Contribute your article and be eligible for a one month Free Subscription for Plural Sight. The Author of the most popular New Article (published in the previous month) will be awarded with a Free One month Plural Sight Subscription. Article can be sent to articles@sharepointpals.com in a word document.

Related Resources

Recent Tweets

Twitter January 15, 00:25
How To Enable Target Value And Actual Value In #D3 Gauge Chart https://t.co/VxSi4QnNrC

Twitter January 15, 00:24
How To Open #SharePoint List Hyperlink Column In Modal #Popup Window https://t.co/EQ7HkoZDkX

Twitter January 15, 00:24
Quick Introduction To #Asp.NetCore And It’s Features https://t.co/zAXObHCFpH

Twitter January 15, 00:22
How To Configure #PerformancePoint Services To Use Secure Store In #SharePoint 2013 https://t.co/LEwnUoI7EY

Twitter January 15, 00:21
How To Block Or Disable #Office365 Services https://t.co/Yvp2VPFIRP

Follow us @SharePointPals
Note: For Customization and Configuration, CheckOutRecent Tweets Documentation