What is the optimal way to implement this?

A developer Is tasked with ensuring that email addresses entered into the system for Contacts and for a Custom Object called Survey_Response__c do not belong to a list of blacklisted domains. The list of blacklisted domains will be stored In a custom object for ease of maintenance by users. Note...

July 15, 2023 No Comments READ MORE +

Which recommended approach should the developer implement to the callout exception?

A developer created the code to perform an HTP GET request to an external system. When the code is executed, the callout is unsuccessful and the following error appears within the Developer Console:System.CalloutException: Unauthorized endpoint Which recommended approach should the developer implement to the callout exception?A . create a remote...

July 14, 2023 No Comments READ MORE +

What arm two approaches a developer can take to build the application and support the business requirements?

A developer 15 tasked with creating an application-centric feature on which end-users can access and update information. This feature must be available in lightning Experience while working seamlessly in multiple device form factors, such as desktops, phones, and tablets. Additionally, the feature must support Addressable URL Tabs and interact with...

July 14, 2023 No Comments READ MORE +

Which statement properly loads the static resource within the LWC?

A developer created a JavaScript library that simplifies the development of repetitive tasks and features and uploaded the library as a static resource called jsutils in Salesforce. Another developer is coding a new Lightning web component (LWC) and wants to leverage the library. Which statement properly loads the static resource...

July 14, 2023 No Comments READ MORE +

What is the recommended approach to perform validations on more than one field, and display multiple error messages simultaneously?

A developer created a Lightning web component that uses a lightning-record-edit-form t collect information about Leads. Users complain that they only see one error message at a time about their input when trying to save a Lead record. complain that they only see one error message at a time about...

July 14, 2023 No Comments READ MORE +

What should the developer change to allow this?

A developer is creating a Lightning web component that contains a child component. The property stage is being passed from the parent to the child. The public property is changing, but the setOppList function is not being invoked. What should the developer change to allow this?A . Move the logic...

July 14, 2023 No Comments READ MORE +

Which functionality consideration impacts the final decision?

A developer is trying to decide between creating a Visualforce component or a Lightning component for a custom screen. Which functionality consideration impacts the final decision?A . Does the screen need to be accessible from the lightning Experience UI? B. Will the screen make use of a JavaScript framework? C....

July 14, 2023 No Comments READ MORE +

What is the optimal way for a developer to get the total number of Opportunities for the Lightning Component?

Part of a custom Lightning Component displays the total number of Opportunities in the org, which is in the millions. The Lightning Component uses an Apex Controller to get the data it needs. What is the optimal way for a developer to get the total number of Opportunities for the...

July 13, 2023 No Comments READ MORE +

What should be used to fix this falling test?

A developer wrote the following method to find all the test accounts in the org: What should be used to fix this falling test?A . Test. loaddata to set up expected data B. Test. fixedSearchResults ( ) method to set up expected data C. @isTest (See AllData=true) to access org...

July 13, 2023 No Comments READ MORE +

Which code snippet will assert that the remote action returned the correct Account?

Global with sharing class MyRemoter { public String accountName { get; set; } public static Account account { get; set; } public AccountRemoter(} {} @RemoteAction global static Account getAccount (String acccuntName) { account = [SELECT Id, Name, NumberOfEmployees FROM Account WHERE Name = :accountName]; return account; } } Consider the...

July 13, 2023 No Comments READ MORE +