What change In the controller will fix the error?
A Visualforce Page throws an Attempt to dereference a null object error for a Contact . What change In the controller will fix the error?A . Declare a static final Contact at the top of the controller.B . Change the setters signature to return a Contact.C . Use a condition...
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 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...
if the "PageReference.setRedirect" Apex function is set to False, what type of request is made?
if the "PageReference.setRedirect" Apex function is set to False, what type of request is made?A . Get requestB . Postback requestC . If PageReference points to the same controller and subset of extensions, postback request, otherwise get requestView AnswerAnswer: C
What should the developer do to ensure good data quality and to ensure that data imports, integrations, and searches perform well?
A developer needs to design a custom object that will be integrated into a back-end system. What should the developer do to ensure good data quality and to ensure that data imports, integrations, and searches perform well? (Choose two.)A . Configure a custom field as uniqueB . Configure a custom...
Why could the test be failing?
A developer wrote a Visualforce page for Sales Reps to add products to an order. The page takes a URL query parameter, productFamily, which filters the product results. The test method for the filter behavior has an assertion failing due to an incorrect number of results. Why could the test...
What Visualforce tag can be used to display custom messages in pages using the Salesforce Ul styling for errors, warnings, and other types of messages?
What Visualforce tag can be used to display custom messages in pages using the Salesforce Ul styling for errors, warnings, and other types of messages?A . <apex:customMessage>B . <apex:error>C . <apex:message>D . <apex:pageMessage>View AnswerAnswer: D
What LimitException could the following code trigger?
A company requires an external system to be notified whenever an account is updated. What LimitException could the following code trigger?A . System.LimitException: Too many future callsB . System.LimitException: Too many calloutsC . System.LimitException: Too many SOQL queriesD . System.CalloutException: Callout from triggers are currently not supportedView AnswerAnswer: A
How many Territories can an instance of salesforce have?
How many Territories can an instance of salesforce have?A . 400B . 200C . 1000D . 100E . 500View AnswerAnswer: E
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