You need to sign in to do that
Don't have an account?
abhishek kamthan
'RichTextArea' is not a valid value for the enum 'FieldType'
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.
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.
Since rich text area is not on the list, we cannot create it via the SOAP API
eg. for more information please refer Rich Text Area Field Limitations (https://dreamevent.secure.force.com/articleView?id=sf.fields_rich_text_area_limitations.htm&type=5)