Enhanced Rich Text field via a schema.xml

Dev P picture Dev P · Oct 19, 2012 · Viewed 10.2k times · Source

I am trying to create an enhanced rich text field using a schema.xml. Currently I have the following:

 <Field ID="8EE65A51-1427-4D5A-8DD0-3712BE5991F0" Name="AudioLinks" 
 DisplayName="AudioLinks" Type="Note" NumLines="1"  RichText="TRUE" 
 Description="Audio Link URL."/>

The above creates a Rich Text field.

How would I go about creating that into an Enhanced Rich Text field instead?

Stuck with this for over a day now. Any assistance would be greatly appreciated

Many Thanks,

Answer

Rich Bennema picture Rich Bennema · Oct 22, 2012

Try setting the RichTextMode attribute to FullHtml:

<Field ID="8EE65A51-1427-4D5A-8DD0-3712BE5991F0"
    Name="AudioLinks"
    DisplayName="AudioLinks"
    Type="Note"
    NumLines="1"
    RichText="TRUE"
    RichTextMode="FullHtml"
    Description="Audio Link URL."/>

For more information see: