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 am trying to build a custom ListInstance for deployment in Visual Studio. It should be based on the Contacts template so it can be opened in/linked to Outlook, but I also want to add two other custom content types to the ListInstance. How do I do that?

It is possible to create what I want through the web interface, but I would like to do it in Visual Studio.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Have you tried exporting the site where you have created the lists as a WSP and imported the project in Visual Studio?

List instances in SP2010 use the CustomSchema attribute in Elements schema. Exporting the list should give you the Schema.xml for the list instance

share|improve this answer

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.