SlideShare une entreprise Scribd logo
1  sur  13
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

Contenu connexe

En vedette

Developing Salesforce Console Apps with Visualforce & the Integration Toolkit
Developing Salesforce Console Apps with Visualforce & the Integration ToolkitDeveloping Salesforce Console Apps with Visualforce & the Integration Toolkit
Developing Salesforce Console Apps with Visualforce & the Integration ToolkitAndrew Mahood
 
Customizing the Salesforce Console With the Integration Toolkit
Customizing the Salesforce Console With the Integration ToolkitCustomizing the Salesforce Console With the Integration Toolkit
Customizing the Salesforce Console With the Integration ToolkitSalesforce Developers
 
Salesforce API: Salesforce Console Deep Dive
Salesforce API: Salesforce Console Deep DiveSalesforce API: Salesforce Console Deep Dive
Salesforce API: Salesforce Console Deep DiveSalesforce Developers
 
Exposing Salesforce REST Services Using Swagger
Exposing Salesforce REST Services Using SwaggerExposing Salesforce REST Services Using Swagger
Exposing Salesforce REST Services Using SwaggerSalesforce Developers
 
Salesforce Application Lifecycle Management presented to EA Forum by Sam Garf...
Salesforce Application Lifecycle Management presented to EA Forum by Sam Garf...Salesforce Application Lifecycle Management presented to EA Forum by Sam Garf...
Salesforce Application Lifecycle Management presented to EA Forum by Sam Garf...Sam Garforth
 
Triggers and order of execution1
Triggers and order of execution1Triggers and order of execution1
Triggers and order of execution1Prabhakar Sharma
 
Salesforce.com API Series: Service Cloud Console Deep Dive
Salesforce.com API Series: Service Cloud Console Deep DiveSalesforce.com API Series: Service Cloud Console Deep Dive
Salesforce.com API Series: Service Cloud Console Deep DiveSalesforce Developers
 
Best Practices for Team Development in a Single Org
Best Practices for Team Development in a Single OrgBest Practices for Team Development in a Single Org
Best Practices for Team Development in a Single OrgSalesforce Developers
 
Hybrid IT: The Importance of Integration to Salesforce Success
Hybrid IT: The Importance of Integration to Salesforce SuccessHybrid IT: The Importance of Integration to Salesforce Success
Hybrid IT: The Importance of Integration to Salesforce SuccessDarren Cunningham
 
Salesforce implementation best practices
Salesforce implementation best practicesSalesforce implementation best practices
Salesforce implementation best practicesCloud for Good
 
The Ideal Salesforce Development Lifecycle
The Ideal Salesforce Development LifecycleThe Ideal Salesforce Development Lifecycle
The Ideal Salesforce Development LifecycleJoshua Hoskins
 
Salesforce Development Best Practices
Salesforce Development Best PracticesSalesforce Development Best Practices
Salesforce Development Best PracticesVivek Chawla
 

En vedette (12)

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

Similaire à Apex triggers, force_ide_and_deployment

Python-for-DevOps-Learn-Ruthlessly-Effective-Automation-by-Noah-Gift_-Kennedy...
Python-for-DevOps-Learn-Ruthlessly-Effective-Automation-by-Noah-Gift_-Kennedy...Python-for-DevOps-Learn-Ruthlessly-Effective-Automation-by-Noah-Gift_-Kennedy...
Python-for-DevOps-Learn-Ruthlessly-Effective-Automation-by-Noah-Gift_-Kennedy...MinhTrnNht7
 
selenium automation software testing course syllabus TheKiranAcademy_compress...
selenium automation software testing course syllabus TheKiranAcademy_compress...selenium automation software testing course syllabus TheKiranAcademy_compress...
selenium automation software testing course syllabus TheKiranAcademy_compress...akashjbk7
 
Php my sql programing - brochure
Php   my sql programing - brochurePhp   my sql programing - brochure
Php my sql programing - brochureZabeel Institute
 
Selenium2.0Open Workshop Topics
Selenium2.0Open Workshop TopicsSelenium2.0Open Workshop Topics
Selenium2.0Open Workshop TopicsCleanSoft Academy
 
Complete JavaScript Guide Notes Examples
Complete JavaScript Guide Notes ExamplesComplete JavaScript Guide Notes Examples
Complete JavaScript Guide Notes ExamplesJavier Crisostomo
 
OpenDaylight Developer Experience 2.0
 OpenDaylight Developer Experience 2.0 OpenDaylight Developer Experience 2.0
OpenDaylight Developer Experience 2.0Michael Vorburger
 
Letsleads dot net-syllabus
Letsleads dot net-syllabusLetsleads dot net-syllabus
Letsleads dot net-syllabusletsleads
 
How To Use Selenium Successfully
How To Use Selenium SuccessfullyHow To Use Selenium Successfully
How To Use Selenium SuccessfullyDave Haeffner
 
Mining Code Examples with Descriptive Text from Software Artifacts
Mining Code Examples with Descriptive Text from Software ArtifactsMining Code Examples with Descriptive Text from Software Artifacts
Mining Code Examples with Descriptive Text from Software ArtifactsPreetha Chatterjee
 
