|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/apex-triggers/
课程评论:没有评论
课程名称:Salesforce Apex Trigger & Test Class: Hands-On Scenarios 课程概述:本课程专为希望学习Apex触发器、Apex测试及Salesforce自定义验证的Salesforce开发人员设计。无论您是初学者还是有一定经验的开发者,此课程将为您打下坚实的基础,帮助您成为Apex触发器的专家。 在课程中,您将学习如何创建Apex触发器,理解上下文变量,并掌握“Before”与“After”事件的区别,例如“Before Insert”、“Before Update”和“Before Delete”。您还将了解执行顺序以及如何防止触发器中的递归。 课程还涵盖Apex测试,包括如何在测试类中编写正向和负向测试用例。您将学习到s对象,并如何为您的触发器创建测试类。课程包含实际场景,如创建相关联系人、更新相关商机,以及在商机记录上应用自定义验证等。 我们将涵盖许多行业实用的项目,例如: - 创建账户时,如果行业为媒体或能源,则将评级设置为“Hot” - 根据金额值在商机创建时填充描述 - 在账户创建时将账单地址复制到送货地址 - 在账户插入时创建相关联系人 - 在账户插入时创建相关商机 - 在案例创建时填充账户上的最新案例编号 - 在商机创建时填充账户上的最新商机金额 - 在账户创建时根据用户选择创建联系人或商机 - 当电话字段更新时更新账户的描述 - 在账户插入或更新时将账单地址复制到送货地址 - 使用映射或父子SOQL在账户更新时更新相关联系人 - 当商机阶段更新时创建任务 - 在账户更新时更新相关商机 - 在Apex触发器中应用自定义验证并在测试类中使用try & catch - 在Apex触发器和测试类中应用自定义标签 - 防止更新创建于今天之前7天的账户 - 在商机记录创建期间应用自定义验证 - 在更新商机记录时应用自定义验证 完成本课程后,您将对Apex触发器和Apex测试有深入的理解,并能够在Salesforce中应用自定义验证。立即注册,迈出成为Salesforce触发器专家的第一步!
This course is designed for Salesforce developers who want to learn about Apex Triggers, Apex Tests, and the power of custom validation in Salesforce. Whether you are a beginner or have some experience, this course will give you a solid foundation in Apex Triggers and help you become an expert.You will learn how to create Apex Triggers, understand context variables, and master the difference between Before and After events such as Before Insert, Before Update, and Before Delete. You will also learn about the order of execution and how to prevent recursion in your triggers.The course also covers Apex Tests and how to write positive and negative test cases in a test class. You will learn about sObjects and how to create a test class for your triggers. The course includes scenarios, such as creating related contacts, updating related opportunities, and applying custom validation on opportunity records.We will cover many industry ready practicals, such as:Populating the rating as "Hot" on account creation if the industry is Media or EnergyPopulating the description on opportunity creation based on the amount valueCopying the billing address to the shipping address on account creationCreating a related contact on account insertionCreating a related opportunity on account insertionPopulating the latest case number on account on case creationPopulating the latest opportunity amount on account on opportunity creationCreating a contact or opportunity based on the user's choice when an account is createdUpdating the description on account when the phone field is updatedCopying the billing address to the shipping address on account insert or updateUpdating the related contacts on account update using a map or parent-child SOQLCreating a task on opportunity when the stage is updatedUpdating the related opportunity when an account is updatedApplying custom validation in Apex Trigger and using try & catch in the test classApplying custom labels in Apex Trigger and test classPreventing the update of accounts created 7 days ago from todayApplying custom validation on opportunity record creationApplying custom validation while updating an opportunity recordBy the end of this course, you will have a strong understanding of Apex Triggers and Apex Tests and be able to apply custom validation in Salesforce. Sign up now and take the first step towards becoming a Salesforce trigger expert!