Finally Trailheadx 2019 is all set to happen in India at Bangalore on Dec 19th -Dec 20th , 2019 at BIEC Campus . As this a huge event and must attend event for anyone who is related to Salesforce in any ways. I have my own reasons why one should attend this event . Below … Continue reading Why should you Attend Trailheadx -2019 (19th Dec-20th Dec)
Setting Up VS- Code For LWC
With LWC, Coming to picture Salesforce has now officially introduced VS Code as IDE for development of Lightning Web Components. First we need to install the Visual Studio Code from the link. If you already have Visual Studio Code installed, there’s no need to reinstall it. After all installation is done . We need to … Continue reading Setting Up VS- Code For LWC
Custom Roll up With Apex Trigger.
Sometimes we have Requirement to have a number of Counts of Contact on Account, just like Rollup Field Salesforce. But Salesforce has provided Rollup Summary Field on the Master-Detail Object. Below is Sample code for the Same. Apex Trigger : trigger trgContactTrigger on Contact (before insert, after insert, before update,after update,after Delete) { ContactTriggerHandler objClass … Continue reading Custom Roll up With Apex Trigger.
Call Apex Through Process Builder
So today I will post how to call apex Class through Process Builder. Sometimes there is a requirement when we need to apex class through Process Builder. Apex Class : Public class InvokeClassThroughProcessbuilder { @InvocableMethod(label='Get Lead Name') Public static void LeadUpdatefromProcessBuilder(List <ID> LeadIds ){ Set<Id> leadId= new Set<Id>(); leadId.addAll(LeadIds); List< Lead > leadtoUpddate = new … Continue reading Call Apex Through Process Builder
Trigger To check Duplicate on Lead Using Email and Phone
The above functionality can be achieved by duplicate rules. But as we are into coding we will be writing trigger for it. We will be writing Trigger and Handler for it. The best practice for writing a trigger and Calling the apex class in which we will be writing the business logic for it. Apex … Continue reading Trigger To check Duplicate on Lead Using Email and Phone
You must be logged in to post a comment.