I'm trying to add content types into a library list, in order to make "Visible on New" option ticked. Firstly I enabled contenttypes in the library, then I want to do this: SPFolder rootFolder = ...
I'm using a sandboxed solution from a 3rd party vendor which contains some site columns and a site content type. I want to add this content type to my document library definition in CAML. But when I ...
I have a simple Sandbox Solution with a Content Type in it. The Content Type simply inherits from the Item content type. It adds no additional fields to it. I've added a Feature Resource file to my ...
I have a Sandboxed Custom Action for SharePoint Designer that can add Content Types to Document Libraries. The problem is that it does not automatically add it under the "New Document". It's not ...
I've found a couple of examples of creating a content type using visual studio. http://stevemannspath.blogspot.com/2010/11/sharepoint-2010-leveraging-visual.html ...