Blogs
-
Developing a Chatbot Using Apex and Platform Events
By harnessing Salesforce’s Platform Events and Apex controllers, you can craft a Chatbot capable of delivering customized responses to user queries. In this instance, we’ve crafted a Chatbot tailored to addressing customer product inquiries. Whenever a customer submits a product inquiry, a Platform Event is generated and dispatched to Salesforce. Our Lightning web component subscribes…
-
Salesforce Apex Trigger – Implementing a Child-to-Parent Trigger Using a Map
Hello everyone, In this blog post, I’m sharing a trigger code that updates the “Update_Checking__c” field in the Account object when a Contact field is updated or inserted. I’m specifically updating the “Update_Checking__c” field in the Account object whenever a new value is added to the Contact field with the same name, “Update_Checking__c.” To implement…
-
Understanding Collections in Apex | Salesforce Developer’s Reference
INTRODUCTION: Collection, in its most general sense, refers to a ‘group of items.’ Specifically, there are four main types of collections: However, our focus here is on the three types supported by Apex, which include List, Set, and Map. 1. List It is a collection of similar elements. The following two declarations are equivalent. The Str…