@@forceGalaxy Hi Maam, It is highly needed. Please make a detailed video of the list of questions that will be asked from LWC and Apex for 2yrs exp guy. There is no video such as this on RU-vid.
for the last question, it’s mandatory also to have a aura component when replacing the standard action of a standard button, right? Is this correct also?
Hi forceGalaxy, Could you please help me. A question was asked in my interview today, the question is How do we fetch all accounts that have at least one or more contacts and we have to show fields like account name, last modified contact name related to account and in the org we have millions of accounts and contacts. And data have to show in datatable in LWC.
Hello Raghavendra, To implement the asked scenario you write an apex class and in the apex class apply the following SOQL to fetch all accounts that have child contact records, [SELECT Id, Name,(SELECT Id, Name FROM Contacts ORDER BY LASTMODIFIEDDATE) FROM Account WHERE Id IN (SELECT AccountId FROM Contact) ORDER BY LASTMODIFIEDDATE] The returning list of sobject from SOQL you can use in the Lightning table. I hope you will get a glimpse into implementing this scenario if any other information is needed, please let me know. Thanks.
@@raghavendrasharma2466 We can write Batch Apex and process the Millions of records in the chunks. This will help us avoid hitting the Governer limit.
Hi, I have created an Apex batch class to send an email for every 72 hours by using classic email template, I am using the opportunity and related contact data in classic email template and sending email to opportunity owner, I am receiving the email but merge fields are not working or showing in email when i am receiving. can you please tell me where I am missing? and also one more question what is whatId when using classic email template in Apex code?