Different methods for deploying and receiving Platform Events in Salesforce
Publishing There are several ways through which we can distribute platform events Subscribing There are various methods available for subscribing to platform events.
Publishing There are several ways through which we can distribute platform events Subscribing There are various methods available for subscribing to platform events.
Generate a fresh article. Release a draft article. Withdraw a published article. Arrange the archival of a published article. Please note that if the scheduledDate provided is null, the article will be archived immediately. Revoke the scheduled archival of a published article: Remove an article from the archive: Erase a draft article: Generate a draft …
Step 1: Set up the Google reCAPTCHA and obtain the Site Key and Secret Key. Step 2: Include Google as a Remote Site in Salesforce. Step 3: Generate an Apex controller. Step 4: Develop a Visualforce Page.
Apex Class: Lightning Component: Lightning JS Controller: Lightning JS Helper:
Example code snippet RESULT
An enum is a data structure that represents a set of predefined values, where each value is associated with a unique identifier. Enums are commonly used to define a fixed set of possible values. While each value in an enum corresponds to a specific integer value internally, the enum abstraction hides this implementation detail to …
INTERNAL USER EXTERNAL USER OR COMMUNITY USER
INTRODUCTION Goal is to be able to put captcha the validate the form hosted in LWC using google reCaptcha. STEPS To configure Google reCAPTCHA and obtain the Site Key and Secret Key, follow these steps: Please note that these steps are a general guideline, and the exact process may vary based on the specific version …
Implementing Google reCAPTCHA in a Aura Lightning Component Read More »
INTRODUCTION A user with full access to a Customer or Partner account, either by sharing or account ownership, receives the following error when trying to change ownership to a user with a different role: “You don’t have permission to take that action on this record or related records.” SOLUTION This would indicate that the running …
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 »