Introduction:
In this blog you will see how to search content from specific document library in Content Search Web Part. Please refer my article to know more about content search web part.
Steps to be performed:
- Navigate to a SharePoint page.
- Click on the Page tab and then click on the Edit button in the ribbon interface.
- Click on the Insert tab and then click on the Web Part button in the ribbon interface.
- Click on the Content Rollup category, select Content Search and then click on the Add button.
- Edit the web part and click on the Change Query button in the Properties section.
- Select Documents (System) from the “Select a Query” dropdown list.
- In the Restrict by app section, select “Specify a URL” from the drop down list and specify the document library URL (https://c986.sharepoint.com/Translated Documents/) in the text box.
- Click on the Ok button.
- Click on the Save button in the ribbon interface.
- All the documents from the document library are displayed as shown below.
Output:
Summary:
Thus in this blog you saw how to display content from specific document library in content search web part.