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
AviAviAviAvi 

create a custom field via eclipse.

Hello all,

 

i just want to be sure that i can create a custom field (for standard object - lead) via eclipse.

 

i know that if i'll take the XML file of the lead.object and i add him a fields it will work(i.e - i adding an XML code that represent a field and save the XML file ==> the field been created), the problem is that i need to

create the field in a dynamic way (let's say i have WS and he pass me a list of fields that i need to create .. and it's must be done immediately).

 

i read that there are some function that handle in the metadata API such as : create() , retrieve() ..

so basically i want to know 2 things :

 

1.) to change the API metadata, it must be done from JAVA , or maybe i can do it from apex classes.

2.) Please -  examples.

 

Thanks and all the best ,

Avi .

 

 

sandeep@Salesforcesandeep@Salesforce

Here is your expected answer I think

http://cloudisfuture.blogspot.in/2013/01/salesforce-create-custom-fields-using.html

 

 

Please let me know in case of any further query