Welcome to thesalesforcedev !!!


Introduction: In this blog post, we will explore an example that shows how to roll up child counts using aggregate query. It will also demonstrate how to sum values on a parent record. This example applies to lookup relationships but you can use the same with master-detail also. Example Scenario: Imagine a business that…
In this post, we will see how to resolve the “CognitiveComplexity” Apex PMD error. Your apex method might be having more than one parameter. We will explore how you can make your apex method generic to get n numbers of parameters. When working with Salesforce Apex and JavaScript, you might need to pass multiple…
Salesforce Field Service Lightning (FSL) is a field service management solution designed to help businesses manage and dispatch technicians, schedule and dispatch work, and track and optimize field service operations. It is a part of the Salesforce Customer Relationship Management (CRM) platform and is designed to help businesses improve customer satisfaction and technician productivity.…
To create a Map of AccountId and List of Contacts in Apex, you can use the following code: This code creates an empty map called accountContactsMap and then queries the Contact object to get a list of all Contact records. It then iterates through the list of Contacts and adds each Contact to the…
Introduction: Hi everyone, welcome to our new blog post “Creating Picklist from Sobject Field values in Lightning Aura Component”. In this blog post, we will explain a custom aura component, which shows an example of how to create a picklist field from the picklist field values of an object.
apex class [ fetchPicklistOptsController.apxc ] Component [sample.cmp] Controller [ sampleController.js] Helper [sampleHelper.js] TestApp.app
Thanks for joining me! Good company in a journey makes the way seem shorter. — Izaak Walton

Posts:

