Create User in Apex Test Class
INTERNAL USER EXTERNAL USER OR COMMUNITY USER
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 »
Custom Settings and Custom Metadata are two types of custom configuration data in Salesforce. Here are the main differences between them: Overall, the choice between Custom Settings and Custom Metadata depends on the specific use case and requirements of the application. Custom Settings are more suitable for dynamic configuration data that may need to be …
Difference between Custom Setting and Custom Metadata Read More »
INTRODUCTION How can We enable article voting for the guest users without prompting them to login. Salesforce lets guest users vote their own article without logging in. SOLUTION To allow guest users to like or dislike articles in Salesforce, you can follow these steps: Here’s an example of how the code: LWC: LWC JS Controller …
Vote Article as Guest/Unauthenticated User in Salesforce Community Read More »
You can not upload file under Task using related list in Salesforce Mobile App. This is Salesforce feature limitation in mobile app. We can add File button on task layout that will give option to upload file on Task level. And related uploaded files will appear in related list.
To retrieve records in Salesforce using a curl request in Apex, you would need to make use of Salesforce’s REST API. Assuming you are well aware of HTTP requests, REST Api and cURL; Here’s an example of how you can construct a curl request in Apex to retrieve records: In this example, we are constructing …
Using cURL in apex to retrieve the records in Salesforce Read More »
This error can take place while updating the record manually or using automation. This simply tells the record is locked due to pending approval process or due to being a direct child of a master record. There are two scenario when this takes place. A lock icon is shown on the record and except admin …
“ENTITY_IS_LOCKED” error while updating record using flow or manually Read More »
INTRODUCTION The objects ‘SandboxInfo’ and ‘SandboxProcess,’ are available in API v35 or higher, and allow you to create and refresh sandboxes. Tolloing api can be used to create or refresh the sandbox. SandboxInfoRepresents a sandbox. SandboxInfo enqueues a sandbox for creation or for being refreshed. To learn more please review the Force.com Tooling API SandboxInfo section. SandboxProcessRepresents …
How can we refresh or create Sandbox using API in Salesforce Read More »