Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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

share|improve this question
add comment

3 Answers 3

up vote 1 down vote accepted

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.

share|improve this answer
    
Thats all, Thank you ;) –  fr34kyn01535 Dec 13 '11 at 15:08
add comment

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/

share|improve this answer
    
Thank you for this script, very helpful - indeed, bookmarked :P –  fr34kyn01535 Dec 13 '11 at 15:37
add comment

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

share|improve this answer
add comment

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.