Setting up Developer Account and walk-through of Developer console.

Deepika Khanna
A free video tutorial from Deepika Khanna
Software Developer,Blogger,Author
4.4 instructor rating • 31 courses • 91,166 students

Learn more from the full course

Salesforce Development Training for Beginners

Salesforce Development :Learn about Apex programming and Salesforce development. Become a Salesforce Developer.

13:50:14 of on-demand video • Updated September 2019

  • you will have a mastery of programming in Apex no matter what level of experience you are at right now.
  • My goal is not just to show you how to program, but to help you understand what you are doing, and why you are doing it as well!
  • Not only do the videos show you how to become a Apex programmer in great detail, but this course also contains lot of assignments to practice.
  • I'll be constantly adding new material to the course as well as updating it on a regular basis to make sure you access to the best and most update to date and comprehensive Apex training
English [Auto] Hello guys. Welcome back. So before we go ahead and deep dive into variables and what are they and what are the purpose of those. You're gonna go ahead and create a developer's account. This is an account which we use to write our programs and do. This is the place we're going to practice. OK so it's a free developers account. You do not have to pay a penny. It's a it's not a trial version so you can use as long as you want it is provided by Salesforce for free for your learning purpose. So in order to set up this account would you have to do is you go ahead and go to your browser and go to this Web site called developer dot sales force dot com. So this is the name of the place developer dot Salesforce dot com. And then on the right inside there is a button to sign up so go ahead and click on this sign up button. Now provide all your details. So I'm going to go ahead and provide my first name. My last name email address you can provide your e-mail address in full at my tutorial wracked dot com. Now this e-mail address has to be a valid e-mail address because Salesforce will send you a link to set up the password. So make sure this is a valid one and then you roll. You can put it as developer company company and put it as my tutorial rack then country postal code and user name so the user name has to be in an email format. So I'm going to see Ebix programming to add my tutorial rack. Dot com. So this is going to be the username. Go ahead and save this username because in order to log in you will need your username and password. So I'm going to go ahead and paste this username over here and then once you sign up you're going to go ahead and receive an e-mail from Salesforce and this is to verify your account. This is the user name. So go ahead and hit the verify account button here click on that and it will take you to the Salesforce screen to change your password. So this is the place where you have to set up the password for your account. So make sure your password should have eight characters one letter and one number. So I'm going to set up my password here and do the next thing is if there is a security cushion. Go ahead and provide that. So my security cushion is what city you were born and then and then hit the change password button. So once you have the change password it will take you to the Salesforce developers account and I'm pretty sure you are familiar with this because I am assuming that you are already familiar with the out of the box features of Salesforce how to navigate all that because in this course we're going to focus on the programming side of the salesforce we're going to learn about IPv6 so I'm not going to walk you to the out of the box features because that is out of the scope of the scores. But once you log in this is the lightning UI lightning UI as you know is the newer version of the sales force. And if you're wanted to go ahead and switch to the older UI which is the classic you can do that by clicking on this right in sight and at the bottom you see a switch to Salesforce classic. So if you go ahead and click on this one it'll take you to the older UI. This is how the older UI looks like. And if you want to if you like more of the classic UI you can work here if you wanted to go back to the lightning you can click on the switch to lightning experience and it'll take you to this newer Salesforce UI so I request you guys to get familiar with this one because this is the newer version the older will probably go away eventually. So get your hands around the lightning you want. So this is how the lightning UI looks like. Now in this course what you're going to do is we're going to write our program using a tool which is already provided to you by Salesforce. You do not have to download anything you do not have to download an I.D. or anything like that. We will use a developer console and that's where we will go ahead and write our programs. So what we're going to do is we'll click on this gear icon here and this is the link to go to the developer console. So this is the place where we will write our programs. This is the place we revere practice our epic scored and stuff like that. So this is I it looks like now first thing is there is a file menu in if you want to create a new Epix class or a trigger or a visual first page you go to file then click on you. And these are the different things that you can do. What is Apex glass and triggers we'll talk all about that. So the first thing is if you want to just create a class just click on File new Epix glass if you want to create a trigger just click on this apex trigger if you want to create a new vision for speech click here if you want to build a lightning application you can click on this one. So this is the file page. Now if you wanted to execute some piece of the code that you have written then you can use this anonymous window. OK. So if you have written a few lines of code and if you want to just tested what the result is you can write that code inside of here and do this is not for real time in real time you don't do execute write code and execute anonymous. You basically create classes and stuff like that but here what you're going to do is if you just have a simple query want to do update something you can use this anonymous window so you write the code here click on this checkbox and hit the execute button once you do that it give you the result of your code the output of your program. So the next thing is if there is any logs you can view it under the steps of the log stab it will give you all the results the test. This is for running the test classes OK. Test cases. So the outcome of your test cases will be shown here. So if your test cases are successful or if they are failed you will see it under the test tab. We will use all this once we progress. This is just an overview. Then quickly Ed if you wanted to write a query and wanted to see the result of the query then you're going to write that query inside of this Ed.. Also if you just wanted to see what the query is returning so you can use this query Ed. once you write the query hit the execute button and the results will show up so that's what the query did today so let's see if I say select I.D. call my name from the account object and if you go out and hit the execute button this is what the result came. So this is the result. If you don't meet twelve records the idea of the account records and the name of those account records. So this is a so cool query then problem so let's see if you're if you have written a program and there is some issue in your code. So let's see if I created a new class and do. This is the name of the class desk class. Let's see. And then inside of this if let's say you entered a semicolon and tried to hit the save you will see there is an error here because this is not a valid statement. You'll see that this this particular class is giving a error and it's telling you have a semicolon it also gives you the line number where the editors. So it's easy you can just go to the line number two and you see that here there's something wrong. So you can just go in and delete it. And once you delete it you have to save it. OK. Anytime you make a change you have to save. So in order to save either you can go to file and click the save button or you can just do control S and a D save your class until and unless the problems are removed you will not be able to save. So let's see if there is an edit in your code. And if I tried to save it what would happen is it would pop up in this problem section if you go to the problems you see there's there's a problem here and no matter if you hit the save button it's not going to save. So if your class is saved or not you can see by having this strict science if there isn't a strict sign next to the class that means the class is not saved yet. OK. So before you run your program before you execute you have to make sure you have saved your changes. If there is an strict sign that means your class has not been saved fully. OK. So let's say you created a class you saved it and this is an save mode. Right now what you do is you you go ahead and do something let's say you create another variable and now you have to again save it because you know this new change the order changes are there. But in order to see this you again have to click on file save. And once you get the file save it that strict sign will go away. Once the save has been finished. So this is how you go ahead and see if you have let's see declared something and there's an error that'll show up here. So who tells you that the type is whatever the error is that line number two. This is the name of the class where the editor is and it will tell you what is the error type. All this information. And now if you tried to save it it will not get saved because these problems exist until and unless you solve the problems. You will not be able to save your code. So make sure you save the code before you execute. So this is an overview of the developer console. And let's see if anything else. This is for running test cases when you write the Devon's when we learn about test cases this is what we're going to talk about then if you want to open this execute anonymous window. This is you go to debug and hit the opening execute anonymous window. If you wanted to look at the logs you will see it over here. If you wanted to see the progress of your test cases then you will see it here to tell you if the desk is was successful or if it was a failure. Then the query editor if you wanted to run a query and wanted to see what the query is resulting in that's what the query editor would be used for. So this is just give I'll give you a little navigation and on the developer console. And from the next tutorial we're going to talk about what variables are how do we declare them what is the purpose of the variables. All those things. And then we will use this developer console to write our program to execute. Thank you so much and I will see you on the next tutorial by.