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
Vasavi VajinepalliVasavi Vajinepalli 

Creating dynamic custom objects in SFDC

Hi,

Can anyone help me in sharing a sample application to create dynamic custom objects, fields, types and lengh in sfdc using java?
or is there any way to create custom objects dynamically in sfdc.

Thanks,
vasavi 
scottbcovertscottbcovert
Hi Vasavi,

It sounds like the Metadata API might be what you're after. Check out this link for some Java sample code for creating new metadata in SFDC:

https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_createMetadata.htm