This first course in our Salesforce Certified Platform Developer I Certification series contains 8 hours of in-depth video training to get you introduced to Apex - the core language of Salesforce.
In this course, we cover:
Apex Triggers
Apex Classes
Data Types
Logic
Object Oriented Concepts
Working with Salesforce Data
Custom Metadata Types
Platform Events
Asynchronous Apex
Extending Declarative Functionality
Testing and Debugging
This course also includes five development challenges to put your newfound coding skills into practice.
NOW is the time to take your Cloud Career to the next level by learning Apex with us.
We are now in the Object Oriented Concepts section of the course. In this introductory lesson, I offer an introduction to objects.
In this lesson, we discuss variables.
In this lesson, we discuss the use and types of variables in Apex.
Resource:
Variables - https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/langCon_apex_variables.htm?search_text=variables
We are now in the Working with Salesforce Data section of the course. In this lesson, I discuss DML statements.
In this lesson I introduce you to how to SOQL (Salesforce Object Query Language) queries.
Use the Salesforce Object Query Language (SOQL) to search your organization’s Salesforce data for specific information. SOQL is similar to the SELECT statement in the widely used Structured Query Language (...
Use the Salesforce Object Search Language (SOSL) to construct text-based search queries against the search index.
Resource:
Salesforce Object Search Language (SOSL) - https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_sosl.htm
In this lesson we cover dynamic queries using Dynamic SOQL and Dynamic SOSL.
Dynamic SOQL refers to the creation of a SOQL string at run time with Apex code. Dynamic SOQL enables you to create more flexible applications. For example, you can create a search based on input from an end user or upd...
Because Apex runs in a multitenant environment, the Apex runtime engine strictly enforces limits so that runaway Apex code or processes don’t monopolize shared resources. If some Apex code exceeds a limit, the associated governor issues a runtime exception that cannot be handled.
Resource:
Execu...
Resource:
Install Setup Components - Setup: https://login.salesforce.com/packaging/installPackage.apexp?p0=04t4W000002r9o6QAA
In this lesson, we check our work from the second challenge.
Resource:
Install Setup Components - Solution: https://login.salesforce.com/packaging/installPackage.apexp?p0=04t4W000002r9oBQAQ
We are now in the Custom Metadata Types section of this course. In this introductory lesson, I lay the groundwork related to what we will cover in this section as well as what Custom Metadata Types are and how they are used.
Custom Metadata Types are similar to Custom Objects, but they have __md...
In this lesson, we create a custom metadata type.
We are now in the Platform Events section of this course. In this introductory lesson, I discuss what we will cover in this section.
In this lesson, we create a custom platform event.
In this lesson we subscribe to platform events with Apex.
It's now time to publish platform events with Apex.
This is the third challenge of the course, which will be followed by the work check in the next lesson. For this challenge we will be creating a platform event trigger process that utilizes custom metadata types for settings.
Resource:
Install Setup Components - Setup: https://login.salesforce.c...
In this lesson, we review the work and solution for Challenge 3.
Resource:
Install Example Solution - Solution: https://login.salesforce.com/packaging/installPackage.apexp?p0=04t3h000004slmWAAQ
We have now progressed to the point of being ready to address Asynchronous Apex. We will start off this section discussing Scheduled Apex.
To invoke Apex classes to run at specific times, first implement the Schedulable interface for the class, then specify the schedule using either the Schedule...
A future method runs in the background, asynchronously. You can call a future method for executing long-running operations, such as callouts to external Web services or any operation you'd like to run in its own thread.
Resource:
Future Methods - https://developer.salesforce.com/docs/atlas.en-us...
The Queueable interface enables you to add jobs to the queue and monitor them. Using the interface is an enhanced way of running your asynchronous Apex code compared to using future methods.
Resources:
Queueable Apex - https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex...
To use batch Apex, write an Apex class that implements the Salesforce-provided interface Database.Batchable and then invoke the class programmatically.
To monitor or stop the execution of the batch Apex job, from Setup, enter Apex Jobs in the Quick Find box, then select Apex Jobs.
Resource:
Usi...