Tuesday, April 12, 2016

Creating a List Definition using Visual Studio 2010


We need to have List Definitions for creating multiple list instances from it. This is the best way if we are dealing with data capture of same column types.

The built-in list definitions of SharePoint serve the same purpose. Example: Contact List, Task List, etc. Similarly depending on your project domain, it might be a good idea to turn common list formats into list definitions so that you can create multiple instances easily.

For proceeding with this part you need the SharePoint Developer Tools for Visual Studio 2010.  I hope you already have this installed; else you can download it from here.

Step 1: Create the Project
Open Visual Studio and create a new project from the List Definition template.

In the next page, select the farm solution option.

In the next page, enter the details as shown below and click the Finish button.

No comments:

Post a Comment