Which two scenarios require an Apex method to be called imperatively from a Lightning web component? Choose 2 answers

Which two scenarios require an Apex method to be called imperatively from a Lightning web component? Choose 2 answersA . 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....

July 16, 2023 No Comments READ MORE +

What are two alternatives to implement the integration and protect against malicious calls to Heroku app's endpoint?

Universal Containers needs to integrate with a Heroku service that resizes product images submitted by users. What are two alternatives to implement the integration and protect against malicious calls to Heroku app's endpoint? Choose 2 answersA . Create a trigger that uses an @future Apex HTTP callout passing JSON serialized...

July 16, 2023 No Comments READ MORE +

Which three steps should the developer take to achieve this?

A developer is asked to create a Lightning web component that will be invoked via button on a record page. The component must be displayed in a model dialog. Which three steps should the developer take to achieve this? Choose 3 answersA . Add a tarqetConfig anf set targets to...

July 16, 2023 No Comments READ MORE +

What should be done to address the problem?

A company has code to update a Request and Request Lines and make a callout to their external ERP system’s REST endpoint with the updated records. What should be done to address the problem?A . Move the CalloutUtil.makeRestCallout method call below the catch block. B. Remove the Database.setSavepoint and Database.rollback....

July 16, 2023 No Comments READ MORE +

Which code segment is the most efficient way to fulfill this request?

The Salesforce admin at cloud kicks created a custom object called Region_ c to store all postal zip codes in the United States and the Cloud Kicks sales region the Zip code belong to. Object Name: Fields: Cloud Kicks wants a trigger on the Lead to populate the Region based...

July 16, 2023 No Comments READ MORE +

What should the developer specify in the debug log to see the values of the workflow rule conditions and debug the problem?

The Contact object in an org is configured with workflow rules that trigger field updates. The fields are not updating, even though the end user expects them to. The developer creates a debug log to troubleshoot the problem. What should the developer specify in the debug log to see the...

July 16, 2023 No Comments READ MORE +

What should the developer do to determine which objects to include in the response?

A developer writes a lightning web component that displays a dropdown list of all custom objects in the org from which a user will select Apex method prepares and returns data to the component. What should the developer do to determine which objects to include in the response?A . Check...

July 16, 2023 No Comments READ MORE +

Which technique can run custom logic when a Lightning web component is loaded?

Which technique can run custom logic when a Lightning web component is loaded? A. Call SA.enqueueAction and pass in the method to call. B. Use the renderedCallback () method. C. Use an <aura:handler> init event to call a function. D. Use the connected-allbacM) method.View AnswerAnswer: D

July 16, 2023 No Comments READ MORE +

Which two changes should the developer make so the Apex method functions correctly?

A developer created a Lightning web component that allows users to input a text value that is used to search for Accounts by calling an Apex method. The Apex method returns a list of AccountWrappers and is called imperatively from a JavaScript event handler. Which two changes should the developer...

July 15, 2023 No Comments READ MORE +

How should the developer do this?

A developer wants to write a generic Apex method that will compare the Salesforce Name filed between any two object records, for example to compare the Name field of an Account and an Opportunity; or the name of an Account and a Contact. How should the developer do this?A ....

July 15, 2023 No Comments READ MORE +