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
test.testing550test.testing550 

How to crate Apex classes

Hi all

 

I am new in force.com

and want to create apex in my admin a/c...

There is no option for creating new apex classes....

RyanGuestRyanGuest

Do you have a Developer Edition account? If not, you can get one here for free: http://wiki.apexdevnet.com/index.php/Developer_Edition

 

I recommend checking out these tutorials to get you started:

 

http://wiki.developerforce.com/index.php/Forcedotcomworkbook

 

 

 

Anand@SAASAnand@SAAS

You cannot directly create Apex classes in a Production instance (NA 0 through 7). You will first need to create a sandbox (developer or full) and then develop your apex class there and then write test methods and ensure your apex class has atleast 75% test coverage before you can deploy the apex class to production. As Ryan suggest go through the workbook that talks about the lifecycle for an apex based applicatoin.

Ispita_NavatarIspita_Navatar

Ya as others have pointed out to you , u cannot create Apex classes  in Production, please do sign up for a developer org , which free and has most of the features only tthe storage space is a limiting factor.

Then once you are through with the development , you have to ensure all your trigger and classes have appropriate coverage, and yes please do use ecllipse IDE for development purposes , it will be very helpful.

Also for help with coding do make use of the example given in the Apex documentation part of salesforce.