SlideShare uma empresa Scribd logo
1 de 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

Mais conteúdo relacionado

Destaque

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
 

Destaque (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
 

Semelhante a 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
 

Semelhante a 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
 

Último

Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 

Último (20)

Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 

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