You need to sign in to do that
Don't have an account?
jboza
Need to develop new apex class
I am trying to develop a new apex class in a production environment and it won,t let me. How to use the developer console and migrate into the production. I am lost but the code I have works since I have tested elsewhere. Can somebody walk me through this?
Hi,
Only Developer Edition, Sandbox, and Trial organizations have the ability to create, edit, and delete Apex classes and triggers directly in the Salesforce CRM user interface. Unlimited Edition and Enterprise Edition production organizations can execute Apex and can view Apex in the user interface, but modifying Apex in the user interface is not allowed.
The Apex classes and triggers should first be written in a Developer Edition, Sandbox, or Trial organization along with the appropriate test methods that test at least 1% of triggers and 75% of classes. To deploy Apex into a production organization, a user with the Author Apex permission must deploy the triggers and classes using either the compileAndTest() or deploy() Metadata API methods which can be accessed with either the Apex Development Tool based on Apache ANT or the Force.com IDE based on Eclipse.
You can use Changeset also to achieve this, you can go throgh the below link for steps:
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_qs_deploy.htm
mark it as solved if the solution worked as it might help others..!!
Thanks,
Prashant Tiwari
Regards,
Satish Kumar
If I have it work in developer do I need to test before deploying
That said it is a good practice to test before deploying.
Regards,
Satish Kumar
I am confused as test. Do I need to develop a test class or page?
Regards,
Satish Kumar