Friday 19 September 2014

Share a library or list as a catalog


  1. Verify that the user account that performs this procedure is a member of the Owners group on the site that contains the library or list that you want to share.
  2. Browse to the library or list that you want to share, and then do one of the following:
    • To share a library, click the LIBRARY tab, and then, on the ribbon, in the Settings group, click Library Settings.
    • To share a list, click the LIST tab, and then, on the ribbon, in the Settings group, click List Settings.
  3. On the Settings page, in the General Settings section, click Catalog Settings.
  4. On the Catalog Settings page, in the Catalog Sharing section, select the Enable this library as a catalog check box.
  5. In the Anonymous Access section, if you want don’t want anonymous users to view and search this content, click Disable anonymous access.
  6. In the Catalog Item URL Fields section, in the Available fields box, select up to five fields that uniquely identify an item in the library or list, and then click Add.After you connect a publishing site to this catalog, the fields that you specified as catalog item URL fields appear as part of the friendly URL. (See the example that follows this procedure.)
  7. In the Navigation Hierarchy section, select the column that is associated with the term set that you want to use as a navigation term set for catalog pages. After you connect a publishing site to this library or list to show catalog content, the value of the column that you selected appears as part of the friendly URL (see the example that follows this procedure).
  8. OK
Friendly URL
In Publishing Site
Click on Manage catalog connections
Click on the your  catalog.
Under: Catalog Item URL Format
Selected Fields: ListItemID
You will get URL as:
https://microsoft.sharepoint.com/teams/XXX/XXX/Term Root/Term/[ListItemID]
Create new page in Publishing site
Add new CSWP
Provide the catalog in the : Select a query
Save.
You will get the result.
Click on Any result
It will reirect to another page, based on the URL which you have given in the Manage Catalop connections
In the new page
Edit page
You can find one webpart: Catalog-Item Reuse
Edit Web part
Click on Change Query
In Select a query : You will able to see catalog name
Restrict by tag: Select: Restrict by navigation term of current page
in Add additional filters:
Remove default values.
Add below one:
ListItemID:{URLTOKEN.1}
Click Ok