You need to sign in to do that
Don't have an account?

Can we add new custom fields to the objects by just writing apex class...
Hi,
Can we add/create new custom fields to the standard objects by writing apex class... If possible please give me a sample code..........
Thanks,
-Shiva
No, it is generally impossible to do so. You would need to be able to construct a valid ZIP file, and perform asynchronous polling to ensure success, both of which are impossible in Apex Code. It is possible to do so, however, with a Java Applet, a Silverlight app, Flash, or even plain JavaScript.
HI,
I don't think this possible throught apex class.
Regards,
Sridhar Bonagiri