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

Поделиться
HTML-код
  • Опубликовано: 2 дек 2024

Комментарии • 10

  • @TechleadConsulting
    @TechleadConsulting 8 месяцев назад +1

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

  • @rushikeshsatpute4970
    @rushikeshsatpute4970 8 месяцев назад +1

    Great information

  • @02f41a0526
    @02f41a0526 8 месяцев назад

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

  • @deeps1015
    @deeps1015 8 месяцев назад +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 8 месяцев назад

      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 8 месяцев назад

      ​@@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 7 месяцев назад

      @@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 6 месяцев назад

      ​@@awesomekj5812- Correct.

  • @smritisharan-sfdcamplified
    @smritisharan-sfdcamplified 6 месяцев назад +1

    nice information

  • @CastorPolux74
    @CastorPolux74 5 месяцев назад

    Excelente. Gracias.