Valid Plat-Dev-301 Dumps shared by EduDump.com for Helping Passing Plat-Dev-301 Exam! EduDump.com now offer the newest Plat-Dev-301 exam dumps, the EduDump.com Plat-Dev-301 exam questions have been updated and answers have been corrected get the newest EduDump.com Plat-Dev-301 dumps with Test Engine here:
A developer created an Opportunity trigger that updates the account rating when an associated opportunity is considered high value. Current criteria for an opportunity to be considered high value is an amount greater than or equal to $1,000,000. However, this criteria value can change over time. There is a new requirement to also display high value opportunities in a Lightning web component. Which two actions should the developer take to meet these business requirements, and also prevent the business logic that obtains the high value opportunities from being repeated in more than one place? Choose 2 answers
Correct Answer: B,D
Creating a helper class allows the logic to be centralized and reused in both the trigger and the Lightning Web Component (LWC), avoiding repetition. Using custom metadata to store the criteria value allows easy updates without code changes and can be referenced from both the helper class and the trigger. Apex Developer Guide Custom Metadata Types Guide