Which tag should a developer use to display the flow in the component?
A Salesforce Administrator used Flow Builder to create a flow named ‘’accountOnboarding’’. The flow must be used inside an Aura component. Which tag should a developer use to display the flow in the component?A . Lightning-flow B. Aura:flow C. Lightning:flow D. Aura:flowView AnswerAnswer: C
Which scenario is valid for execution by unit tests?
Which scenario is valid for execution by unit tests?A . Load data from a remote site with a callout. B. Set the created date of a record using a system method. C. Execute anonymous Apex as a different user. D. Generate a Visualforce PDF with geccontentAsPDF ().View AnswerAnswer: B
What should the developer use to enforce sharing permission for the currently logged-in user while using the custom search tool?
Universal Containers implemented a private sharing model for the Account object. A custom Account search tool was developed with Apex to help sales representatives find accounts that match multiple criteria they specify. Since its release, users of the tool report they can see Accounts they do not own. What should...
Which two events need to happen when deploying to a production org? Choose 2 answers
Which two events need to happen when deploying to a production org? Choose 2 answersA . All triggers must have at least 1% test coverage. B. All Apex code must have at least 75% test coverage. C. All triggers must have at least 75% test coverage. D. All test and...
What is the best practice to get the sum of all Order Line item totals on the Order record?
Universal Containers has implemented an order management application. Each Order can have one or more Order Line items. The Order Line object is related to the Order via a master-detail relationship. For each Order Line item, the total price is calculated by multiplying the Order Line item price with the...
In which two ways can the developer declare the variables to ensure their value can only be assigned one time?
A developer is implementing an Apex class for a financial system. Within the class, the variables ‘creditAmount’ and ‘debtAmount’ should not be able to change once a value is assigned. In which two ways can the developer declare the variables to ensure their value can only be assigned one time?...
Which method should be used to calculate the estimated ship date for an Order?
Universal Containers stores the availability date on each Line Item of an Order and Orders are only shipped when all of the Line Items are available. Which method should be used to calculate the estimated ship date for an Order?A . Use a CEILING formula on each of the Latest...
Which three factors should a developer keep Hi mind when implementing the Apex method?
Einstein Next Best Action Is configured at Universal Containers to display recommendations to internal users on the Account detail page. If the recommendation is approved, a new opportunity record and task should be generated. If the recommendation is rejected, an Apex method must be executed to perform a callout to...
Which two scenarios require an Apex method to be called imperatively from a Lightning web component? Choose 2 answer
Which two scenarios require an Apex method to be called imperatively from a Lightning web component? Choose 2 answerA . Calling a method that makes a web service callout B. Calling a method that is not annotated with cacheable-true C. Calling a method with the click of a button D....
Which two are best practices when it comes to component and application event handling? (Choose two.)
Which two are best practices when it comes to component and application event handling? (Choose two.)A . Reuse the event logic in a component bundle, by putting the logic in the helper. B. Use component events to communicate actions that should be handled at the application level. C. Handle low-level...