Custom Label in LWC, Aura, Apex, and Visualforce

Custom Labels are used to create multilingual applications by automatically displaying information or any text in a user’s native language. In this post, we will create a Custom Label and then access it in Lightning Web Component (LWC), Lightning Aura Component, Visualforce Page and Apex Class. Let’s get into the implementation. To create a Custom … Read more

Current User Id in LWC, Aura, Apex, and Visualforce

This is a simple but very useful post. This post will show how can we get the Current User Id in LWC (Lightning Web Component), Aura, Apex, and Visualforce. Let’s just get into the implementation. Current User Id in LWC (Lightning Web Component) To get the current User Id in LWC, we need to import … Read more

Address Lookup in Lightning (LWC, Aura) using Google API

In this post, we will implement the Address Lookup in Lightning (LWC, Aura) using Google Maps Places API in Lightning using Aura and Lightning Web Components. This is used to Autocomplete address in Lightning. When we start typing an address in the lookup field, a dropdown menu displays matching addresses returned by the Google Maps … 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

Lightning Message Service (LMS) – Future of Communication

Lightning Message Service (LMS) is the first Salesforce feature that enables the communication between Visualforce Page, Aura Component, and LWC (Lightning Web Component) anywhere on the Lightning Page. It provides a simple API to publish messages throughout Lightning Experience and subscribe to messages that originated from anywhere within Lightning Experience. The only requirement is that … Read more