Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Apex triggers, force_ide_and_deployment


Published on

Published in: Technology, Design
  • Be the first to comment

  • Be the first to like this

Apex triggers, force_ide_and_deployment

  1. 1. Topics to be covered: 1. Force IDE a. Eclipse plug-in or 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: IDE:
  6. 6. Debug Logs Understanding Debug Logs: /apex_debugging_debug_log.htm Using Debug Logs: Setting Log Filtering 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: soql-vs-sosl-which-one-to-use-and-when Usage: Content/langCon_apex_SOQL.htm Self Study link:
  9. 9. SOQL & SOSL Relationship queries: langCon_apex_SOQL_foreign_key.htm Self Study link:
  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:
  11. 11. Triggers Syntax: trigger triggerName on ObjectName (trigger_events) { code_block } Trigger Context Variables: Content/apex_triggers_context_variables.htm Before or After Trigger: how-should-i-determine-whether-to-use-before-or-after-when-writing-a-trigger
  12. 12. Triggers Order of Execution in Trigger: apex_triggers_order_of_execution.htm Self Study: