<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Gaurav Yadav</title>
    <description>The latest articles on Forem by Gaurav Yadav (@discoversalesforce).</description>
    <link>https://forem.com/discoversalesforce</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F932463%2F6ad73d70-38a7-4252-b897-f145a09be306.jpeg</url>
      <title>Forem: Gaurav Yadav</title>
      <link>https://forem.com/discoversalesforce</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/discoversalesforce"/>
    <language>en</language>
    <item>
      <title>Navigating Your Salesforce Journey: Choosing Between Admin and Developer Paths</title>
      <dc:creator>Gaurav Yadav</dc:creator>
      <pubDate>Fri, 14 Jun 2024 06:21:33 +0000</pubDate>
      <link>https://forem.com/discoversalesforce/navigating-your-salesforce-journey-choosing-between-admin-and-developer-paths-2kn6</link>
      <guid>https://forem.com/discoversalesforce/navigating-your-salesforce-journey-choosing-between-admin-and-developer-paths-2kn6</guid>
      <description>&lt;p&gt;Expert Insights to Help You Make the Right Career Choice&lt;/p&gt;

&lt;p&gt;Hey there, fellow Salesforce enthusiasts and aspiring professionals! 🌟 If you’re embarking on your Salesforce journey or considering a switch, you’re in for an insightful ride. In this blog post, we’re delving deep into a question that often plagues newcomers and experienced professionals alike: Should you kickstart your Salesforce career as an Admin or dive straight into Development?&lt;/p&gt;

&lt;h2&gt;
  
  
  Dispelling Myths and Unveiling Truths
&lt;/h2&gt;

&lt;p&gt;The journey begins with debunking the common myth that you can excel in Development without the need for Admin skills. In my latest YouTube video, I tackle this misconception head-on, providing you with the real insights you need to make an informed choice.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Power of Configuration
&lt;/h2&gt;

&lt;p&gt;Configuration-first approach – it’s not just a catchphrase. Discover the immense advantages of leveraging Salesforce’s Vanilla products and offerings before embarking on custom development. I’ll walk you through the benefits of this strategic approach and why it’s a win-win for both you and your organization.&lt;/p&gt;

&lt;h2&gt;
  
  
  Long-Term Career Benefits
&lt;/h2&gt;

&lt;p&gt;Ever wondered how choosing the Admin path might impact your long-term career growth? Or if starting with Development closes doors to Admin opportunities? In the video, I share my 8–9 years of personal experience and shed light on how each path leads to unique career trajectories.&lt;/p&gt;

&lt;h2&gt;
  
  
  Balancing Customization: The Golden Rule
&lt;/h2&gt;

&lt;p&gt;The golden rule of “configuration first, customization next” is more than just a mantra; it’s a fundamental principle in the Salesforce ecosystem. Explore how mastering both sides – Admin and Development – sets the stage for not only your current success but also your potential growth as an architect.&lt;/p&gt;

&lt;h2&gt;
  
  
  Mapping Your Journey
&lt;/h2&gt;

&lt;p&gt;Starting with Admin doesn’t mean you’re confined to the admin realm forever. Similarly, developers, you need a solid understanding of Admin functionalities to recommend the right solutions. It’s all about bridging the gap between these roles to become a well-rounded Salesforce professional.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Path Forward
&lt;/h2&gt;

&lt;p&gt;Whether you’re a recent graduate, transitioning from another field, or just curious about the Salesforce landscape, this video is tailor-made for you. It’s about making choices that align with your experience, passion, and long-term vision.&lt;/p&gt;

&lt;p&gt;👉 Watch the video and gain expert insights into the Admin vs. Developer dilemma. Don’t forget to like, share, and subscribe to my YouTube channel for more enriching content on Salesforce and cloud technologies.&lt;/p&gt;

&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/cXsth9Et7tc"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;Remember, your Salesforce journey is as unique as you are. Let’s set you on the right path for success together!&lt;/p&gt;

