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
Rajesh NRajesh N 

is there any way to create fields from apex?

is there any way to create fields from apex. if yes how?
 
ManojjenaManojjena
Hi Rajesh ,
You can create fields and objects by using meta data API .

 
Ashish Dev 3Ashish Dev 3
As of now salesforce does not support to manage metadata using apex.
As a workaround you can use a very good library provided by financialforce @https://github.com/financialforcedev/apex-mdapi