Creating an Enhanced Rich Text Field in your SharePoint Content Types


When creating custom content types inside your features or site definitions you need to specify field definitions to define your custom fields. I was trying to create a Enhanced Rich Text field within my Content Type but was struggling to find the right XML.

Eventually I found out you need to include the RichText=”TRUE” and RichTextMode=”FullHtml” attributes within your field definition as shown below:

<Field

    ID=”{8A2EA652-DDCB-4bf7-84EE-129E7B7A5403}”
    Name=”ArticleBody”
    Group=”Reuters columns”
    DisplayName=”Article Body”
    Type=”Note”
    Sealed=”FALSE”
    ReadOnly=”FALSE”
    Hidden=”FALSE”
    RichText=”TRUE”
    RichTextMode=”FullHtml”
    DisplaceOnUpgrade=”TRUE” />

I can’t understand why this information isn’t more readily available and well documented on MSDN.

2 thoughts on “Creating an Enhanced Rich Text Field in your SharePoint Content Types

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s