Amit Chaudhary

Amit Chaudhary

Amit Chaudhary is Salesforce Application & System Architect and working on Salesforce Platform since 2010. He is Salesforce MVP since 2017 and have 17 Salesforce Certificates. He is a active blogger and founder of Apex Hours.

Demystifying Developer Tools

In this episode we will unravel the mysteries around the Development tools required for developing and debugging your code in Salesforce. Join us as you embark on this wonderful journey to become a champion Salesforce developer. We will talk about different Developer tools in Salesforce.

Developer Tools in Salesforce

There are different developer tool available in Salesforce. Goal of these tools are to give developers a more modern way of creating applications on top of the Salesforce platform. Let see list of top Developer tool :-

1. Developer Console

It’s available in Enterprise, Performance, Unlimited, Developer and Database.com editions. What you can do using Developer Console?

  1. Debugging and Troubleshooting
  2. Editing and navigating Source Code
  3. Testing and Validating Performance
  4. Executing Queries (SOQL and SOSL) and etc

2. Workbench

Salesforce Workbench is a powerful, web-based suite of tools designed to interact with Salesforce.com organizations via the Force.com APIs. Learn more about Salesforce workbench here.

  1. It is web-based suite of tools
  2. Workbench includes robust support for the Force.com Partner, Bulk, Rest, Streaming, Metadata, and Apex API
  3. Allows users to describe, query, manipulate, and migrate both data and metadata in Salesforce

3. VS Code

Visual Studio Code is recommended IDE for Salesforce development. Please check this post to learn about how to setup VsCode. Check below recording to learn about how to setup VsCode

4. Data Loader

Data Loader is a client application for the bulk import or export of data. Use it to insert, update, delete, or export Salesforce records. Data is the fundamental constituent of all business applications. A robust data management strategy goes a long way in building trust among users and drives system adoption.

What is Debugging?

 What is Debugging
What is Debugging

Recording

  • Debugging Code in Salesforce
  • Introduction to Integrated Developer Environment (IDE)
  • Capabilities of various IDEs
  • Demo
  • Q & A

Further Learning

  • Developer Console Basics
  • Package.xml Metadata Management
  • Org Development Model
  • Quick Start: Visual Studio Code for Salesforce Development

Assignment

Complete below assignment to win $1000 Salesforce VoucherClick here for rule.

•Install VS code on your local machine along with Salesforce Extension.
•Create Project for Assignment you had created yesterday(Introduction to Apex-Part 2).
•Fetch MathCalculator class on your local machine using VS Code
•Add subtract() method which will accept 2 integer as parameter and return subtraction.
•Save this changes to your Salesforce org using VS code.

(Hint: Implement subtract() as private static methods invoked by a public instance doMath() method. The doMath() method will be invoked from the Execute Anonymous window)

Don’t forget to to check our next session on SOQL and SOQL. Check this post for all other session detail.

Summary

I hope session will help you to demystifying developer tools in Salesforce. Use above tool to increase your development power.

Share this article

24 Comments

  • Completed Day-3 assignment.

  • Day 3 assignment is completed!

  • Done with assignment 3

  • Day 3 – Completed assignment

  • Completed Day 3 Assignment.

  • Episode 3 – Demystifying Developer Tools Assignment completed!

  • Day 3 completed Assignement

  • Day 3 completed

  • Completed Assignment for Day 3

  • Completed Assignment for Day 3

  • Completed Assignment 3

  • Day3 : Assignment done

  • Day 3 Assignment Complete

  • Day3 assignment complete

  • # ApexHoursDev

    Completed Day 3 assignment

  • Completed Day-3 assignment.

  • Completed Assignment 3

  • Assignment 3 Completed.

  • Day 3 assignment is completed!

  • Day 3 – Assignment complete.

  • Solution:

    public class MathCalculator {

    private static integer add ( integer a, integer b ) {
    return a+b;
    }

    private static integer multiply ( integer a, integer b ) {
    return a*b;
    }

    private static integer subtract ( integer a, integer b ) {
    return a-b;
    }

    public MathCalculator() {
    }

    private static void printOutput ( integer output ) {
    system.debug(output);
    }

    public void doMath ( integer a, integer b, string operator ) {

    integer value = 0;

    if(operator == ‘+’) {
    value = add ( a, b );
    }

    else if(operator == ‘*’) {
    value = multiply ( a, b );
    }

    else if(operator == ‘-‘) {
    value = subtract ( a, b) ;
    }

    MathCalculator.printOutput(value);
    }
    }

  • Code for Assignment Day 3
    ——————————–

    public class MathCalculator {
    private static Integer add(Integer a, Integer b){
    return a+b;
    }
    private static Integer multiply(Integer a, Integer b){
    return a*b;
    }

    private static Integer subtract(Integer a, Integer b){
    return a-b;
    }

    private static void printOutput(Integer a, Integer b){
    System.debug(‘Summation of 2 values:’ + add(a,b));
    System.debug(‘Multiplication of 2 values:’ + multiply(a,b));
    System.debug(‘Substraction of 2 values:’ + subtract(a,b));
    }
    public void doMath(Integer a, Integer b){
    printOutput(a, b);
    }

    }

    In Developer Console –> Open Execute Anonymous Window
    ————————————————————————
    MathCalculator mathCalculator = new MathCalculator();
    mathCalculator.printOutput(5,3);

  • Completed Day 3 Assignment

Leave a reply

Keep in Touch

Subscribe for Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 3,229 other subscribers

Search

Our Supporter

RECENT POSTS

Apex Hours

Apex Hours is one stop platform to learn Salesforce skills and technology

Join our Newsletter and get tips and tricks how to explore the salesforce for free!