</description>
      <category>salesforce</category>
      <category>admin</category>
      <category>developer</category>
      <category>career</category>
    </item>
    <item>
      <title>All About Slack Channels</title>
      <dc:creator>Gaurav Yadav</dc:creator>
      <pubDate>Mon, 17 Jul 2023 03:58:45 +0000</pubDate>
      <link>https://forem.com/discoversalesforce/all-about-slack-channels-4hdc</link>
      <guid>https://forem.com/discoversalesforce/all-about-slack-channels-4hdc</guid>
      <description>&lt;p&gt;Channels are a fundamental aspect of Slack, providing dedicated spaces for specific topics, projects, or teams, facilitating organized and productive conversations. The two primary types of channels in Slack are public and private.&lt;/p&gt;

&lt;p&gt;Choosing the appropriate channel type plays a crucial role in organizing conversations efficiently and involving the right people.&lt;/p&gt;

&lt;p&gt;Learn about Slack channels in Details from my youtube video &lt;/p&gt;

&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/T7SS-3l84ZU"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

</description>
      <category>slack</category>
      <category>salesforce</category>
      <category>communications</category>
      <category>engagement</category>
    </item>
    <item>
      <title>Unlocking Slack's Potential: Blog 1 - Overview and Key Functionalities</title>
      <dc:creator>Gaurav Yadav</dc:creator>
      <pubDate>Mon, 10 Jul 2023 12:12:02 +0000</pubDate>
      <link>https://forem.com/discoversalesforce/unlocking-slacks-potential-blog-1-overview-and-key-functionalities-4b73</link>
      <guid>https://forem.com/discoversalesforce/unlocking-slacks-potential-blog-1-overview-and-key-functionalities-4b73</guid>
      <description>&lt;p&gt;&lt;strong&gt;What is Slack?&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;Slack is a powerful messaging and collaboration platform used by teams of all sizes. It goes beyond a simple communication tool and offers a wide range of features that can transform the way you work. &lt;/p&gt;

&lt;p&gt;Slack is all about Productivity you can customise it as per your needs, it is your Digital HQ.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;While Slack started as a collaboration tool, it has evolved into much more. &lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Slack is more than just a collaboration tool. It can also be used for a variety of other purposes, such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;For &lt;strong&gt;Customer support:&lt;/strong&gt; Slack can be used to provide customer support to your customers. For example, you can create a channel for customer support tickets and use Slack's search feature to find old tickets quickly. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;For &lt;strong&gt;Marketing:&lt;/strong&gt; Slack can be used to communicate with your marketing team and track your marketing campaigns. For example, you can create a channel for marketing announcements and use Slack's integrations with other tools to track the performance of your campaigns.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;For &lt;strong&gt;Sales:&lt;/strong&gt; Slack can be used to communicate with your sales team and track your sales leads. For example, you can create a channel for sales leads and use Slack's reminders feature to follow up on leads that haven't been contacted in a while. &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;To kick start yourself with slack watch my youtube video&lt;/p&gt;

&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/DgtP-C74izI"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

</description>
      <category>slack</category>
      <category>tutorial</category>
      <category>developer</category>
    </item>
    <item>
      <title>Streamline Data Processing with Bulk API 2.0 Query and Postman's Salesforce API Collection</title>
      <dc:creator>Gaurav Yadav</dc:creator>
      <pubDate>Tue, 04 Jul 2023 09:58:11 +0000</pubDate>
      <link>https://forem.com/discoversalesforce/streamline-data-processing-with-bulk-api-20-query-and-postmans-salesforce-api-collection-40j5</link>
      <guid>https://forem.com/discoversalesforce/streamline-data-processing-with-bulk-api-20-query-and-postmans-salesforce-api-collection-40j5</guid>
      <description>&lt;h2&gt;
  
  
  Introduction:
&lt;/h2&gt;

&lt;p&gt;In today's fast-paced business environment, efficient data processing is crucial for organizations using Salesforce. Handling large volumes of data can be challenging, but fear not! We have an exciting new video on our YouTube channel that explores the power of Bulk API 2.0 and how it can revolutionize your data processing workflows. Join us as we dive into a hands-on session using Postman's Salesforce API Collection, focusing specifically on Bulk API 2.0 queries. Get ready to optimize your data processing and unleash the full potential of Salesforce!&lt;/p&gt;

&lt;h2&gt;
  
  
  Prerequisites:
&lt;/h2&gt;

&lt;p&gt;Setting up Postman and Importing Salesforce API Collection&lt;/p&gt;

