Which technique can run logic when an Aura Component is loaded?
Which technique can run logic when an Aura Component is loaded? A. Use an aura:handler ‘init’’ event to call a function. B. Use the connectedCallback(0 method. C. Use the standard doinit function in the controller. D. Call $A. enqueueAction passing in the method to call.View AnswerAnswer: A
Which asynchronous feature should be used?
A developer has been asked to create code that will meet the following requirements: Receives input of: Map<ld, Project_c), List<Account> Performs a potentially long-running callout to an outside web service Provides a way to confirm that the process executed successfully Which asynchronous feature should be used?A . ©future (callout=true)B ....
Which are relevant practices while analyzing the timeline of different types of transactions in the execution overview panel? (Choose two.)
Which are relevant practices while analyzing the timeline of different types of transactions in the execution overview panel? (Choose two.)A . Log lines in the execution log panel can be analyzed for details about specific eventsB . The performance tree should be use to analyze events further starting from the...
What is the recommended mechanism the developer should use to accomplish this?
A developer is writing a Visualforce page to display a list of all of the checkbox fields found on a custom object. What is the recommended mechanism the developer should use to accomplish this?A . Schema ClassB . Apex APIC . Schema BuilderD . Metadata APIView AnswerAnswer: A
What is the transaction limit on the max timeout for all callouts?
What is the transaction limit on the max timeout for all callouts?A . 120 secondsB . 60 secondsC . 120 seconds (synchronous); 200 seconds (async)D . 60 seconds (synchronous); 200 seconds (asyncE . There is no limitView AnswerAnswer: A
What is wrong with it?
Line 1 public class AttributeTypes Line 2 { Line 3 private final String[] arrayItems; Line 4 Line 5 @AuraEnabled Line 6 public List<String> getStringArray() { Line 7 Strings+ arrayItems = new String*+, 'red', 'green', 'blue' -; Line 8 return arrayItems; Line 9 } Line 10 } Consider the Apex controller...
How can this be accomplished?
A developer wants to create a Visualforce page that allows a user to search for a given account by Name. If the account is found, the account details should be populated on screen. If no account is found, an error message should be displayed to the user. How can this...
How can the developer meet these requirements?
A developer must create a custom pagination solution for accessing approximately 2000 records and displaying 50 records on each page. Data from Salesforce will be accessed via an API and not via Apex. How can the developer meet these requirements? (Choose two.)A . Use a StandardSetControllerB . Use CURSOR 50...
What may have caused this problem?
A developer creates an application event that has triggered an infinite loop . What may have caused this problem?A . The event has multiple handlers registered in the project.B . The event handler calls a trigger.C . An event is fired ontouchend" and is unhandled.D . The event Is fired...
What is the optimal method to implement this?
A company processes Orders within their Salesforce instance. When an Order's status changes to 'Paid' it must notify the company's order management system (OMS). The OMS exposes SOAP web service endpoints to listen for when to retrieve the data from Salesforce . What is the optimal method to implement this?A...