You need to sign in to do that
Don't have an account?
Jonathan Vance 5
Is it possible to programmatically add or remove custom object fields?
I want to write some code to add and remove fields on custom objects via Apex, SOQL, the API, or somehow programmatically rather than altering objects using the Salesforce UI. Is there any Force equivlent to a SQL ALTER TABLE statement? Is it possible to alter (add/remove fields on) custom objects using only code?
The following is a java code to create a custom field on Object.
To add custom field to a custom object use below code. You must use Partner and metadata API's to create the custm field.
Regards,
Naveen
http://www.autorabit.com