Now we are going to create an actual document library with the Proposal Content Type attached.
Open the SP2010ProposalLibrary Visual Studio Solution you created in the previous recipe:
Right-click on the SP2010ProposalLibrary and select Add | New Item.
Select List Definition From Content Type from the presented list, provide a name such as ProposalDocumentLibrary and click on the Add button.
A dialog will come up. Enter Proposal Document Library in response to the question What is the display name of the list definition?. Choose Proposal in the drop-down in response to the question What content type would you like to use for your list definition?. Ensure the checkbox is enabled for Add a list instance for this list definition, and click on the Finish button.
In the
Elements.xml
(with a ListTemplate node) file that opens, change theDescription
attribute to something such asList Definition for the Proposal Document Library
.In the...