&lt;p&gt;Before we jump into the hands-on demonstration, it's important to ensure you have Postman installed and the Salesforce API collection imported. If you haven't completed this step yet, we highly recommend watching our companion video, "Setting up Postman for Salesforce Integration." This tutorial will guide you through the process, ensuring you're fully prepared to follow along with our Bulk API 2.0 walkthrough.&lt;/p&gt;

&lt;h2&gt;
  
  
  Overview:
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;The Power of Bulk API 2.0&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Bulk API 2.0 is a game-changer when it comes to processing large volumes of data efficiently. It is a RESTful API provided by Salesforce, specifically designed to handle bulk data operations like querying, inserting, updating, deleting, and upserting records. By leveraging the capabilities of Bulk API 2.0, you can streamline your data processing workflows and supercharge your Salesforce org.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Benefits of Bulk API 2.0:&lt;/strong&gt; Scaling Data Processing to New Heights Bulk API 2.0 offers numerous benefits that make it an invaluable tool for organizations dealing with substantial amounts of data. Let's explore some of these key advantages:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Efficient Processing:&lt;/strong&gt; With Bulk API 2.0, you can process thousands of records in a single request, drastically reducing the time and resources required for data operations.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Asynchronous Processing:&lt;/strong&gt; Unlike synchronous APIs, Bulk API operates asynchronously, allowing you to submit data for processing and continue with other tasks while the operation runs in the background.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Parallel Processing:&lt;/strong&gt; Bulk API 2.0 supports parallel processing, enabling multiple batches to be processed simultaneously. This leads to faster data operations and improved overall efficiency.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;High Throughput:&lt;/strong&gt; Leveraging Bulk API 2.0 enables you to achieve high data throughput rates, making it ideal for scenarios that involve frequent data imports, updates, or deletions.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Reduced API Limits Consumption:&lt;/strong&gt; By processing data in bulk, Bulk API 2.0 minimizes the number of API requests, ensuring you stay within your API limits.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Robust Error Handling:&lt;/strong&gt; Bulk API 2.0 provides comprehensive error handling capabilities, returning detailed error information for easy identification and resolution of any issues encountered during data processing.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Data Integrity and Consistency:&lt;/strong&gt; With Bulk API 2.0, your data processing adheres to Salesforce's validation rules, triggers, and workflows, ensuring data accuracy and consistency.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Integration with External Tools:&lt;/strong&gt; Bulk API 2.0 seamlessly integrates with external tools like Postman, data loaders, and custom applications, allowing developers and administrators to work with Salesforce data more efficiently.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  &lt;strong&gt;Hands-On Demonstration in Postman:&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;In our video tutorial, we guide you through a hands-on demonstration of Bulk API 2.0 using Postman's Salesforce API Collection. You'll learn how to structure queries, execute Bulk API 2.0 queries, and monitor job status in Salesforce. Our step-by-step instructions will empower you to unleash the true potential of Bulk API 2.0 and optimize your data processing workflows.&lt;/p&gt;

&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/djup7HgY4QY"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion:
&lt;/h2&gt;

&lt;p&gt;Efficient data processing is crucial in today's data-driven world, and Bulk API&lt;/p&gt;

</description>
      <category>salesforce</category>
      <category>bulkdata</category>
      <category>salesforcedevelopers</category>
    </item>
    <item>
      <title>Setting Up Visual Studio Code for Salesforce Development with Salesforce Extension Pack: Step-by-Step Guide</title>
      <dc:creator>Gaurav Yadav</dc:creator>
      <pubDate>Mon, 26 Jun 2023 07:14:46 +0000</pubDate>
      <link>https://forem.com/discoversalesforce/setting-up-visual-studio-code-for-salesforce-development-with-salesforce-extension-pack-step-by-step-guide-44mg</link>
      <guid>https://forem.com/discoversalesforce/setting-up-visual-studio-code-for-salesforce-development-with-salesforce-extension-pack-step-by-step-guide-44mg</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Are you a Salesforce developer looking to enhance your coding experience and increase your productivity?&lt;/strong&gt; &lt;br&gt;
&lt;em&gt;Look no further! In this step-by-step guide, we'll show you how to set up Visual Studio Code for Salesforce development using the Salesforce Extension Pack. Follow along as we walk you through the installation process, configuration steps, and highlight the key features that will revolutionize your Salesforce development workflow.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;




