SlideShare a Scribd company logo
Apex triggers, force_ide_and_deployment
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
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.
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
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-com/
Force.com IDE:
http://wiki.developerforce.com/page/Force.com_IDE_Installation
http://wiki.developerforce.com/page/An_Introduction_to_Force_IDE
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
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];
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/
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
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
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
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

More Related Content

PDF
All About Test Class in #Salesforce
PPTX
Test Classes in Salesforce
PDF
Apex trigger framework Salesforce #ApexTrigger #Salesforce #SFDCPanther
PPTX
ITAG Excellence Awards 2017 - utPLSQL v3
PPTX
Force.com Migration Tool
PPTX
Salesforce ANT migration
PPT
R12 d49656 gc10-apps dba 25
PPTX
IT talk: Как я перестал бояться и полюбил TestNG
All About Test Class in #Salesforce
Test Classes in Salesforce
Apex trigger framework Salesforce #ApexTrigger #Salesforce #SFDCPanther
ITAG Excellence Awards 2017 - utPLSQL v3
Force.com Migration Tool
Salesforce ANT migration
R12 d49656 gc10-apps dba 25
IT talk: Как я перестал бояться и полюбил TestNG

Viewers also liked (12)

PPTX
Developing Salesforce Console Apps with Visualforce & the Integration Toolkit
PDF
Customizing the Salesforce Console With the Integration Toolkit
PDF
Salesforce API: Salesforce Console Deep Dive
PDF
Exposing Salesforce REST Services Using Swagger
PDF
Salesforce Application Lifecycle Management presented to EA Forum by Sam Garf...
PPTX
Triggers and order of execution1
PDF
Salesforce.com API Series: Service Cloud Console Deep Dive
PDF
Best Practices for Team Development in a Single Org
PPTX
Hybrid IT: The Importance of Integration to Salesforce Success
PPT
Salesforce implementation best practices
PPT
The Ideal Salesforce Development Lifecycle
PPTX
Salesforce Development Best Practices
Developing Salesforce Console Apps with Visualforce & the Integration Toolkit
Customizing the Salesforce Console With the Integration Toolkit
Salesforce API: Salesforce Console Deep Dive
Exposing Salesforce REST Services Using Swagger
Salesforce Application Lifecycle Management presented to EA Forum by Sam Garf...
Triggers and order of execution1
Salesforce.com API Series: Service Cloud Console Deep Dive
Best Practices for Team Development in a Single Org
Hybrid IT: The Importance of Integration to Salesforce Success
Salesforce implementation best practices
The Ideal Salesforce Development Lifecycle
Salesforce Development Best Practices
Ad

Similar to Apex triggers, force_ide_and_deployment (20)

PDF
Python-for-DevOps-Learn-Ruthlessly-Effective-Automation-by-Noah-Gift_-Kennedy...
PDF
selenium automation software testing course syllabus TheKiranAcademy_compress...
PDF
Php my sql programing - brochure
DOCX
Qtp 11 notes
PDF
Selenium2.0Open Workshop Topics
PDF
Complete JavaScript Guide Notes Examples
PDF
Download Full iOS 14 Programming Fundamentals with Swift Covers iOS 14 Xcode ...
PPTX
OpenDaylight Developer Experience 2.0
PDF
iOS 14 Programming Fundamentals with Swift Covers iOS 14 Xcode 12 and Swift 5...
PDF
Infrastructure as Code 2nd Edition Early Access Kief Morris all chapter inst...
PDF
azure-cloud-data-engineer-training-curriculum (1).pdf
PDF
Course index
PDF
Letsleads dot net-syllabus
DOC
Qtp Summary
PDF
CCNP Service Provider Training and Certification
PDF
OCAJP 8
PDF
How To Use Selenium Successfully
PPTX
Mining Code Examples with Descriptive Text from Software Artifacts
PDF
Java and AI with LangChain4j: Jakarta EE gets AI
PDF
Adobe Photoshop 2025 Free crack Download
Python-for-DevOps-Learn-Ruthlessly-Effective-Automation-by-Noah-Gift_-Kennedy...
selenium automation software testing course syllabus TheKiranAcademy_compress...
Php my sql programing - brochure
Qtp 11 notes
Selenium2.0Open Workshop Topics
Complete JavaScript Guide Notes Examples
Download Full iOS 14 Programming Fundamentals with Swift Covers iOS 14 Xcode ...
OpenDaylight Developer Experience 2.0
iOS 14 Programming Fundamentals with Swift Covers iOS 14 Xcode 12 and Swift 5...
Infrastructure as Code 2nd Edition Early Access Kief Morris all chapter inst...
azure-cloud-data-engineer-training-curriculum (1).pdf
Course index
Letsleads dot net-syllabus
Qtp Summary
CCNP Service Provider Training and Certification
OCAJP 8
How To Use Selenium Successfully
Mining Code Examples with Descriptive Text from Software Artifacts
Java and AI with LangChain4j: Jakarta EE gets AI
Adobe Photoshop 2025 Free crack Download
Ad

Recently uploaded (20)

PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPT
Teaching material agriculture food technology
PDF
Electronic commerce courselecture one. Pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
Cloud computing and distributed systems.
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Encapsulation_ Review paper, used for researhc scholars
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Per capita expenditure prediction using model stacking based on satellite ima...
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
20250228 LYD VKU AI Blended-Learning.pptx
Chapter 3 Spatial Domain Image Processing.pdf
Teaching material agriculture food technology
Electronic commerce courselecture one. Pdf
Advanced methodologies resolving dimensionality complications for autism neur...
Spectral efficient network and resource selection model in 5G networks
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Programs and apps: productivity, graphics, security and other tools
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Cloud computing and distributed systems.
Building Integrated photovoltaic BIPV_UPV.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Network Security Unit 5.pdf for BCA BBA.
Mobile App Security Testing_ A Comprehensive Guide.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf

Apex triggers, force_ide_and_deployment

  • 2. 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
  • 3. 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.
  • 4. 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
  • 5. Topics to be covered (contd..) 8. Batch Apex Class a. When to use? b. Invoking batch c. Best practises
  • 6. 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
  • 7. 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
  • 8. 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];
  • 10. 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
  • 11. 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
  • 12. 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
  • 13. 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