Quantcast
Channel: Active questions tagged fields - Salesforce Stack Exchange
Viewing all articles
Browse latest Browse all 57

How can I dynamically create a RichTextArea field in Salesforce using the Metadata API?

$
0
0

I'm developing an application in Salesforce that needs to automatically create a custom object during installation, and this object should include a RichTextArea field.I'm using jsforce to handle dynamic object and field creation, but I'm encountering the error: 'RichTextArea' is not a valid value for the enum 'FieldType'.Is there any way to programmatically create a RichTextArea field using the Metadata API, Tooling API, or any other alternative?I would appreciate any suggestions or implementation examples.

      ```{        fullName: "body__c",        label: "Body",        type: "RichTextArea",      },```

Viewing all articles
Browse latest Browse all 57

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>