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
nilannilan 

Please help

Is there any way to bulk create custom fields.

For example, if I need to create 20 custom fields for leads then I have to create them one by one using the UI.

Is there any other way to create them at once giving only the compulsory details? Using apex code or something?

 

Could you please advice me regarding this

 

 

NasipuriNasipuri

Hi Nilan,

You can use Meta Data API call for this purpose.

But that is available only for developer edition.

Thanks and Regards,

Dinesh Nasipuri

Dinesh.Nasipuri@gmail.com

 

RickyGRickyG
The Force.com IDE allows you to add custom fields through XML, which could be easily cut and pasted.

Hope this helps.