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
What is wrong?
Consider the controller code above that is called from a Lightning component and returns data wrapped in a class. Consider the controller code above that is called from a Lightning component and returns data wrapped in a class. The developer verified that the Queries return a single record each and...
Which use case is an appropriate fit for the ©future asynchronous Apex method? (Choose two.)
Which use case is an appropriate fit for the ©future asynchronous Apex method? (Choose two.)A . A developer has jobs that need larger query results than regular transactions allowB . A developer needs to segregate DML operations and bypass the mixed save DML errorC . A developer has long-running jobs...
What is the optimal way to fix this?
The test method above calls a web service that updates an external system with Account information and sets the Account’s Integration_Updated__c checkbox to True when it completes. The test fails to execute and exits with an error: "Methods defined as TestMethod do not support Web service callouts. " What is...
What is a benefit of JavaScript remoting over Visualforce Remote Objects?
What is a benefit of JavaScript remoting over Visualforce Remote Objects?A . Allows for specified re-render targetsB . Does not require any Apex codeC . Does not require any JavaScript codeD . Supports complex server-side application logicView AnswerAnswer: D
What is the optimal technique a developer should use to programmatically retrieve Global Picklist options in a Test Method?
What is the optimal technique a developer should use to programmatically retrieve Global Picklist options in a Test Method?A . Use the Schema namespace.B . Use a static resource.C . Perform a callout to the Metadata APE . Perform a SOQL Query.View AnswerAnswer: A
What is the optimal way to implement this?
A company represents their customers as Accounts in Salesforce. All customers have a unique Customer_Number__c that is unique across all of the company’s systems. They also have a custom Invoice__c object, with a Lookup to Account, to represent invoices that are sent out from their external system. This company wants...