How To: Content Query Web Part to Display a Document Library accross Multiple Sites.
It is often the case that there is a need to display the same document list in multiple places on a site or sites accross your entire portal. The Content Query Web Part allows provides this functionality and is fairly simple to configure.
The following steps outline how this is can be done in MOSS2K7:
Move to the page where you want the list to be displayed
§ Site Actions -> Edit Page
§ Click ‘Add a Web Part’ in the area you want the list to be displayed
§ Scroll down to the Default section and choose Content Query Web Part
§ Click Add button at bottom of window
§ Note: A default output will be showing in the web part… ignore it
§ Menu dropdown: edit -> Modify Shared Web Part
§ Expand the Query tab in the tool box
§ Choose Show items from the following list radio button
§ Browse to your selected list
§ Click OK after selecting list
§ IMPORTANT: In the ‘Show items from this list type’, choose Document
Library
§ Click the Apply button to verify results
§ Tweak as necessary
Knowing how to use the Content Query Web Part is one of the best tools available in building content for multiple locations and sites.