MyTasks Search Web Part
The MyTasks Search Web Part will utilize the search approach to pull together a listing of all the user's tasks.
Creating the SPBlueprints.MyTasks project
The MyTasks Search Web Part will be added to a new project called SPBlueprints.MyTasks
.
To create the initial project:
1. Open Visual Studio 2010.
2. Select File, then New Project.
3. Browse the Installed Templates and select Visual C# | SharePoint 2010, and then Empty SharePoint Project.
4. Enter the project details such as Name, Location, and Solution name as shown in the next screenshot.
5. Within the SharePoint Customization Wizard, provide a path to your SharePoint site and then be sure to select the option to Deploy as a farm solution.
Creating the MyTasks Search Web Part
To add the Web Part to the SPBlueprints.MyTasks
project:
1. Open the
SPBlueprints.MyTasks
project in Visual Studio 2010.2. Browse the Installed Templates and select Visual C# | SharePoint 2010.
3. Right-click on the project file and select Add | New...