- Видео 117
- Просмотров 629 626
Tech Journey With Ankit
Индия
Добавлен 8 июл 2023
𝐀𝐧𝐤𝐢𝐭 𝐉𝐚𝐢𝐧 - 𝐒𝐚𝐥𝐞𝐬𝐟𝐨𝐫𝐜𝐞 𝐀𝐫𝐜𝐡𝐢𝐭𝐞𝐜𝐭 𝐚𝐧𝐝 𝐂𝐨𝐫𝐩𝐨𝐫𝐚𝐭𝐞 𝐓𝐫𝐚𝐢𝐧𝐞𝐫 ( 𝟔𝐗 𝐒𝐚𝐥𝐞𝐬𝐟𝐨𝐫𝐜𝐞 , 𝟏𝐗 𝐂𝐨𝐩𝐚𝐝𝐨 , 𝟏𝐗 𝐀𝐖𝐒 𝐂𝐞𝐫𝐭𝐢𝐟𝐢𝐞𝐝)
Welcome to Tech Journey With Ankit ! Our channel is dedicated to empowering individuals to master the Tech Stack through comprehensive tutorials, expert guidance, and real-world examples. Whether you're a beginner or an experienced professional, our goal is to provide you with the knowledge and skills needed to excel in your Salesforce journey.
🎇 𝐅𝐨𝐫 𝐚𝐧𝐲 𝐢𝐧𝐪𝐮𝐢𝐫𝐲 =: contact khiwansarasfdc@gmail.com
🎇 𝐓𝐞𝐥𝐞𝐠𝐫𝐚𝐦 𝐂𝐡𝐚𝐧𝐧𝐞𝐥 - t.me/techjourneywithankitjain
🎇 Any feedbacks are most welcome, send them to - khiwansarasfdc@gmail.com
#Salesforce #Integration #Soap #Rest #lightning #Einstein #techjourneywithankit #LightningWebcomponent #LWC #SalesforceTutorial #LightningTutorial #SaleforceForBeginners #JourneyToSalesforce #AnkitJain #ankit #salesforceadmin #salesforcedevelopers #salesforcearchitect #salesforceintegration #aura #flow #visualstudio
Welcome to Tech Journey With Ankit ! Our channel is dedicated to empowering individuals to master the Tech Stack through comprehensive tutorials, expert guidance, and real-world examples. Whether you're a beginner or an experienced professional, our goal is to provide you with the knowledge and skills needed to excel in your Salesforce journey.
🎇 𝐅𝐨𝐫 𝐚𝐧𝐲 𝐢𝐧𝐪𝐮𝐢𝐫𝐲 =: contact khiwansarasfdc@gmail.com
🎇 𝐓𝐞𝐥𝐞𝐠𝐫𝐚𝐦 𝐂𝐡𝐚𝐧𝐧𝐞𝐥 - t.me/techjourneywithankitjain
🎇 Any feedbacks are most welcome, send them to - khiwansarasfdc@gmail.com
#Salesforce #Integration #Soap #Rest #lightning #Einstein #techjourneywithankit #LightningWebcomponent #LWC #SalesforceTutorial #LightningTutorial #SaleforceForBeginners #JourneyToSalesforce #AnkitJain #ankit #salesforceadmin #salesforcedevelopers #salesforcearchitect #salesforceintegration #aura #flow #visualstudio
Salesforce Integration With Spotify | Salesforce Project | LWC Project #salesforce #integration
Topmate Link for One-to-One Connect
topmate.io/techjourneywithankit
Salesforce Interview Questions and Answers
ruclips.net/p/PLFe2L4qdtVpaAXr33VhXQGKcXETe6-A6Y
LWC Bootcamp
ruclips.net/p/PLFe2L4qdtVpYnyuKs0q-eJ7nZLSFTc0nQ
Salesforce Integration
ruclips.net/p/PLFe2L4qdtVpYZ4ohYLj39xzAYuP_5UzpY
Salesforce Advanced Flows
ruclips.net/p/PLFe2L4qdtVpY8ImL7gCZMJY9Oo9Jir_pD
Salesforce Projects
ruclips.net/p/PLFe2L4qdtVpbtY6K-Mu9v1MSCBQxt-d8V
Learning from Salesforce Project
-----------------------------------------------------
Understand OAuth 2.0
Configure Connected App
Authentication Provider
External Credential
Named Credential
Callout to Spotify
Display Result Using LWC
URL Referred to in the video
🔗 developer.spo...
topmate.io/techjourneywithankit
Salesforce Interview Questions and Answers
ruclips.net/p/PLFe2L4qdtVpaAXr33VhXQGKcXETe6-A6Y
LWC Bootcamp
ruclips.net/p/PLFe2L4qdtVpYnyuKs0q-eJ7nZLSFTc0nQ
Salesforce Integration
ruclips.net/p/PLFe2L4qdtVpYZ4ohYLj39xzAYuP_5UzpY
Salesforce Advanced Flows
ruclips.net/p/PLFe2L4qdtVpY8ImL7gCZMJY9Oo9Jir_pD
Salesforce Projects
ruclips.net/p/PLFe2L4qdtVpbtY6K-Mu9v1MSCBQxt-d8V
Learning from Salesforce Project
-----------------------------------------------------
Understand OAuth 2.0
Configure Connected App
Authentication Provider
External Credential
Named Credential
Callout to Spotify
Display Result Using LWC
URL Referred to in the video
🔗 developer.spo...
Просмотров: 1 790
Видео
Salesforce Trigger | Maximum Opportunity Name on Account | #apextrigger #apex #interview #salesforce
Просмотров 39816 часов назад
Topmate Link for One-to-One Connect topmate.io/techjourneywithankit Salesforce Interview Questions and Answers ruclips.net/p/PLFe2L4qdtVpaAXr33VhXQGKcXETe6-A6Y LWC Bootcamp ruclips.net/p/PLFe2L4qdtVpYnyuKs0q-eJ7nZLSFTc0nQ Salesforce Integration ruclips.net/p/PLFe2L4qdtVpYZ4ohYLj39xzAYuP_5UzpY Salesforce Advanced Flows ruclips.net/p/PLFe2L4qdtVpY8ImL7gCZMJY9Oo9Jir_pD Salesforce Projects ruclips....
Salesforce Trigger | Count contacts associated with Account | Rollup Summary Trigger #apextrigger
Просмотров 93314 дней назад
Topmate Link for One-to-One Connect topmate.io/techjourneywithankit Salesforce Interview Questions and Answers ruclips.net/p/PLFe2L4qdtVpaAXr33VhXQGKcXETe6-A6Y LWC Bootcamp ruclips.net/p/PLFe2L4qdtVpYnyuKs0q-eJ7nZLSFTc0nQ Salesforce Integration ruclips.net/p/PLFe2L4qdtVpYZ4ohYLj39xzAYuP_5UzpY Salesforce Advanced Flows ruclips.net/p/PLFe2L4qdtVpY8ImL7gCZMJY9Oo9Jir_pD Salesforce Projects ruclips....
Salesforce Trigger | Prevent Opportunity deletion if it has related activities #salesforceinterview
Просмотров 54921 день назад
Topmate Link for One-to-One Connect topmate.io/techjourneywithankit Salesforce Interview Questions and Answers ruclips.net/p/PLFe2L4qdtVpaAXr33VhXQGKcXETe6-A6Y LWC Bootcamp ruclips.net/p/PLFe2L4qdtVpYnyuKs0q-eJ7nZLSFTc0nQ Salesforce Integration ruclips.net/p/PLFe2L4qdtVpYZ4ohYLj39xzAYuP_5UzpY Salesforce Advanced Flows ruclips.net/p/PLFe2L4qdtVpY8ImL7gCZMJY9Oo9Jir_pD Salesforce Projects ruclips....
Salesforce Trigger | Validate if email is not from allowed domain #apextrigger #salesforceinterview
Просмотров 76921 день назад
Topmate Link for One-to-One Connect topmate.io/techjourneywithankit Salesforce Interview Questions and Answers ruclips.net/p/PLFe2L4qdtVpaAXr33VhXQGKcXETe6-A6Y LWC Bootcamp ruclips.net/p/PLFe2L4qdtVpYnyuKs0q-eJ7nZLSFTc0nQ Salesforce Integration ruclips.net/p/PLFe2L4qdtVpYZ4ohYLj39xzAYuP_5UzpY Salesforce Advanced Flows ruclips.net/p/PLFe2L4qdtVpY8ImL7gCZMJY9Oo9Jir_pD Salesforce Projects ruclips....
Salesforce Trigger | TCS Trigger Scenario for 0 - 3 Years Experience
Просмотров 942Месяц назад
Topmate Link for One-to-One Connect topmate.io/techjourneywithankit Salesforce Interview Questions and Answers ruclips.net/p/PLFe2L4qdtVpaAXr33VhXQGKcXETe6-A6Y LWC Bootcamp ruclips.net/p/PLFe2L4qdtVpYnyuKs0q-eJ7nZLSFTc0nQ Salesforce Integration ruclips.net/p/PLFe2L4qdtVpYZ4ohYLj39xzAYuP_5UzpY Salesforce Advanced Flows ruclips.net/p/PLFe2L4qdtVpY8ImL7gCZMJY9Oo9Jir_pD Salesforce Projects ruclips....
Salesforce Trigger | Accenture Trigger Scenario for 0 - 3 Years Experience
Просмотров 1,4 тыс.Месяц назад
Topmate Link for One-to-One Connect topmate.io/techjourneywithankit Salesforce Interview Questions and Answers ruclips.net/p/PLFe2L4qdtVpaAXr33VhXQGKcXETe6-A6Y LWC Bootcamp ruclips.net/p/PLFe2L4qdtVpYnyuKs0q-eJ7nZLSFTc0nQ Salesforce Integration ruclips.net/p/PLFe2L4qdtVpYZ4ohYLj39xzAYuP_5UzpY Salesforce Advanced Flows ruclips.net/p/PLFe2L4qdtVpY8ImL7gCZMJY9Oo9Jir_pD Salesforce Projects ruclips....
Apex Trigger Bootcamp | What is Apex Trigger | Context Variables | Trigger Best Practices
Просмотров 1,2 тыс.Месяц назад
Topmate Link for One-to-One Connect topmate.io/techjourneywithankit Salesforce Interview Questions and Answers ruclips.net/p/PLFe2L4qdtVpaAXr33VhXQGKcXETe6-A6Y LWC Bootcamp ruclips.net/p/PLFe2L4qdtVpYnyuKs0q-eJ7nZLSFTc0nQ Salesforce Integration ruclips.net/p/PLFe2L4qdtVpYZ4ohYLj39xzAYuP_5UzpY Salesforce Advanced Flows ruclips.net/p/PLFe2L4qdtVpY8ImL7gCZMJY9Oo9Jir_pD Salesforce Projects ruclips....
Salesforce Scenario Based Questions | 0 - 3 Years Experience | Freshers | #salesforceinterview
Просмотров 2,2 тыс.Месяц назад
Topmate Link for One-to-One Connect topmate.io/techjourneywithankit Salesforce Interview Questions and Answers ruclips.net/p/PLFe2L4qdtVpaAXr33VhXQGKcXETe6-A6Y LWC Bootcamp ruclips.net/p/PLFe2L4qdtVpYnyuKs0q-eJ7nZLSFTc0nQ Salesforce Integration ruclips.net/p/PLFe2L4qdtVpYZ4ohYLj39xzAYuP_5UzpY Salesforce Advanced Flows ruclips.net/p/PLFe2L4qdtVpY8ImL7gCZMJY9Oo9Jir_pD Salesforce Projects ruclips....
Salesforce Admin Scenario Based Questions | 0 - 3 Years Experience | Freshers |
Просмотров 1,7 тыс.Месяц назад
Topmate Link for One-to-One Connect topmate.io/techjourneywithankit Salesforce Interview Questions and Answers ruclips.net/p/PLFe2L4qdtVpaAXr33VhXQGKcXETe6-A6Y LWC Bootcamp ruclips.net/p/PLFe2L4qdtVpYnyuKs0q-eJ7nZLSFTc0nQ Salesforce Integration ruclips.net/p/PLFe2L4qdtVpYZ4ohYLj39xzAYuP_5UzpY Salesforce Advanced Flows ruclips.net/p/PLFe2L4qdtVpY8ImL7gCZMJY9Oo9Jir_pD Salesforce Projects ruclips....
Use of SVG in LWC Component #salesforce #lwc
Просмотров 5082 месяца назад
Topmate Link for One-to-One Connect topmate.io/techjourneywithankit Salesforce Interview Questions and Answers ruclips.net/p/PLFe2L4qdtVpaAXr33VhXQGKcXETe6-A6Y LWC Bootcamp ruclips.net/p/PLFe2L4qdtVpYnyuKs0q-eJ7nZLSFTc0nQ Salesforce Integration ruclips.net/p/PLFe2L4qdtVpYZ4ohYLj39xzAYuP_5UzpY Salesforce Advanced Flows ruclips.net/p/PLFe2L4qdtVpY8ImL7gCZMJY9Oo9Jir_pD Salesforce Projects ruclips....
LWC Project | Part 3 - Meal Hunt | #salesforce #lwc #integration #project
Просмотров 7572 месяца назад
Topmate Link for One-to-One Connect topmate.io/techjourneywithankit Part 1 - Meal Hunt ruclips.net/video/RhAmKKyzTgA/видео.html Salesforce Interview Questions and Answers ruclips.net/p/PLFe2L4qdtVpaAXr33VhXQGKcXETe6-A6Y LWC Bootcamp ruclips.net/p/PLFe2L4qdtVpYnyuKs0q-eJ7nZLSFTc0nQ Salesforce Integration ruclips.net/p/PLFe2L4qdtVpYZ4ohYLj39xzAYuP_5UzpY Salesforce Advanced Flows ruclips.net/p/PLF...
LWC Project | Part 2 - Meal Hunt | #salesforce #lwc #integration #project
Просмотров 1 тыс.2 месяца назад
Topmate Link for One-to-One Connect topmate.io/techjourneywithankit Part 1 - Meal Hunt ruclips.net/video/RhAmKKyzTgA/видео.html Salesforce Interview Questions and Answers ruclips.net/p/PLFe2L4qdtVpaAXr33VhXQGKcXETe6-A6Y LWC Bootcamp ruclips.net/p/PLFe2L4qdtVpYnyuKs0q-eJ7nZLSFTc0nQ Salesforce Integration ruclips.net/p/PLFe2L4qdtVpYZ4ohYLj39xzAYuP_5UzpY Salesforce Advanced Flows ruclips.net/p/PLF...
LWC Project | Part 1 - Meal Hunt | #salesforce #lwc #integration #project
Просмотров 3,5 тыс.3 месяца назад
Topmate Link for One-to-One Connect topmate.io/techjourneywithankit Part 1 - Expense Tracker ruclips.net/video/2to3sMGR7l8/видео.html Salesforce Interview Questions and Answers ruclips.net/p/PLFe2L4qdtVpaAXr33VhXQGKcXETe6-A6Y LWC Bootcamp ruclips.net/p/PLFe2L4qdtVpYnyuKs0q-eJ7nZLSFTc0nQ Salesforce Integration ruclips.net/p/PLFe2L4qdtVpYZ4ohYLj39xzAYuP_5UzpY Salesforce Advanced Flows ruclips.net...
Salesforce Project - Part 2 - Expense Tracker #salesforce #lwc #flow #salesforce #project
Просмотров 9133 месяца назад
Topmate Link for One-to-One Connect topmate.io/techjourneywithankit Part 1 - Expense Tracker ruclips.net/video/2to3sMGR7l8/видео.html Salesforce Interview Questions and Answers ruclips.net/p/PLFe2L4qdtVpaAXr33VhXQGKcXETe6-A6Y LWC Bootcamp ruclips.net/p/PLFe2L4qdtVpYnyuKs0q-eJ7nZLSFTc0nQ Salesforce Integration ruclips.net/p/PLFe2L4qdtVpYZ4ohYLj39xzAYuP_5UzpY Salesforce Advanced Flows ruclips.net...
Salesforce Project - Part 1 - Expense Tracker #salesforce #lwc #flow #salesforce #project
Просмотров 2,5 тыс.3 месяца назад
Salesforce Project - Part 1 - Expense Tracker #salesforce #lwc #flow #salesforce #project
Part 3 - Salesforce Scenario Based Interview Question #salesforce #salesforceinterviewquestions
Просмотров 4,6 тыс.3 месяца назад
Part 3 - Salesforce Scenario Based Interview Question #salesforce #salesforceinterviewquestions
Part 2 - Salesforce Scenario Based Interview Question #salesforce #salesforceinterviewquestions
Просмотров 3,8 тыс.4 месяца назад
Part 2 - Salesforce Scenario Based Interview Question #salesforce #salesforceinterviewquestions
Part 1 - Salesforce Scenario Based Interview Question #salesforce #salesforceinterviewquestions
Просмотров 8 тыс.4 месяца назад
Part 1 - Salesforce Scenario Based Interview Question #salesforce #salesforceinterviewquestions
Steps to Debug LWC Component | Debug LWC | Debug Lightning Web Component #lwc #salesforce
Просмотров 3,6 тыс.4 месяца назад
Steps to Debug LWC Component | Debug LWC | Debug Lightning Web Component #lwc #salesforce
How to debug Apex Code in salesforce #salesforce #apex
Просмотров 3,4 тыс.4 месяца назад
How to debug Apex Code in salesforce #salesforce #apex
Salesforce Flow Interview Questions: Ace Your Next Interview! #salesforce #flow #interview
Просмотров 6 тыс.5 месяцев назад
Salesforce Flow Interview Questions: Ace Your Next Interview! #salesforce #flow #interview
Salesforce Apex Interview Questions & Answers #salesforce #apex #interview
Просмотров 5 тыс.5 месяцев назад
Salesforce Apex Interview Questions & Answers #salesforce #apex #interview
Salesforce Apex Interview Questions & Answers #salesforce #apex #interview
Просмотров 3,9 тыс.5 месяцев назад
Salesforce Apex Interview Questions & Answers #salesforce #apex #interview
Salesforce Apex Interview Questions & Answers #salesforce #salesforceinterviewquestions #apex
Просмотров 4,4 тыс.5 месяцев назад
Salesforce Apex Interview Questions & Answers #salesforce #salesforceinterviewquestions #apex
Salesforce Apex Interview Questions & Answers #salesforce #salesforceinterviewquestions #apex
Просмотров 5 тыс.6 месяцев назад
Salesforce Apex Interview Questions & Answers #salesforce #salesforceinterviewquestions #apex
Salesforce Apex Interview Questions & Answers #salesforce #salesforceinterviewquestions #apex
Просмотров 9 тыс.6 месяцев назад
Salesforce Apex Interview Questions & Answers #salesforce #salesforceinterviewquestions #apex
Integration Interview Questions & Answers #salesforce #salesforceinterviewquestions #integration
Просмотров 4,5 тыс.6 месяцев назад
Integration Interview Questions & Answers #salesforce #salesforceinterviewquestions #integration
Integration Interview Questions & Answers #salesforce #salesforceinterviewquestions #integration
Просмотров 4,4 тыс.6 месяцев назад
Integration Interview Questions & Answers #salesforce #salesforceinterviewquestions #integration
Integration Interview Questions & Answers #salesforce #salesforceinterviewquestions #integration
Просмотров 13 тыс.7 месяцев назад
Integration Interview Questions & Answers #salesforce #salesforceinterviewquestions #integration
Awesome content Ankit Sir.. But please go with more detail. And please make detailed explanation videos on - Authentication types How they works and all those stuffs. Thank you Sir.
you deserve more exposure and reach
Very helpful session Sir, Thanks a lot...🙏
Most welcome
Awesome lecture 🎉🎉 Very helpful ❤
So glad!
I cant thank enough sir..!! Thanks is very small word for all the efforts you put in to make such an amazing explanation about this tough topic. You are such an amazing Teacher.
Thank you sir, I followed the steps and it is working. I'm waiting for Part 2 :)
Thank You for the session. In the code you have used EncodingUtil.urlDecode method instead of EncodingUtil.urlEncode, still you got 200 response how?
The best one out there!!!!!!!!!! Thanks Ankit.
Thanks buddy. Glad you found helpful
Thanks a lot sir for this good content .God blessed you
Glad you found it helpful!
Trigger series over ?
Will cover more in future sessions
Sir in vs code after launching Apex reply debugger.... I'm getting error - Apex language server couldn't provide information about valid breakpoints. Can you please help me fix this
Check out below point Use updated version of cli Use updated extension package Use java 17 or Java 21 Make sure Java is configured correctly in vscode
Thanks for this..but it's to fast.
Noted
Is this outbound integration ?
yes
@ Thanks
Thanks a lot for this amazing session. Eagerly looking for Part II
Stay tuned, more to come!
At 1:00:30 we are using ACCOUNT_OBJECT.objectApiName. But then why do we only use ACCOUNT_OBJECT in the getObjectInfo wire adapter? Should it not be ACCOUNT_OBJECT.objectApiName? @wire(getObjectInfo, { objectApiName: ACCOUNT_OBJECT }) accountObjectInfo;
Thanks Ankit sir for giving confidence in writing code trigger casetrigger on Case(before update){ if(trigger.isBefore){ if(trigger.isUpdate){ casetriggerHandler.beforeupdated(trigger.new,trigger.oldmap); } } }Public without sharing class casetriggerHandler{ Public static void beforeupdated(List<Case> caselist,map<Id,Case> oldcasemap){ if(caselist!= Null){ for(Case cs: caselist){ Case oldcase = oldcasemap.get(cs.Id); if(cs.Status != oldcase.Status && cs.Status== 'Escalated'){ cs.Priority ='High'; } } } } }
Looks good. Don’t use not null rather than that try to use isEmpty or size method
Great Session❤
Glad you found it helpful
trigger Tech_Assignment5 on Opportunity (before insert) { if(Trigger.isBefore && Trigger.isInsert){ Tech_Assignment5_Handler.beforeInsert(Trigger.new); } } Handler Class : public class Tech_Assignment5_Handler { public static void beforeInsert(List<Opportunity> oppList){ Set<ID> accIds = new Set<ID>(); for(Opportunity opp : oppList){ if(opp.accountId!=null){ accIds.add(opp.accountId); } } if(accIds.size()>0){ Map<Id,Account> mp = new Map<Id,Account>([select id,billingAddress from Account where id IN:accIds]); for(Opportunity opp : oppList){ if(opp.accountId!=null){ Account acc = mp.get(opp.accountid); if(acc.BillingAddress==null){ opp.addError('You cannot created opp with no billing address on associated account'); } } } } } }
trigger Tech_Assignment4 on Case (before update) { if(Trigger.isBefore && Trigger.isUpdate){ Tech_Assignment4_Handler.method(Trigger.new,Trigger.oldMap); } } Handler Class : public class Tech_Assignment4_Handler { public static void method(List<Case> csList,Map<ID,Case> mp){ for(Case cs : csList){ if(cs.status == 'Escalated' && cs.status!=mp.get(cs.id).status){ cs.Priority = 'High'; } } } }
Correct Hema
Thank you So much
Glad you found helpful
Thank you so much Sir
Glad you found helpful
hii ankit can you make one video on recursion trigger in ur trigger bootcamp with use of static set and static map .
Yes i will do it is in the plan
Will you be doing any trigger example where you specifying custom metadata stuff as well for turning the trigger off or bypassing triggers during data load ? Shouldn't that be a best practice to include that in trigger while writing it ?
Will cover it in future session
Error: Header "Host" contains invalid characters
Is it during authentication ? Seems like your authentication failed
@@TechJourneyWithAnkit No I did everything correct but after using in Incognito mode it worked Thanks :) Ankit
Hi sir , thankyou for a wonderful session , I just had a question , I could see that the EPT is available on your screen at 37:07 timestamp but in the url there is not ?eptvisible=1 mentioned , so is there any way in which no matter how many different pages we load automatically the EPT would be viable without adding this clause in the url ? Could you please tell me how can this be done?
I have debug mode enabled in org
i have a one scenario:- i am schedule the batch at 9am, if the records are already processed, next day i won't processes those records. can we achieve it by CDC or not ?
CDC is near real time. Above use case does not fit for cdc
@@TechJourneyWithAnkit thankyou
CDC Can we used in batch apex ??
If you are performing dml operations in batch apex cdc will trigger automatically
CDC can we user for batch apex sir.
If you are performing dml operations in batch apex , cdc will trigger automatically
Assignment 3 : trigger Tech_Assignment3 on Case (before insert) { if(Trigger.isBefore && Trigger.isInsert){ Tech_Assignment3_Handler.beforeInsert(Trigger.new); } } public class Tech_Assignment3_Handler { public static void beforeInsert(List<Case> csList){ Set<String> phones = new Set<String>(); for(Case cs : csList){ if(String.isNotBlank(cs.SuppliedPhone)){ phones.add(cs.SuppliedPhone); } } Map<String,Id> mp = new Map<String,ID>(); for(Account acc : [select id,phone from Account where phone IN:phones]){ mp.put(acc.phone,acc.id); } for(Case cs : cslist){ if(String.isNotBlank(cs.SuppliedPhone)){ if(mp.containsKey(cs.SuppliedPhone)){ cs.accountId = mp.get(cs.SuppliedPhone); } } } } }
Hi Ankit, I have done the first scenraio using the following method, can you verify whether it is correct or not? trigger Tech_Scenario2 on Case (before insert) { if(Trigger.isBefore && Trigger.isInsert){ Tech_Scenario2_Handler.beforeInsert(Trigger.new); } } Handler Class: public class Tech_Scenario2_Handler { public static void beforeInsert(List<Case> csList){ Map<String,Id> mp = new Map<String,ID>(); for(Contact con : [select id,email from Contact]){ if(con.email!=null){ mp.put(con.email,con.id); } } for(Case cs : csList){ if(cs.SuppliedEmail!=null && mp.containsKey(cs.SuppliedEmail)){ cs.contactId = mp.get(cs.SuppliedEmail); } } } }
You are querying all contact records here which is not required. Imagine in your org you have millions of contact then above logic will not work
@TechJourneyWithAnkit Got it, thank you.
Assignment - 2 trigger Tech_Assignment2 on Opportunity (before insert) { if(Trigger.isBefore && Trigger.isInsert){ Tech_Assignment2_Handler.beforeInsert(Trigger.new); } } Handler Class : public class Tech_Assignment2_Handler { public static void beforeInsert(List<Opportunity> oppList){ for(Opportunity opp : oppList){ if(opp.amount == null || opp.amount <50000){ opp.stageName = 'Prospecting'; } else if(opp.amount >50000 && opp.amount <250000){ opp.stageName = 'Negotiation/Review'; } else if(opp.amount>250000){ opp.stageName = 'Closed Won'; } } } }
This looks correct
Assignment - 1 trigger Tech_Assignment1 on Lead (before insert) { if(Trigger.isBefore && Trigger.isInsert){ Tech_Assignment1_Handler.beforeInsert(Trigger.new); } } Handler Class : public class Tech_Assignment1_Handler { public static void beforeInsert(List<Lead> leadList){ for(Lead ld : leadList){ if(ld.company==null){ ld.leadSource = 'Other'; } else if(ld.company.startsWith('Sales')){ ld.leadSource = 'Phone Inquiry'; } else{ ld.leadSource = 'Web'; } } } }
This looks correct
This looks correct
2nd question- go to the profile of the user and edit the login hours as you want(like 9am to 5pm) and set it.
Correct buddy
what is user mode and system mode
System mode means ignoring system security of profile and sharing settings And user mode means considering those security
bubbles = true composed = false means is it possible to call parent <p> tag insted of <div onfire = {fireChildDivHandler}
Yes
Hi sir, Are we going to discuss in next sessions about Model popups aswell?
Not in the plan now, do you have any specific question around it ?
No spwcific query but if that also covers then its so good to underatand with your explanation...I have been going through you lwc bootcamp everyday 4 hours from last 10 days
For every 10 min while watching your videos..i feel like to say thanks to you
Just finished all videos Thank u so much brother for all ur work One word to describe is GREAT
Glad to know you found it helpful buddy
Boss you deserve award ❤ 👑
Thanks Buddy for kind wishes. It means a lot
7.30 question 1. We are creating a trigger in the case object. 2. As Case is created, it's a Insert. 3. As the contact is populated after search on the same case record, this is a before trigger. 4. Context variable will be trigger.new for a before insert trigger.
Correct
@TechJourneyWithAnkit thank you 🙂
Hi Ankit, Could you please teach us the OOP concepts? We would really appreciate it. Thank you!
Will plan for it
1. Undelete 2. Yes we we subscribe to a platform event using Flow, by creating a Platform Event Triggered Flow 3. To publish a platform event using Flow - Use the Create Records element and select the Platform Event as the object 4. Use Fault Paths, Limit Hardcoding, Monitor and Debug, Bulkification
Correct Atharva
1. 7.57 min question. 1. Account object 2. Since we are updating the field of the same record, it is a before trigger - insert ( as specially mentioned a new account is created) A trigger.New needs to be used. Data type of trigger.new is list Trigger.newmap cannot be passed upon before insert as there is no record id and map is illogical at this point.
Correct Gomathi
@TechJourneyWithAnkit thank you
Thank you so much sir for sharing this helpful video tutorial.
Glad you are finding it helpful!
hi Sir, Actually dataset.Item while getting Id of seleted record--- on element level you kept data-Item only right
Yes in html you need to put it in kebab form
@Ankit for first question: you can view existing records with a specific record type even if you don't have access to that record type, as long as you have read access to the object and the records themselves. The record type access primarily controls which record types you can create or edit, not which ones you can view
Yes you are correct thanks for correcting it
Thanks sir for explaining this important scenario and writing bulkify trigger for us.
Glad you find it helpful Kushagra
i completed second part but did not get output .even i am not getting any error .i try twice but i cannot resolve my problem
@@harmeetsandhu8238 put the appropriate console logs to check where it is failing
Good session Ankit, but you have created list of contacts inside for loop. We can directly store the count like acc.Contacts.size() instead of what you did there. One more thing I’m confused in is while updating you haven’t mapped the account id but still the code works can you explain why?
1. First one i have done for the simplicity of the viewer 2. While iterating the account list it already have the account id no separate account id mapping is needed
@ also I see you are updating same list, can you tell me what is recommended whether to create a new list and put accounts in it and update or update same list? Also if we update same list like the above example can we skip id mapping of record (acc.Id = the id then update?)
Yes if possible always go for updating the same list and skip the id mapping. If you don’t want to perform the operation on selected records and want to keep it for further use then only create seperate list
@ so if we create new list for updating at that time we need to map id field? Am I understanding it correct?
Yes you have to
Thank for giving this much of content for free sir..The content is easy to understand and use.Thank you so much Once again sir
Glad you are finding it helpful
can we use aggregate query or shall go with relationship query. What will be the good one.
Anything will be fine