for the first question can you pls create a separate video for LWC component and explain in detail so that we can learn that feature ,its helps in our interview
@salesforcein5minutes8 ай бұрын
Okay ill uplaod this answer asap
@gubbalasovinay57468 ай бұрын
@@salesforcein5minutes thank you so much 😊
@gubbalasovinay57468 ай бұрын
@@salesforcein5minutes waiting for your video 🙂
@sfdcbasics227 ай бұрын
Yes , Please we want the First LWC Scenario
@salesforcein5minutes7 ай бұрын
@@sfdcbasics22 sure man in process will upload soon
@Saptarshi_1017 ай бұрын
For the trigger scenario I think there should be a Delete scenario as well. What you think?
@salesforcein5minutes7 ай бұрын
Yeah sure there should be, but these are the questions that are asked to me in my recent interview and not actually formed by me
@Saptarshi_1017 ай бұрын
@@salesforcein5minutes I'm just talking from general business use case scenario. Thanks for sharing the questions ✌🏻
@salesforcein5minutes7 ай бұрын
@@Saptarshi_101 yeah sure will add questions based of that as well, thanks for suggestion 😀
@vemula_abhinay8 ай бұрын
Hey! In the Opportunity Trigger question, It fails in the update context, you are actually overriding the value on the account with the new opportunity amount value. The other existing opportunity's amount aren't taken into consideration. Instead, we can collect the accountId's into a SET, query over AccountList : [Select id,amount,(Select id,amount from Opportunities) from Account where accountId IN: ] --> Loop over this list, get all the opportunity sum from subquery and add it to the account Amount, then update AccountList. Correct me if i am wrong. Thanks in advance.
@salesforcein5minutes7 ай бұрын
Makes Sense you can Also Check if New value and Existing value is same and If it is same then Just Skip the Update that might also Work, The Answers that i give in this video are the exact answers that i give in interview, so that people might learn from My Mistakes
@VamshidharBogaram5 ай бұрын
Can we do a parent-to-child query instead, and delete both accounts and contacts in one statement? for the batch class question?.
@rakeshgajjala12648 ай бұрын
In updating total__c in account if you assign the value from your map then what If the total__c is already having a value? Instead of assigning the value from your map you need to add that value to the total__c current value. Correct me if I am wrong
@salesforcein5minutes8 ай бұрын
You can also check if the value of map and total is same then there is no point of updating again! And yes you can always do it the way you mentioned
@kumarvenkat7397 ай бұрын
Pls post more videos..How to set up for a mock with you
@salesforcein5minutes7 ай бұрын
You can set mock with me by following this link : topmate.io/salesforce_in_5_minutes
@HarshSharma-fr1ek3 ай бұрын
For deletion batch let suppose you have one account and 40000. Contact were there and we want delete the contact then in that case i will get failled
@saylikinage61076 ай бұрын
createdDate points to date 5 years back So query should be createdDate > = fiveyearsDate [greater than]
@rakeshgajjala12648 ай бұрын
Upon deletion of the account all its contacts will get deleted automatically right. Then why do we need to delete the contacts ?
@salesforcein5minutes8 ай бұрын
Interviewer asked me to write a specific code for it! Thats the reason