Callout from LWC (Lightning Web Component)

In this post, we will implement the functionality to make an external callout from LWC (Lightning Web Component). We will make use of Named Credentials as well. Named Credentials makes it easy to call API from LWC and Salesforce altogether. Let’s get into the implementation. Also Read: Named Credentials in Salesforce with Example Implementation To … Read more

Platform Events in Lightning (Emp API)

We can use Platform Events in Lightning (Emp API) to connect business processes in Salesforce and external sources through the exchange of real-time event data.  Platform events are secure and scalable. We can create a Platform Event and add custom fields as per the business needs. Platform event messages are published to the Event Bus. … Read more

Named Credentials PER USER with OAuth 2.0

In this post, we will implement the Named Credentials with Per User Identity Type with OAuth 2.0. In the previous post, we implemented Named Credentials with OAuth2.0 using Named Principal Identity Type which you can check here. We will use the same code and configuration like Connected App and Auth. Provider implemented in the previous … Read more

Named Credentials using OAuth 2.0

In the previous post, we implemented Named Credentials using Anonymous and Password Authentication protocol and explained the basics of Named Credentials. You can check it here. In this post, we will implement Named Credentials using the OAuth 2.0 protocol with Named Principal Identity Type to get the data from External applications. So let’s just hop … Read more

Named Credentials in Salesforce with Example

Named Credentials in Salesforce is used to specify the endpoint and its required authentication parameters in a single definition. By using Named Credentials, we don’t have to specify callout endpoints in Remote Site Settings. And we don’t even have to handle Authentication in code. Named Credentials will take care of all. It is more secure … Read more