&lt;p&gt;&lt;strong&gt;Are you tired of navigating through multiple tools and platforms for your Salesforce development?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;It's time to simplify your workflow and supercharge your productivity with Visual Studio Code and the Salesforce Extension Pack. In this in-depth tutorial, we'll guide you through the setup process, enabling you to harness the full potential of these powerful tools for Salesforce development.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;To begin, we'll walk you through the installation of Visual Studio Code, the lightweight yet feature-rich code editor loved by developers worldwide. If you already have Visual Studio Code installed, don't worry; you can skip ahead to the next step.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Next, we'll introduce you to the Salesforce Extension Pack, a comprehensive collection of extensions specifically designed for Salesforce developers. We'll guide you through the installation process, ensuring you have all the necessary tools at your fingertips.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Once the installation is complete, we'll dive into the configuration steps. You'll learn how to authorize your Salesforce org within Visual Studio Code, establishing a secure connection and enabling seamless communication between your development environment and your Salesforce org.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;As we progress, we'll explore the exciting features provided by the Salesforce Extension Pack. From Salesforce DX integration to enhanced Apex and Visualforce language support, these features will empower you to write efficient code, execute Salesforce CLI commands, and work effortlessly with Visualforce pages.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;By the end of this tutorial, you'll be equipped with the knowledge and tools necessary to take your Salesforce development to the next level. You'll be able to code, test, and deploy your applications seamlessly, all within the comfort of Visual Studio Code.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Whether you're a seasoned Salesforce developer or just starting your journey, this step-by-step guide will serve as your compass to navigate the world of Visual Studio Code and the Salesforce Extension Pack. Say goodbye to cumbersome tools and embrace a streamlined development experience.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Watch the video tutorial now and unlock the full potential of Visual Studio Code and the Salesforce Extension Pack for your Salesforce development journey. It's time to revolutionize your workflow and become a more efficient and productive Salesforce developer.&lt;/p&gt;

&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/QqSOjlL-Big"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;So, what are you waiting for? Join us on this exciting adventure and revolutionize your Salesforce development workflow today!&lt;/p&gt;

</description>
      <category>salesforce</category>
      <category>visualstudiocode</category>
      <category>salesforcecoding</category>
      <category>salesforcedevelopment</category>
    </item>
    <item>
      <title>Streamline Salesforce Integration with Postman: A Step-by-Step Guide</title>
      <dc:creator>Gaurav Yadav</dc:creator>
      <pubDate>Tue, 20 Jun 2023 16:17:42 +0000</pubDate>
      <link>https://forem.com/discoversalesforce/streamline-salesforce-integration-with-postman-a-step-by-step-guide-4nkg</link>
      <guid>https://forem.com/discoversalesforce/streamline-salesforce-integration-with-postman-a-step-by-step-guide-4nkg</guid>
      <description>&lt;p&gt;Are you looking to enhance your Salesforce integration process and streamline your workflow? Look no further! In our latest YouTube video tutorial, we dive into the world of Postman and demonstrate how it can revolutionize your Salesforce integration efforts. In this blog post, we'll provide you with an overview of the video and why you should check it out.&lt;/p&gt;




&lt;p&gt;In today's fast-paced digital landscape, seamless integration with Salesforce is crucial for businesses of all sizes. However, getting started with Salesforce APIs can sometimes be daunting, especially for beginners. That's where Postman comes in. It's a powerful collaboration platform for API development that can make your integration journey easier and more efficient.&lt;/p&gt;

&lt;p&gt;In our YouTube video, &lt;strong&gt;"Setting Up Postman for Salesforce Integration: Streamline Your Workflow&lt;/strong&gt;" we guide you through the process of leveraging Postman to simplify Salesforce integration. Here's what you can expect from the video:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;em&gt;Downloading and Setting Up Postman:&lt;/em&gt; We walk you through the steps to download and set up Postman on your machine. Whether you're using the desktop application or the web version, we provide clear instructions to help you get started.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;em&gt;Setting Up the Salesforce API Collection:&lt;/em&gt; Learn how to create a new collection in Postman specifically for Salesforce API requests. We cover essential aspects such as customizing request settings, specifying endpoints, headers, and parameters. Organize your requests within folders to keep your integration project well-structured and easily accessible.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;em&gt;Authenticating and Using the Salesforce API:&lt;/em&gt; Discover how to authenticate your requests and make API calls to interact with Salesforce. We share real-world examples and best practices to help you unleash the full potential of Salesforce integration using Postman.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Conclusion:&lt;/em&gt;&lt;br&gt;
If you're looking to simplify your Salesforce integration workflow and harness the power of Postman, this video is a must-watch. Follow along as we guide you step-by-step through the process, ensuring you gain the necessary skills to streamline your integration efforts.&lt;/p&gt;

