This tutorial shows you how to create a new Apex Class within your Salesforce environment.


1. Right click on the "Classes" folder and select "Class".



2. From the Class Wizard enter the name of the new class.


Template

Default - Creates a basic class using the parameters defined below.


Inbound Email Service - Creates a simple Inbound Email Service Class.


Test Class - Creates a simple Test Class.

Access Modifier

Select if this will be a Global or Public class.

Optional Modifier

Select any additional modifiers if needed.

Document Comments

None - Does not place a comment section at the beginning of the class.


Basic - Places a simple comment section at the beginning of the class.


Custom - Places the custom comment section defined in Settings at the beginning of the class.


3. Click "Finish"