Overview
Modifying the Web Part to display other publication or document metadata requires modification of the Web Part's XML and potentially modification of the associated XSLT file depending on what you wish to accomplish.
The XML code associated with Hyper.Net's ContentQueryMain Web Part is accessible via export:
| |
|
|
|
Step
|
|
1
|
Click on Site Actions - Edit Page. SharePoint's page layout screen will appear:
|
|
2
|
From the ContentQueryMain Web Part in the Bottom Left Zone, click on edit and select Export. Save the exported Web Part code to a desired location on your hard disk.
|
To access the XSL files and other components associated with Hyper.Net's sample WCMS application, follow these steps:
| |
|
|
|
Step
|
|
1
|
From the Publication Center, click on Site Actions - Site Settings - Modify All Site Settings. The following screen will appear:
|
|
2
|
Under Site Administration, click on Content and structure. In the left panel of the screen that opens, expand Style Library and click on HNWCMS. The following screen will appear:
| |
|
|
Note
|
Hyper.Net's HNWCMS Web Parts and components are displayed on the right. You will notice in the above image that two Web Parts are highlighted. ContentQueryMainOriginal is a copy of SharePoint's standard content query Web Part. ContentQueryMain is an additional copy of this Web Part that contains modifications that allow for selection, categorization and filtering of documents using publication and document metadata published by Hyper.Net.
|
|