Introduction
List definitions are the templates for creating the list and defining a schema for a SharePoint list. It contains information on what views are being used, which columns and content types are being used, and other metadata information. ListInstance is actually a list in which we need to specify the template id of the ListDefinition. From one ListDefinition, we can create multiple List instances. In this article, I will explain how to create List Definition and List Instance in SharePoint 2013 using Visual Studio.
Pre-Requisites
- Open Visual Studio.
- Open New Project dialog box. Expand Office/SharePoint node and then choose SharePoint Solutions.

- Choose the SharePoint 2013 – Empty Project template. Name the project as ExampleSharePointProject.

- Choose the "Deploy as a farm solution" option button and choose Finish button.

- ExampleSharePointProject SharePoint project gets created.

- Create the site columns in the ExampleSharePointProject.

- Create the site Content types in the ExampleSharePointProject.

Create List Definition















Anu VPosted Oct 2, 2016, 6:13 AM
Nice..
Humayun Kabir MamunPosted Oct 2, 2016, 1:38 AM
Nice...
Tarun DPosted Sep 30, 2016, 1:02 AM
Nice one. Thanks for sharing..