You need to sign in to do that
Don't have an account?
adreamer
Creation of a custom field in a custom object
Hi All,
I have a Java app that communicates with Salesforce, and among other things, it creates custom fields in a custom object via the create() method of the Metadata API.
The Java app works fine with a Salesforce developer/sandbox org.
My questions is: will the same Java app work with a production org (Enterprise or Unlimited) ?.
Thanks in advance,
Fernando
Hi,
The code we have is basically identical to what there is in the API manual http://www.salesforce.com/us/developer/docs/api_meta/index.htm
Follow the link and go to: Getting Started > Quick Start > Step 4: Walk Through the Sample Code. There you have 2 sections with Java code samples for File-based and CRUD-based development respectively. I think you are looking for the CRUD-based one.
The code is quite clear and it is well commented out. There isn't anything else beyond that.
Cheers,
Fernando