&lt;p&gt;Don't miss out on the opportunity to supercharge your Salesforce integration. Watch our YouTube video, "Setting Up Postman for Salesforce Integration: Streamline Your Workflow" today: &lt;/p&gt;

&lt;p&gt;&lt;iframe width="710" height="399" src="https://www.youtube.com/embed/klRU2-4dZz4"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;Remember to subscribe to our channel for more Salesforce tips, tutorials, and best practices that will take your integration skills to new heights.&lt;/p&gt;

</description>
      <category>salesforce</category>
      <category>postman</category>
      <category>api</category>
      <category>development</category>
    </item>
    <item>
      <title>SFDX Commands in Action</title>
      <dc:creator>Gaurav Yadav</dc:creator>
      <pubDate>Sun, 02 Oct 2022 14:33:47 +0000</pubDate>
      <link>https://forem.com/discoversalesforce/sfdx-commands-in-action-1a1p</link>
      <guid>https://forem.com/discoversalesforce/sfdx-commands-in-action-1a1p</guid>
      <description>&lt;p&gt;The Salesforce CLI is a powerful command line interface that simplifies development and build automation when working with your Salesforce org.&lt;br&gt;
Over the past few years I am using multiple sfdx commands from deploying metadata to running code snippet using sfdx command.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;strong&gt;&amp;gt; Here is the consolidated list of all commands which are needed by developer during complete development life cycle&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;


&lt;h2&gt;
  
  
  1. Retrieve code/metadata from org
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;How to retrieve source from an org?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;sfdx commands are very flexible different types of metadata can be retrieved together.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;//Example 1: Retrieve single file
sfdx force:source:retrieve -p force-app\main\default\triggers\AccountTrigger.trigger

//Example 2: Retrieve multiple file
sfdx force:source:retrieve -p force-app\main\default\triggers\AccountTrigger.trigger,force-app\main\default\classes\TriggerHandler.cls

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  2. Deploy code/metadata to org
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;How to deploy source to an org?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;sfdx commands are very flexible different types of metadata can be deployed together.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;//Example 1: Deploy single file
sfdx force:source:deploy -p force-app\main\default\triggers\AccountTrigger.trigger

//Example 2: Deploy multiple file
sfdx force:source:deploy -p force-app\main\default\triggers\AccountTrigger.trigger,force-app\main\default\classes\TriggerHandler.cls

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  3. Run Test class
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;Can we run test class or test method using sfdx commands?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Yes, here are few useful options using sfdx commands&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;//Running complete test class
sfdx force:apex:test:run -n "TestClass1,TestClass2"

//Another Way
sfdx force:apex:test:run -t "TestClass1,TestClass2"

//Run only specified test methods
sfdx force:apex:test:run -t "TestClass1.method1,TestClass2.method2"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  4. Execute code snippet
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;Definitely I do need to open developer console for executing code snippets?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;No, sfdx command is here for executing code snippets directly from terminal. 😀&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sfdx force:apex:execute
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  5. Check logs using sfdx command
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;How can I see logs stream in VSCode terminal?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Here is the sfdx command…&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sfdx force:apex:log:tail
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h2&gt;
  
  
  6. Login to org directly from cli
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;Did you forgot the password of sandbox? But you don’t want to reset it, since this sandbox is already setup and authorised by couple of other 3rd party applications like vscode,xl connector, data loader, metazoa, etc.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;You are lazy like me to update password in all of these applications. Here is the sfdx command to rescue us.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sfdx force:org:open -u orgAlias
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;p&gt;Happy Learning !!!&lt;/p&gt;

</description>
      <category>salesforce</category>
      <category>sfdx</category>
      <category>commands</category>
      <category>salesforcecli</category>
    </item>
  </channel>
</rss>
