function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
BusyBoyBusyBoy 

Unable to Create Apex Classes

I am new to SFDC. I am in developer force and when I go to setup->develop->apex classes I don't see a "new" button to create a new apex class. Is there some config setting which i need to turn on for this?

 

I am the platform admin on the sfdc instance.

 

Thanks

MLamb2005MLamb2005

You're probably viewing it in the Production environment. You need to be in either a Sandbox or Developer Org to create new Apex classes.

BusyBoyBusyBoy

Oh i didnt know that there was a prod and sand box for the developer edition. how do i login to the sandbox?

MLamb2005MLamb2005

Ah, if you're in a developer account already it should be there. Can you post a screenshot of what you see when you go to the Apex Classes page?

BusyBoyBusyBoy

screenshot

 

I guess you are right. I created a sandbox and in the sandbox I can create apex classes.

 

Thanks

haranadhawlsharanadhawls

HI i am facing a problem in creating new Apex Class

haranadhawlsharanadhawls

i am facing a problem in creating new apex class setup->develop->apex classes I don't see a "new" button to create a new apex class.

please refer the screen shot:

 

Hayat Ansari 7Hayat Ansari 7
Please check if you are trying to create an Apex class in Production. If you are in Production we cannot create or modify the Apex class.