Access LWC without Login using Lightning Out

In an earlier post, we checked how to access Visualforce Page without login which you can check here. In this post, we will implement the functionality to access LWC without a login on a Public Website using Lightning Out. Let’s just get into the implementation. Implementation To host lightning components on other web servers and … Read more

Access Visualforce Page without Login

In this post, we will implement the functionality to access Visualforce Page without Login using Sites in Salesforce. There might be a requirement where we need to expose some information for Customers or take some inputs from the Customer like Feedback. In such cases, we can expose Visualforce Page publically to show some information or … Read more

Quick Action using LWC with Example

In this post, we will create a Quick Action using LWC (Lightning Web Component). For Aura Components, we have to implement force:lightningQuickAction interface in the Aura component to enable Aura Component as Quick Action. There is a standard way to use Quick Action in LWC which is introduced in Summer ’21 Release. Please check the … 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

Upload Files using LWC (Lightning Web Components)

In this post, we will implement the functionality to upload files using LWC (Lightning Web Components) using lightning-file-upload. Let’s hop into the implementation. Implementation In this implementation, we will display Case Record with the Upload Files button. Once the files are uploaded, we will display the files in the same component. Create component fileUpload. Use … Read more

Call Apex Method from Process to Send an Email

In this post, we will implement the functionality to call an Apex method from Process to send an Email from Apex. We can use Email Alert with Process to send an Email with only Configuration but there are some restrictions with Email Alerts like: Email Alerts have limited set of Recipients. If we use Email … Read more

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