Which scenario necessitates that the callout be made in an @future method?

A developer is writing code that requires making callouts to an external web service . Which scenario necessitates that the callout be made in an @future method?A . The callouts will be made in an Apex Test class.B . The callouts will be made in an Apex Trigger.C . The...

May 25, 2022 No Comments READ MORE +

Which interface needs to be implemented by a Lightning Component so that it may be displayed in modal dialog by clicking a button on a Lightning Record page?

Which interface needs to be implemented by a Lightning Component so that it may be displayed in modal dialog by clicking a button on a Lightning Record page?A . Force: lightningQuickActionB . Lightning:editActionC . Fightning:quickActionD . Force:lightningEditActionView AnswerAnswer: A

May 25, 2022 No Comments READ MORE +

What should a developer change about the Visualforce page to help with the page load errors?

Universal Containers has a Visualforce page that displays a table every Container_ c being rented by a gives Account. failing because some of the customers rent over 100,000 containers. What should a developer change about the Visualforce page to help with the page load errors?A . Implement pagination with an...

May 25, 2022 No Comments READ MORE +

What will happen when a user clicks the command button?

A developer has a page with two extensions overriding the Standard controller for Case. What will happen when a user clicks the command button?A . All of the three Save methods will be executedB . Save from Case Standard Controller will be executedC . Save from CaseExtensionTwo will be executedD...

May 25, 2022 No Comments READ MORE +

The Metadata API___________.

The Metadata API___________.A . Is based on REST principles and is optimized for loading or deleting large sets of data. You can use it to query, queryAII, insert, update, upsert, or delete many records asynchronously by submitting batchesB . Provides a powerful, convenient, and simple REST-based web services interface for...

May 25, 2022 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...

May 24, 2022 No Comments READ MORE +

What is the transaction limit for the number of records per DML statement?

What is the transaction limit for the number of records per DML statement?A . 5,000B . 20,000C . 50,000D . 10,000E . There is no limitView AnswerAnswer: D

May 4, 2022 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. The CalloutUtil. makeRestCallout fails with a 'You have uncommitted work pending. Please commit or rollback before calling out' error . What should be done...

May 4, 2022 No Comments READ MORE +

During the order of execution of a Visualforce page GET request, what happens after this step? Evaluate constructors on controllers and extensions

During the order of execution of a Visualforce page GET request, what happens after this step? Evaluate constructors on controllers and extensionsA . Evaluate constructors and expressions on custom componentsB . Create view state if <apex: form> existsC . Send the HTML response to the browserD . Evaluate expressions, action...

May 3, 2022 No Comments READ MORE +

Which method should be used to convert a Date to a String in the current user's locale?

Which method should be used to convert a Date to a String in the current user's locale?A . Date.formatB . Date.parseC . String.formatD . String. valueOfView AnswerAnswer: D

May 3, 2022 No Comments READ MORE +