You need to sign in to do that
Don't have an account?
mromani
Create a new Controller Class
Hi,
I want to create a new class (controller) that is to be used by my VF page.
I clicked on Setup, then Develop, then Apex Classes, only problem is that there is no "New" button to allow me to create a new class....
Does anyone know why this is happening?
what can i do to fix this problem?
Thanks for the help!
mromani
What edition of Salesforce are you using? From the help...
You can add, edit, or delete Apex using the Salesforce.com user interface only in a Developer Edition organization, a Salesforce.com Enterprise Edition trial organization, or sandbox organization. In a Salesforce.com production organization, you can only make changes to Apex by using the Metadata API deploy call, the Force.com IDE, or the Force.com Migration Tool.
Best,
Sati
So that falls under the Salesforce Production org, so you would need to develop the classes in your Sandbox org (or Developer Edition org) and then deploy to your Production org. This is to ensure sufficient code coverage is in place before going into production. This doc will walk you through both options.
There's numerous articles that discuss this in the Technical Library.
Best,
Sati
Ahhh, ok, perfect, then i'll do it that way.
Thanks for the help!