Blogs
-
How To Register For A Platform Event Using A Trigger
Let’s explore the process of subscribing to Platform Events through Triggers. We have the capability to trigger a Platform Event from Process Builder, Flow, Apex, and API. Similarly, we can subscribe to the Platform Event using Process Builder, Flows, Apex Triggers, Lightning Components, and CometD. In this blog post, I will guide you on subscribing…
-
Modification Of Partner Contact by Community User
Businesses using Salesforce Communities for partners, as opposed to the standard partner portal, may observe that partners possess the capability to search for and locate the Contact record linked to their Community User record. Ideally, Salesforce would restrict this visibility, considering that the Partner User lacks the technical ability to update the Partner Contact record.…
-
Code Coverage Example For Novice Apex Class
The unit test discussed in this post evaluates an Apex Trigger designed for the User object. This trigger populates specific fields whenever a User is created or updated, ensuring the visibility of certain User attributes across Salesforce Communities. For a detailed explanation of the trigger, please refer to the corresponding post. According to the Apex…