Apex Callouts with Improved Named Credentials | Mini Hacks Solved | Season 02

Поділитися
Вставка
  • Опубліковано 28 лип 2024
  • Watch this episode to learn what is new in improved named credentials. See how you can create integrations with the next generation of named credentials and make Apex Callouts. You will also learn how to set up and use Einstein for Developers.
    Related content:
    Named Credentials - help.salesforce.com/s/article...
    Named Credential Formula Functions - help.salesforce.com/s/article...
    Announcing the Next Generation of Named Credentials - developer.salesforce.com/blog...
    Apex: Basic REST Callouts - • Apex: Basic REST Callo...
    Einstein for Developers- developer.salesforce.com/tool...
    Timestamps:
    00:00 Introduction
    00:59 Requirements Walkthrough
    02:31 Developer Tooling video resources
    03:04 Create Objects and fields
    06:01 Introduction to HTTP Callout with basic authentication
    08:57 Introduction to improved named credentials
    11:19 Setting up External Credentials
    12:51 Creating Principals
    14:00 Defining Custom Headers
    16:51 Creating Apex Class with Named Credential
    18:47 Upsert records using external ID
    21:25 Introducing Einstein for Developers
    22:06 Setup Einstein for Developers
    23:00 Prompts with Einstein sidebar
    24:00 Prompts from Command palette using Einstein
    25:30 End
    Connect with Salesforce Developers:
    Join the Community: www.salesforce.com/devcommunity
    Website: developer.salesforce.com/
    LinkedIn: / salesforce-developers
    Twitter: / salesforcedevs
  • Наука та технологія

КОМЕНТАРІ • 10

  • @TechleadConsulting
    @TechleadConsulting 4 місяці тому +1

    Great explanation Satya Garu, will definitely try with Dataweave & Apex as it will require less boilerplate code

  • @rushikeshsatpute4970
    @rushikeshsatpute4970 4 місяці тому +1

    Great information

  • @CastorPolux74
    @CastorPolux74 23 дні тому

    Excelente. Gracias.

  • @smritisharan-sfdcamplified
    @smritisharan-sfdcamplified Місяць тому +1

    nice information

  • @02f41a0526
    @02f41a0526 4 місяці тому

    great explanation Satya...can any one implemented setting the authentication parameters in the body by using named credentials?

  • @deeps1015
    @deeps1015 4 місяці тому +1

    So making callout and having dml operation together is possible in a single transaction if the method is not invoked from a trigger?

    • @mohamedsaleemparambat3034
      @mohamedsaleemparambat3034 4 місяці тому

      I don't think so. You will end up with transaction commit error, unless you use any asynchronous methods for callouts like future method.

    • @deeps1015
      @deeps1015 4 місяці тому

      ​@@mohamedsaleemparambat3034 But that's what the presenter did here and it worked. I think it is not possible only from triggers because callout will affect the database operation

    • @awesomekj5812
      @awesomekj5812 3 місяці тому

      @@mohamedsaleemparambat3034 so how come presenter didn't get any error here when trying to upsert ? Is it because Callout was done before DML and then no callout afterwards ?

    • @rohantelang1817
      @rohantelang1817 Місяць тому

      ​@@awesomekj5812- Correct.