Dot net-course-curriculumn
Dot net-course-curriculumnDot net-course-curriculumn
Dot net-course-curriculumnAmit Sharma
 
DevOps Days, Berlin, Oct 2014
DevOps Days, Berlin, Oct 2014DevOps Days, Berlin, Oct 2014
DevOps Days, Berlin, Oct 2014Tihomir Trifonov
 
Causal Arguments--2014Why do students drop out of schoolWha.docx
Causal Arguments--2014Why do students drop out of schoolWha.docxCausal Arguments--2014Why do students drop out of schoolWha.docx
Causal Arguments--2014Why do students drop out of schoolWha.docxtidwellveronique
 
How to Write Great Kafka Connectors
How to Write Great Kafka ConnectorsHow to Write Great Kafka Connectors
How to Write Great Kafka Connectorsconfluent
 
C#.net, C Sharp.Net Online Training Course Content
C#.net, C Sharp.Net Online Training Course ContentC#.net, C Sharp.Net Online Training Course Content
C#.net, C Sharp.Net Online Training Course ContentSVRTechnologies
 
Expert selenium with core java
Expert selenium with core javaExpert selenium with core java
Expert selenium with core javaIshita Arora
 
web component_development
web component_developmentweb component_development
web component_developmentbachector
 

Similaire à Apex triggers, force_ide_and_deployment (20)

Python-for-DevOps-Learn-Ruthlessly-Effective-Automation-by-Noah-Gift_-Kennedy...
Python-for-DevOps-Learn-Ruthlessly-Effective-Automation-by-Noah-Gift_-Kennedy...Python-for-DevOps-Learn-Ruthlessly-Effective-Automation-by-Noah-Gift_-Kennedy...
Python-for-DevOps-Learn-Ruthlessly-Effective-Automation-by-Noah-Gift_-Kennedy...
 
selenium automation software testing course syllabus TheKiranAcademy_compress...
selenium automation software testing course syllabus TheKiranAcademy_compress...selenium automation software testing course syllabus TheKiranAcademy_compress...
selenium automation software testing course syllabus TheKiranAcademy_compress...
 
Php my sql programing - brochure
Php   my sql programing - brochurePhp   my sql programing - brochure
Php my sql programing - brochure
 
Qtp 11 notes
Qtp 11 notesQtp 11 notes
Qtp 11 notes
 
Selenium2.0Open Workshop Topics
Selenium2.0Open Workshop TopicsSelenium2.0Open Workshop Topics
Selenium2.0Open Workshop Topics
 
Complete JavaScript Guide Notes Examples
Complete JavaScript Guide Notes ExamplesComplete JavaScript Guide Notes Examples
Complete JavaScript Guide Notes Examples
 
OpenDaylight Developer Experience 2.0
 OpenDaylight Developer Experience 2.0 OpenDaylight Developer Experience 2.0
OpenDaylight Developer Experience 2.0
 
Course index
Course indexCourse index
Course index
 
Letsleads dot net-syllabus
Letsleads dot net-syllabusLetsleads dot net-syllabus
Letsleads dot net-syllabus
 
Qtp Summary
Qtp SummaryQtp Summary
Qtp Summary
 
OCAJP 8
OCAJP 8OCAJP 8
OCAJP 8
 
How To Use Selenium Successfully
How To Use Selenium SuccessfullyHow To Use Selenium Successfully
How To Use Selenium Successfully
 
Mining Code Examples with Descriptive Text from Software Artifacts
Mining Code Examples with Descriptive Text from Software ArtifactsMining Code Examples with Descriptive Text from Software Artifacts
Mining Code Examples with Descriptive Text from Software Artifacts
 
Dot net-course-curriculumn
Dot net-course-curriculumnDot net-course-curriculumn
Dot net-course-curriculumn
 
DevOps Days, Berlin, Oct 2014
DevOps Days, Berlin, Oct 2014DevOps Days, Berlin, Oct 2014
DevOps Days, Berlin, Oct 2014
 
Causal Arguments--2014Why do students drop out of schoolWha.docx
Causal Arguments--2014Why do students drop out of schoolWha.docxCausal Arguments--2014Why do students drop out of schoolWha.docx
Causal Arguments--2014Why do students drop out of schoolWha.docx
 
How to Write Great Kafka Connectors
How to Write Great Kafka ConnectorsHow to Write Great Kafka Connectors
How to Write Great Kafka Connectors
 
C#.net, C Sharp.Net Online Training Course Content
C#.net, C Sharp.Net Online Training Course ContentC#.net, C Sharp.Net Online Training Course Content
C#.net, C Sharp.Net Online Training Course Content
 
Expert selenium with core java
Expert selenium with core javaExpert selenium with core java
Expert selenium with core java
 
web component_development
web component_developmentweb component_development
web component_development
 

Dernier

Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Principled Technologies
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 

Dernier (20)

Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 

Apex triggers, force_ide_and_deployment

  • 1.
  • 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