Add a Content Query Web Part to the Existing Documents Site:
- Open your SharePoint site.
- Click the Site Actions drop-down box and select Edit Page.
- Locate the Right Web Part zone and click the Add a Web Part link. It is located in the body of the page in the right-hand column.
- Select the Content Rollup category in the Web Part gallery.
- Select Content Query in the Web Parts pane.
- Click Add to add the Web Part to the Right Web Part zone.
Task 2: Configure the Content Query Web Part to Display
In this task you configure the new Content Query Web Part to display documents located in document libraries that are based on the Contoso content type and have a Confidentiality Level value of Partners.
- Click the "open the tool pane" link displayed in the Content Query Web Part:
- Expand the Query Category in the Web Part Property Pane.
- Select the Show items from the following Site and all subsites radio button.
- Click the Browse button and select the Documents site.
- Click OK.
- Select Document Library for the List Type.
- Select "Custom Content Types" for the value from the first (the "Content Type") drop-down box.
- Select "Contracts" for the value from the second (the "Show items of this content type") drop-down box.
- Set the first Additional Filter to show items when the Confidentiality Level is equal to Partners.
a. Select ConfidentialityLevel in the first drop-down box.
b. Select is equal to in the second drop-down box.
c. Select the icon located next to the criteria text box to select the confidentiality level.
d. Click on the data set. Click Select and then OK.
- Expand the Presentation node in the Web Part Property Pane.
- Verify that the Sort Item by drop-down box is set to Created.
- Verify that Sort is set for descending order.
- Set the Limit the number of items to display to 10.
- Verify the Group style is set to Default.
- Select Title, description and document icon for the Item style.
- Expand the Appearance node in the Web Part Property Pane.
- Set the Title to Confidential Level – Partner Documents.
- Click the OK button located at the bottom of the Web Part Property Pane.
- Click the Stop Editing ribbon button.
The Content Query Web Part should now display a list of documents that contains Partners in the Confidential column. The style should match the surrounding