Authorize a Salesforce Org with SFDX and Salesforce CLI | SFDX and Salesforce CLI Course

Sdílet
Vložit
  • čas přidán 12. 02. 2020
  • Aloha everyone,
    #lecture7 - Authorize a Salesforce Org, Salesforce Dev Hub, SFDX Scratch Orgs, Default user name, default dev hub user name
    SFDX and Salesforce CLI is not new, but they sure are quite hot technology in the Salesforce market. Mastering these two can increase your productivity, and can add a lot more value to your resume. This course will give you enough insights into these 2 technologies with practical examples along the way.
    Get full course here: www.udemy.com/course/salesfor...
    About:
    Manish is a highly experienced Software Developer who has worked in big tech companies like Google and Salesforce. Presently he is associated with Amazon as SDE 2.
    He is on his journey to make everyone interview ready for the big 5 FAANG (Facebook, Amazon, Apple, Netflix, Google) companies. Check out his channel for comprehensive tutorials on various technologies and mock google/amazon interviews.
    🎓 My courses on Udemy (discounted links below):
    📹 The Complete Salesforce Development Course - www.udemy.com/course/salesfor...
    📹 The Ultimate Hands-On Lightning Web Component - www.udemy.com/course/lightnin...
    📹 The Practical Guide to SFDX and Salesforce CLI - www.udemy.com/course/salesfor...
    Follow SFDCFacts Academy:
    Website: sfdcfacts.com
    Facebook: / sfdcfacts
    Instagram: / sfdcfacts
    LinkedIn: / sfdcfacts
    Connect with Manish:
    / manish-choudhary
    Twitter: / sfdcfacts
    Become a patron and support my work here: / sfdcfacts
    #sfdx #salesforcecli

Komentáře • 10

  • @sanjanas1531
    @sanjanas1531 Před 4 měsíci

    Hi Manish,
    Can we authorise dev org to vscode without enabling dev hub?

  • @gaganpathak1897
    @gaganpathak1897 Před 3 lety

    No config folder created

  • @sambitmohanty1904
    @sambitmohanty1904 Před 4 lety

    Hello Manish,
    In my case the authorisation process is taking a long time .can you please resolve the issue.

  • @krishnamohangannamraju4610

    HI Manish, When I tried to connect sfdx web login through CLI. It redirects to localhost:1717 and stating page not found. Error message I am getting different way in each and every system
    1. The service and account specified in key.json do not match the version of the toolbelt.
    2. unable to get local certificate
    What is causing the issue? any idea? any suggestions?

  • @681mahesh
    @681mahesh Před 4 lety

    Hello manish,
    I have a question.
    Let's say I have a production org, which contains applications already.
    Now I want to retrieve whole metadata of my production org.
    And want to move all metadata to scratch org. So that my scratch org will have all the functional components that I have with my production org.
    How do I do this?

    • @681mahesh
      @681mahesh Před 4 lety

      One more question.
      My org production org has features like health Cloud, marketing Cloud, sales Cloud,
      How do I get these features in a scratch org?

    • @SFDCFacts
      @SFDCFacts  Před 4 lety +3

      Hi Mahesh,
      You can setup features in scratch org definition file. This JSON file has a features array property where you can list down all the features.
      For the other question, its never a best practice to get whole metadata of you production org and deploy inside scratch org as scratch orgs has their own limitation (size of metadata and data), and they have their own purpose (support you application development).
      Besides its never easy to get all metadata at once from any Salesforce org and you may face a lot of error. If you still want to do it, having a package.xml file with most of the properties marked as * will be the best bet.
      What i would recommend is, to group your metadata into smaller chunks (based on different applications and process in your org) and only get one chunk at a time in one scratch org.
      You definitely want to read about UNLOCKED PACKAGES , which goes more in detail on this topic.

    • @681mahesh
      @681mahesh Před 4 lety

      @@SFDCFacts Thank you...! You cleared my confusion about scratch org.