You need to sign in to do that
Don't have an account?
asadim2
Can Tooling API create Apex content in Production Orgs?
You know how you need to use Changesets to deploy stuff from sandbox to production? So am I going to run into errors if my code tries to create Apex classes and VF pages in a production org?
Thanks.
Thanks.
How will you create an Apex class in production with Tooling API? create() is used to compile Apex classes or triggers in Developer Edition or sandbox organizations.
You can't create or develop classes directly in a production org using any tool.
All Answers
You can not create/write apex code in production. You can do that in sandbox and once test coverage is above 75%, deploy it in production.
Please note that I'm using the Tooling API. Otherwise as I already mentioned I am well aware of code deployment requirements.
How will you create an Apex class in production with Tooling API? create() is used to compile Apex classes or triggers in Developer Edition or sandbox organizations.
You can't create or develop classes directly in a production org using any tool.
Visualforce pages can be created and edited in sandbox and in production. If it involves a custom controller or extension (apex classed) then you will have to develop that in sandbox.