What should be done to address the problem?
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...
Which option has the correct component changes to display correctly on desktops and tablets?
Refer to the component code above. The information displays as expected (in three rows) on a mobile device. However, the information is not displaying as desired (in a single row) on a desktop or tablet. Which option has the correct component changes to display correctly on desktops and tablets?A ....
Which code snippet will assert that the remote action returned the correct Account?
Consider the Apex class above that defines a RemoteAction used on a Visualforce search page. global with sharing class MyRemoter { public String accountName { get; set; } public static Account account { get; set; } public AccountRemoter() {} @RemoteAction global static Account getAccount(String accountName) { account = [SELECT Id,...
Which solution solves these requirements?
Universal Containers wants to use a Customer Community with Customer Community Plus licenses so their customers can track how many containers they are renting and when they are due back. Many of their customers are global companies with complex Account hierarchies, representing various departments within the same organization. One of...
What is the optimal way to update the Accounts from the external system?
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?A ....
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: C
What is the optimal method for a developer to troubleshoot this?
An Apex trigger creates an Order__c record every time an Opportunity is won by a Sales Rep. Recently the trigger is creating two orders. What is the optimal method for a developer to troubleshoot this?A . Set up debug logging for every Sales Rep, then monitor the logs for errors...
What is one way in which the integration can stay near real-time, but not exceed the number of allowed API calls in a 24-hour period?
Recently a Salesforce org's integration failed because it exceeded the number of allowed API calls in a 24-hour period. The integration handles a near real-time, complex insertion of data into Salesforce. The flow of data is as follows: - The integration looks up Contact records with a given email address...
Following best practices, what should a developer use to meet this requirement?
A company wants to implement a new call center process for handling customer service calls. It requires service reps to ask for the caller’s account number before proceeding with the rest of their call script. Following best practices, what should a developer use to meet this requirement?A . Apex TriggerB...
What is the optimal solution?
Sometimes events on Salesforce need to be handled by an external system due to the scale or type of process being executed. Consider the use case of a user in Salesforce needing to get pricing for an order they are building in Salesforce while on the phone with a customer....