Question 31

Refer to the code snippet below:

When a Lightning web component is rendered, a list of opportunity that match certain criteria should be retrieved from the database and displayed to the end-user.
Which three considerations must the developer implement to make the fetchOpps method available within the Lightning web component?
  • Question 32

    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
  • Question 33

    Universal Containers analyzes a Lightning web component and its Apex controller class that retrieves a list of contacts associated with an account. The code snippets are as follows:

    Based on the code snippets, what change should be made to display the contacts' mailing addresses in the Lightning web component?
  • Question 34

    A developer has written a Visualforce page to create a new account with the following markup: The Visualforce page has extra logic for validating the website field. How can the developer add an error message next to the website field if the submitted value isn't valid?
  • Question 35

    Universal Containers wants to be able to bring up an Account detail page and view a table of containers currently being rented. The user wants to be able to dick on a container In the table and quickly edit and save the location of the container.
    In addition to this, the page should have a section that shows the location of each container on a map. Universal Containers wants the map to re-render whenever the location of a container is changed.
    What can a developer use to accomplish this task?