• Rakesh Gaikwad 8
  • NEWBIE
  • 0 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
Hi,

When i am trying to create new custom filed of type RichTextArea using soap, i am getting following error:

<faultcode>soapenv:Client</faultcode> 
<faultstring>'RichTextArea' is not a valid value for the enum 'FieldType'</faultstring> 

The soap envelop which i am sending is :
<metadata xsi:type="CustomField" xmlns:cmd="http://soap.sforce.com/2006/04/metadata">
                    <fullName>allFields__c.NewFieldTextRich__c</fullName>
                    <label>NewFieldTextRich</label>    
                    <type>RichTextArea</type><visibleLines>25</visibleLines>
                    <length>131072</length>
</metadata>
Please help me for the same.