Salesforce Apex Sharing, built for bulk 馃攼he requirement: when the Opportunity Manager lookup is populated on an Opportunity, share the record with that user. When the manager changes, remove the old share and create a new one for the new manOct 20 路 3 min readshariquekalam.hashnode.dev
Building idempotent REST APIs in Salesforce?In REST APIs, the POST method is inherently non-idempotent. This means that if a client calls an Apex REST endpoint annotated with @HttpPost using the JSON payload below, a new Case record will be creAug 25 路 3 min readshariquekalam.hashnode.dev
Query EntityDefinitionRecently I have encountered a scenario where I need to list down all the sObjects(custom or standard) which the businesses are currently using. They gave a hint to list down all objects for which at least a single record have been created on or after...Aug 25, 2025 路 3 min readquery-entitydefinitionsobjects.hashnode.dev
Passing variables from one Batch to anotherProblem Statement - Let's discuss a scenario where we want to query all the Account records from one Batch and then for further processing or comparisions we wanted to have a copy of the same in another Batch. Scenario - We have created two Batch cla...May 18, 2024 路 2 min readshariquekalam.hashnode.dev
Child to Parent communication in LWCLet's start by creating two components Parent Component: parentAccountLwc Child Component: childAccountLwc The Parent Component will display the Account Name communicated by the Child Component which will have a picklist of contacts. On selectin...Jul 19, 2023 路 3 min readshariquekalam.hashnode.dev