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 - Наука та технологія
Great explanation Satya Garu, will definitely try with Dataweave & Apex as it will require less boilerplate code
Great information
Excelente. Gracias.
nice information
great explanation Satya...can any one implemented setting the authentication parameters in the body by using named credentials?
So making callout and having dml operation together is possible in a single transaction if the method is not invoked from a trigger?
I don't think so. You will end up with transaction commit error, unless you use any asynchronous methods for callouts like future method.
@@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
@@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 ?
@@awesomekj5812- Correct.