Which type of controller is best suited when you want to add custom functionality to a standard controller page, or when you want reusable functionality throughout pages?
Which type of controller is best suited when you want to add custom functionality to a standard controller page, or when you want reusable functionality throughout pages?A . Standard ControllerB . Standard List/Set ControllerC . Controller ExtensionsD . Custom ControllerView AnswerAnswer: C
What is the optimal way to implement this?
A Visualforce page contains an industry select list and displays a table of Accounts that have a matching value in their Industry field. <apex:selectList value="{!selectedIndustry}"> <apex:selectOptions values="{!industries}"/> </apex:selectList> When a user changes the value in the industry select list, the table of Accounts should be automatically updated to show the...
Assuming there were 10 Contacts and five Accounts created today, what is the expected result?
Given the following code: Assuming there were 10 Contacts and five Accounts created today, what is the expected result?A . System. QueryException: List has more than one row after Assignment on Account.B . System. LimitException: To many SOQL Queries on Account.C . System. QueryException: To many DML Statement errors on...
What is the transaction limit on the max execution time?
What is the transaction limit on the max execution time?A . 5 minutesB . 10 minutesC . 15 minutesD . 20 minutesE . There is no limitView AnswerAnswer: B
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 from...
What should be considered in order to do this?
A developer wants to use an Aura Component with a Custom Action. What should be considered in order to do this?A . A default value must be provided for each component attribute marked as required.B . The component must implement the force:lightningQuickActionButton interface.C . The component's JavaScript controller must handle...
How might a developer accomplish this requirement?
A developer needs to create a service that will process an email sent to it and create an account and contact using the contents of the email as data for the records. How might a developer accomplish this requirement?A . Use the Apex Inbound Email HandlerB . Use the Fuel...
What is the optimal way to fix this?
The test method above calls an @future method that increments the Number_of_Times_Viewed__c value. The assertion is failing because the Number_of_Times_Viewed__c equals 0. @isTest static void testIncrement() { Account acct = new Account(Name = 'Test'); acct.Number_Of_Times_Viewed__c = 0; insert acct; AuditUtil.incrementViewed(acct.Id); Account acctAfter = [SELECT Number_Of_Times_Viewed__c FROM Account WHERE Id =...
Within the System.Limit class, what would you call to get the number of calls made in your transaction?
Within the System.Limit class, what would you call to get the number of calls made in your transaction?A . get [typeOfLimit] ―> (Ex. getDXLStaterr.ents () )B . getLimit [typeOf Limit] ―> (Ex. getLirr.it DXLSt at err.ents () )View AnswerAnswer: A
What is the best way to display field-level error messages in Lightning?
What is the best way to display field-level error messages in Lightning?A . ukinputDefaultErrorB . ukoutputTextC . auraxomponentD . apex:messageView AnswerAnswer: A