A company recently deployed a Visualforce page with a custom controller that has a data grid of information about Opportunities in the org. Users report that they receive a "Maximum view state size limit" error message under certain conditions.
According to Visualforce best practice, which three actions should the developer take to reduce the view state? (Choose three.)
A Salesforce developer created a Contact validation rule so that the Email field cannot contain "abc.com." There is an active workflow rule that updates the Email field of a contact record to "[email protected]" if the contact's First Name field contains the word "Test." A customer tries to create a Contact record with the first name "Test Contact" and the email "[email protected]." What behavior will be observed?
Lightning Aura Component
Given the code above, which two changes need to be made in the Apex Controller for the code to work' Choose 2 answers
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 to address the problem?
A company uses an external system to manage its custom account territory assignments. Every quarter, millions of Accounts may be updated in Salesforce with new Owners when the territory assignments are completed in the external system.
What is the optimal way to update the Accounts from the external system?