OK...I have my classes and trigger working in my sandbox; how do I get them created in my prod org? I do not have an Add button in Prod like I did in the sandbox.
That's because you can't write Apex code directly in a production environment. You have to write a test class that covers at least 75% of the code you're trying to deploy before you can push any Apex code to a production instance. As far as moving from a sandbox or developer environment, you have a few choices including:
That's because you can't write Apex code directly in a production environment. You have to write a test class that covers at least 75% of the code you're trying to deploy before you can push any Apex code to a production instance. As far as moving from a sandbox or developer environment, you have a few choices including:
Yes, I am in the SFDC UI. I would be happy to manually copy/paste it to production; however I don't see any way to do that. I don't have a "New" button in the Apex Classes area in production that I had in the sandbox. How would you go about copying/pasting it to prod?
That's because you can't write Apex code directly in a production environment. You have to write a test class that covers at least 75% of the code you're trying to deploy before you can push any Apex code to a production instance. As far as moving from a sandbox or developer environment, you have a few choices including:
For more detail refer to the Apex documentation here: http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_deploying.htm
All Answers
I guessing you are in UI. If you are the only option is change set or manual copy paste. If you have eclipse you could use it to deploy
That's because you can't write Apex code directly in a production environment. You have to write a test class that covers at least 75% of the code you're trying to deploy before you can push any Apex code to a production instance. As far as moving from a sandbox or developer environment, you have a few choices including:
For more detail refer to the Apex documentation here: http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_deploying.htm
Yes, I am in the SFDC UI. I would be happy to manually copy/paste it to production; however I don't see any way to do that. I don't have a "New" button in the Apex Classes area in production that I had in the sandbox. How would you go about copying/pasting it to prod?
Thank you! I will give that a try.