Blogs
-
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…
-
Difference between Custom Setting and Custom Metadata
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…
-
Vote Article as Guest/Unauthenticated User in Salesforce Community
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…