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

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ต.ค. 2024

ความคิดเห็น • 10

  • @TechleadConsulting
    @TechleadConsulting 7 หลายเดือนก่อน +1

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

  • @rushikeshsatpute4970
    @rushikeshsatpute4970 7 หลายเดือนก่อน +1

    Great information

  • @smritisharan-sfdcamplified
    @smritisharan-sfdcamplified 4 หลายเดือนก่อน +1

    nice information

  • @02f41a0526
    @02f41a0526 6 หลายเดือนก่อน

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

  • @CastorPolux74
    @CastorPolux74 3 หลายเดือนก่อน

    Excelente. Gracias.

  • @deeps1015
    @deeps1015 7 หลายเดือนก่อน +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 6 หลายเดือนก่อน

      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 6 หลายเดือนก่อน

      ​@@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 5 หลายเดือนก่อน

      @@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 4 หลายเดือนก่อน

      ​@@awesomekj5812- Correct.