Topics to be covered:
1. Force IDE
a. Eclipse plug-in or Force.com IDE
i. Installation.
ii. Usage.
2. Debug Logs
a. Execut...
Topics to be covered (contd..)
4. Apex Triggers
a. Trigger Definition and Creation
b. Trigger Usage
c. Syntax
d. Variable ...
Topics to be covered (contd..)
5. Deployment
a. Change Set
i. Setup
ii. Sandbox orgs
iii. Test cases
iv. Profile inclusion...
Topics to be covered (contd..)
8. Batch Apex Class
a. When to use?
b. Invoking batch
c. Best practises
Force IDE
Installing plug in for Eclipse:
http://shivasoft.in/blog/salesforce/install-force-com-ide-in-eclipse-salesforce-...
Debug Logs
Understanding Debug Logs:
http://www.salesforce.com/us/developer/docs/apexcode/Content
/apex_debugging_debug_lo...
SOQL & SOSL
SOQL syntax:
List<Account> aa = [SELECT Id, Name FROM Account WHERE Name = 'Acme'];

SOSL Syntax:
List<List<SO...
SOQL & SOSL
Difference:
http://salesforce.stackexchange.com/questions/9028/
soql-vs-sosl-which-one-to-use-and-when
Usage:
...
SOQL & SOSL
Relationship queries:
http://www.salesforce.com/us/developer/docs/apexcode/Content/
langCon_apex_SOQL_foreign_...
Triggers
Definition:
Apex can be invoked through the use of triggers.
A trigger is Apex code that executes before or after...
Triggers
Syntax:
trigger triggerName on ObjectName (trigger_events) { code_block }
Trigger Context Variables:

http://www....
Triggers
Order of Execution in Trigger:
http://www.salesforce.com/us/developer/docs/apexcode/Content/
apex_triggers_order_...
Apex triggers, force_ide_and_deployment
Upcoming SlideShare
Loading in...5
×

Apex triggers, force_ide_and_deployment

819
-1

Published on

Published in: Technology, Design
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
819
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
52
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Apex triggers, force_ide_and_deployment

  1. 1. Topics to be covered: 1. Force IDE a. Eclipse plug-in or Force.com IDE i. Installation. ii. Usage. 2. Debug Logs a. Execute Anonymous. b. Custom Logging. c. Dev console for debugging. d. Log filters. 3. SOQL and SOSL a. Syntax b. Basic difference c. Limits d. Keywords e. Joins and Sub queries in SOQL f. Aggregate queries in SOQL
  2. 2. Topics to be covered (contd..) 4. Apex Triggers a. Trigger Definition and Creation b. Trigger Usage c. Syntax d. Variable consideration, field consideration, exceptions. e. Order of Execution f. Best practices and Data flow control.
  3. 3. Topics to be covered (contd..) 5. Deployment a. Change Set i. Setup ii. Sandbox orgs iii. Test cases iv. Profile inclusion v. Authorizing metadata flow b. IDE c. ANT i. Clean up Org ii. New deployment 6. Web Services in APEX 7. Apex & Email a. Messaging Class b. Using templates
  4. 4. Topics to be covered (contd..) 8. Batch Apex Class a. When to use? b. Invoking batch c. Best practises
  5. 5. Force IDE Installing plug in for Eclipse: http://shivasoft.in/blog/salesforce/install-force-com-ide-in-eclipse-salesforce-com/ Force.com IDE: http://wiki.developerforce.com/page/Force.com_IDE_Installation http://wiki.developerforce.com/page/An_Introduction_to_Force_IDE
  6. 6. Debug Logs Understanding Debug Logs: http://www.salesforce.com/us/developer/docs/apexcode/Content /apex_debugging_debug_log.htm Using Debug Logs: http://login.salesforce.com/help/doc/en/code_debug_log.htm Setting Log Filtering http://www.salesforce.com/us/developer/docs/apexcode/Content/ code_setting_debug_log_levels.htm
  7. 7. SOQL & SOSL SOQL syntax: List<Account> aa = [SELECT Id, Name FROM Account WHERE Name = 'Acme']; SOSL Syntax: List<List<SObject>> searchList = [FIND 'map*' IN ALL FIELDS RETURNING Account (Id, Name), Contact, Opportunity, Lead];
  8. 8. SOQL & SOSL Difference: http://salesforce.stackexchange.com/questions/9028/ soql-vs-sosl-which-one-to-use-and-when Usage: http://www.salesforce.com/us/developer/docs/apexcode/ Content/langCon_apex_SOQL.htm Self Study link: http://www.salesforce.com/us/developer/docs/soql_sosl/
  9. 9. SOQL & SOSL Relationship queries: http://www.salesforce.com/us/developer/docs/apexcode/Content/ langCon_apex_SOQL_foreign_key.htm Self Study link: http://wiki.developerforce.com/page/ A_Deeper_look_at_SOQL_and_Relationship_Queries_on_Force.com
  10. 10. Triggers Definition: Apex can be invoked through the use of triggers. A trigger is Apex code that executes before or after the following types of operations: insert update delete merge upsert undelete Defining Trigger: https://login.salesforce.com/help/doc/en/code_define_trigger.htm
  11. 11. Triggers Syntax: trigger triggerName on ObjectName (trigger_events) { code_block } Trigger Context Variables: http://www.salesforce.com/us/developer/docs/apexcode/ Content/apex_triggers_context_variables.htm Before or After Trigger: http://salesforce.stackexchange.com/questions/2033/ how-should-i-determine-whether-to-use-before-or-after-when-writing-a-trigger
  12. 12. Triggers Order of Execution in Trigger: http://www.salesforce.com/us/developer/docs/apexcode/Content/ apex_triggers_order_of_execution.htm Self Study: http://force.siddheshkabe.co.in/2012/01/basic-of-writing-apex-trigger.html
  1. ¿Le ha llamado la atención una diapositiva en particular?

    Recortar diapositivas es una manera útil de recopilar información importante para consultarla más tarde.

×