function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Scapelli77Scapelli77 

S-control or Script to create custom fields by code

Hi, is possible to create custom field by code?

Thank's

Simone
Vijay RautVijay Raut

Hi,

There is no such API or methods available to create custom field on any object using Code.

sfdcfoxsfdcfox
There's a Developer Preview of such an API, but you can't use it for anything serious (production) as of today. It's in the documentation if you're curious.