Skip to main content

Posts

Drag & Drop Account and Contact in Lightning

Step 1 :- Create a  DragandDropController   apex class and copy paste below code. public class DragandDropController{       @AuraEnabled        public static List<Account> getAccountData() {           List<Account> lst=new List<Account>([Select id,name,CountValue__c,(select id,FirstName,LastName from Contacts) from Account order by countValue__c ]);                         return lst;        }          @AuraEnabled        public static List<Account> DragDroprecordUpdate(String DragRecordId, String DropRecordId,String DragCount,String DropCount){             Map<id,Contact> mapcontact=new Map<id,Contact>([Select id,CountValue__c from Contact where id =:DragRecordId or id=:DropRecordId]);     ...
Recent posts
Salesforce to Salesforce  :-  With this help of S2S, we can share one org record to another one org. This tool is provided by Salesforce,  If we want to automate this functionality then we have to write a trigger. Such as : Org1                                                                                                      Org 2 Account Record (A1)                                                                  Account Record (A1) Steps to use: Step 1- Enable Salesforce to Salesforce setting Image Step 2: Then create connection on click conn...