Task 1: Add a Content Query Web Part to the Existing ...



Lab A (Module 9)Implement a Content Query Web PartThis document is provided “as-is”. Information and views expressed in this document, including URL and other Internet Web site references, may change without notice. You bear the risk of using it. This document does not provide you with any legal rights to any intellectual property in any Microsoft product. You may copy and use this document for your internal, reference purposes. ? 2011 Microsoft. All rights reserved.Contents TOC \o "1-3" \h \z \u Task 1: Add a Content Query Web Part to the Existing Documents Site PAGEREF _Toc298751360 \h 3Task 2: Configure the Content Query Web Part to Display PAGEREF _Toc298751361 \h 5In this lab you add a Content Query Web Part to an existing web page. Youthen configure the Content Query Web Part to display only documents based on the Contoso content type and set theconfidentiality level value toPartners.Task 1: Add a Content Query Web Part to the Existing Documents SiteIn this task you add a Content Query Web Part to an existing web page.Using Internet Explorer, navigate to the Documents site located at . This link is included as a favorite link.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 DisplayIn 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 toolpane 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 Typesfor the value from the first Content Type drop-down box.Select Contractsfor the value from the second Content Type drop-down box.Set the first Additional Filter to show items when Confidentiality Level is equal to Partners. Select ConfidentialityLevel in the first drop-down box.Select is equal to in the second drop-down box.Select the icon located next to the criteria text box to select the confidentiality level.Click Partners. 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 thatSort 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 CQWPs. ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download