Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I need to create a list for a sharepoint 2010 project. I went into vs and i added a new List Definition with an instance, when i publish everything is fine. I now need to add custom columns to it and also add some values inside the instance. I have no idea how to do this and my research has been unsuccessful.

Isn't there a way to create the list using either the sharepoint site or designer and then get everything from there and import it into visual studio so that went we deploy the solution everything is formatted and instantiated properly ?

Thanks !

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

You can save site as template. Then download this template from site templates gallary and import it to the VS2010. When the template is imported you can select which items do you want to include in project. You can select only your list and its dependencies.

share|improve this answer
add comment

Your Answer

 
discard

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.