Navigate and Edit Source Code | Developer Console Basics

Опубликовано: 30 Ноябрь 2022
на канале: Saurabh Infotech Solutions
8,188
26

#salesforce
#trailhead
#salestraining

Developer Console Basics

Now that you’ve started to get comfortable with the Developer Console, let’s use it to view, modify, and run the systems powering your spaceship. In other words, let’s get cracking with some code!

Create an Apex Class
Apex is a Salesforce programming language that you can use to customize business processes in your org. If you like fancy words, you might call Apex a strongly typed, object-oriented language that allows developers to execute flow and transaction-control statements on the Lightning Platform server, in conjunction with calls to the Lightning Platform APIs. Or you can just call it a programming language that looks a lot like Java code and interacts with the data in your org. You use it to add business logic. For example, if you want to alert an account owner when contact information changes, Apex is the answer.

To learn more about Apex and how it works, check out the Apex Basics & Database module. For now, don’t worry too much about the code—our goal is to get to know the Developer Console.

Say you need to change your flight path to avoid asteroid 2014 QO441. You don’t have time to contact the ground control team to tell them about your course correction. Let’s write some Apex code that sends an email to your Mission Specialist on Earth every time you change your flight path.