Modal created using the Lightning OverlayLibrary

Starting from Salesforce Spring ’18, the lightning:overlayLibrary tag was introduced to display messages using modals and popovers. This component requires API version 41.0 or later and is not supported in lightning applications. It is only supported in Salesforce Lightning Experience, Console, and Communities. In the following example, the components used are: Component – Sample JavaScript …

Modal created using the Lightning OverlayLibrary Read More »

Generate a hyperlink to a recordId in a Lightning Aura Component

The lightning:formattedUrl component renders a hyperlink with an href attribute, presenting a read-only representation of a URL. The URL can be either relative or absolute. Code Example: <aura:component> <aura:attribute name=”recordId” type=”String” default=”0063X0000146rTLQAY”/> <lightning:formattedUrl value=”{!’/’ + recordId}” tooltip=”Opportunity” label=”Opportunity” target=”_blank” /> </aura:component>

Setting From Address in Single Email Message in Salesforce

In Salesforce, you can set the “From” address in a SingleEmailMessage by using the setOrgWideEmailAddressId method. Here’s an example of how you can set the “From” address: Make sure to replace [OrgWideEmailAddressId] with the actual Organization-Wide Email Address ID that you want to use as the “From” address. The Organization-Wide Email Address must be previously …

Setting From Address in Single Email Message in Salesforce Read More »

Top five problem using delegated approval in Salesforce

What is delegated approval and when it is enabled? When your team’s member goes on out of office, we can choose a user to receive his approval requests over a predefined time period. Delegated approvers are helpful when the original approver can’t respond to approvals, such as during a vacation. https://help.salesforce.com/s/articleView?id=sf.cpq_aa_delegate_approvers_task.htm&language=en_US&type=5 Known Challenges Before enabling …

Top five problem using delegated approval in Salesforce Read More »

Case New Page in community: Detect Replay – Spam Protection using Google captcha

It’s very easy to find out endpoint and payload that create Case when you click “Submit” (or any button that create Case) – After that a CURL request can be made and thousands of Cases can be created in a few minutes. There is no out of the box way in Salesforce but we can prevent …

Case New Page in community: Detect Replay – Spam Protection using Google captcha Read More »

Push notification in Lightning Service Console

There is a very powerful feature in classic console that whenever any changes happens at any record by other users, you can know it in list view and case detail page as well: https://trailhead.salesforce.com/en/content/learn/modules/service_console_customize/service_console_customize_push But unfortunately, Salesforce does not provide this feature in lightning service console yet — a real pain for support agent. Here is an idea …

Push notification in Lightning Service Console Read More »

Custom Domain Masking of Salesforce Communities

Description Implementing a custom domain for your community creates brand recognition and gives you additional control and functionality. We’ll go through how you can get your custom domain implemented. Prerequisites & Assumptions Steps to setup the masking Prepare Host-name for CNAME configuration from Salesforce:  Get Salesforce 18 digits organization id. You can get that easily …

Custom Domain Masking of Salesforce Communities Read More »