DocVault Listings Web Part
We will now create a custom Web Part that can provide dynamic content rollups across the different DocVault site collections. There are two views available in the initial Web Part, but additional ones can be identified as needed by extending the code and defined QueryMode
property.
Creating the Web Part
The DocVault Listings Web Part will be added to the previously created SPBlueprints.WebParts
project created in Chapter 2, Building an Out of Office Delegation Solution.
To add the additional Web Part:
1. Open the
SPBlueprints.WebParts
project in Visual Studio 2010.2. Browse to the Installed Templates and select Visual C# | SharePoint | 2010.
3. Right-click on the project file and select Add then New Item.
4. From the template selection screen select the Web Part option.
5. Provide the name
DocVaultListings
and click on the Add button.6. Edit the
DocVaultListings.webpart
file with the following definition:<properties> <Property Name="Group" type="string">...