Create new project using visual studio “Empty SharePoint Project” template, and then select sandbox solution, and then add new web part, now we call below function to create new Content Template with particular document and add some site column, then its add one document library. private void ContentTypeAdder() { using (SPSite site = new SPSite(“http://win7″)) [...]Image may be NSFW.
Clik here to view.
Clik here to view.
