Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Enhanced Rich Text field via a schema.xml

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,

like image 867
Dev P Avatar asked Dec 21 '22 14:12

Dev P


1 Answers

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:

  • Field Element (List)
  • Creating an Enhanced Rich Text Field in your SharePoint Content Types
like image 61
Rich Bennema Avatar answered Dec 23 '22 04:12

Rich Bennema