function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
I am to Force.com ide Please give me solutions how to configure ide and run apex class
Follow the steps below
1. Create Force.com project
2. Enter ur credentials and next
3. Click on first option to select Apex classes, triggers..
4. Your project will be created.
5. Select the class from the left side pane and open the code
6. You will find execute anonymous tab below
7. Let us consider the class name as 'MyClass'
then write the below code in Execute Anonymous to invoke your apex class and click execute button
MyClass obj = new MyClass();
obj.ClassMethod();
8. Note if your class has parameterized constructor, pass the parameter while creating object for the class
ok its working Thank you .I hava another doubt how to priview the visualforce pages in IDE
please give me reply
As of now this feature is yet not supported by IDE.
Follow the steps below
1. Create Force.com project
2. Enter ur credentials and next
3. Click on first option to select Apex classes, triggers..
4. Your project will be created.
5. Select the class from the left side pane and open the code
6. You will find execute anonymous tab below
7. Let us consider the class name as 'MyClass'
then write the below code in Execute Anonymous to invoke your apex class and click execute button
MyClass obj = new MyClass();
obj.ClassMethod();
8. Note if your class has parameterized constructor, pass the parameter while creating object for the class
All Answers
Follow the steps below
1. Create Force.com project
2. Enter ur credentials and next
3. Click on first option to select Apex classes, triggers..
4. Your project will be created.
5. Select the class from the left side pane and open the code
6. You will find execute anonymous tab below
7. Let us consider the class name as 'MyClass'
then write the below code in Execute Anonymous to invoke your apex class and click execute button
MyClass obj = new MyClass();
obj.ClassMethod();
8. Note if your class has parameterized constructor, pass the parameter while creating object for the class
ok its working Thank you .I hava another doubt how to priview the visualforce pages in IDE
please give me reply
As of now this feature is yet not supported by IDE.