Format Date in Visualforce and Email Template

This post will explain, How to Format Date in Visualforce Email Template. The same thing would work to format Date in the Visualforce page as well. So, let’s get into the implementation. Implementation First, let’s create a simple Visualforce Email Template and add relatedToType and recipientType. And we will just display the Created Date of … Read more

Retrieve Component using Package.xml (All-in-One)

In this post, we will see how can we retrieve components using the Package.xml file from Salesforce Org. There are different types of components in Salesforce and it is difficult to remember the API names and Syntax of all the components required to retrieve using Package.xml. Hence, this post will help you to retrieve any … Read more

How to use LWC in Visualforce Page?

In this post, we will implement the functionality to use LWC in Visualforce Page using Lightning Out. There are many projects which are still maintained in Visualforce Page. In such projects, there are new requirements that are being developed using/in Visualforce Pages only. But after the introduction of Lightning Out, we don’t have to do … 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

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

Add Image in Visualforce Email Template

In this post, we will implement the functionality to Add Image in Visualforce Email Template. Email template can contain the images in the body of email template like Logo of the company. We will add the image dynamically such that there will be no post deployment steps for higher environments. Let’s get into the implementation. … 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