Question

Does anybody have a list of all internal "type" names of contenttype - columns in SP2010?

I am creating a custom contenttype in VS and really don't have an idea where to get them from. I already found out "HTML" as type for Full HTML, but I need all of them.

enter image description here

Was it helpful?

Solution

Easiest way would be to open up the xml of the out of box feature which provisions columns in SharePoint site.

Got to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\FEATURES\fields.

The 3 xml files fieldswss.xml, fieldswss2.xml and fieldswss3.xml contain the definitions of all the OOB columns in SharePoint. You can easily search for a column and find its type.

Be very careful not to accidentally modify any of the files there.

OTHER TIPS

there's some POSH script that'll output a Site Collection's Content Types & Fields and their properties onto a CSV file - http://aarebrot.net/blog/2008/08/powershell-retrieve-content-types-and-column-fields/

The list of standard SharePoint field types can be found on MSDN (scroll way down to the Type attribute).

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top