SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way or tool to generate list-definition projects/features from an existing list template?

(Sharepoint 2010)

share|improve this question
which version of SP ? – Steve B Jan 11 '12 at 16:06
@SteveB Oh, sorry :) I have improved the question – CodingSheep Jan 11 '12 at 16:15
up vote 3 down vote accepted

I assume you want to create a list definition based on existing list definition that comes with SharePoint or installed by other solutions.

I would just use the VS.NET > Add New Item > List Definition and select Custom List as base. Then locate the existing list template directory in SharePoint root and copy

1) schema.xml and

2) element file containing ListTemplate element

Then replace VS.Net’s file with above files. Now you have a list definition which is exact copy of the existing list definition. Now you can change the name, type, base type etc. and claim it as your own list definition!

share|improve this answer

If I'm not wrong you can create site template and then import this template in Visual Studio 2010. When the template is imported, you can choose what elements do you want to include in new solution. You can choose your list. The VS2010 creates all needed files. After this you can simply package this solution.

share|improve this answer

In SharePoint Designer, you can select a list and click on "Save as template" in the ribbon.

This will create a wsp solution, you can customize as required.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.