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...

March 26, 2020 No Comments READ MORE +

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...

March 25, 2020 No Comments READ MORE +

Which type of relationship should an administrator use to ensure that expense line items can be aggregated?

Universal Containers wants to track expense reports and expense line items. Values from expense line item records need to be aggregated and displayed on the expense record. Which type of relationship should an administrator use to ensure that expense line items can be aggregated?A . HierarchicalB . Master-detailC . LookupD...

March 25, 2020 No Comments READ MORE +

What would allow Universal Containers to switch vendors without updating the code to handle authentication?

Universal Containers wants to use an external Web Service provided by a third-party vendor to validate that shipping and billing addresses are correct. The current vendor uses basic password authentication, but Universal Containers might switch to a different vendor who uses OAuth. What would allow Universal Containers to switch vendors...

March 25, 2020 No Comments READ MORE +

Which three pieces of information must be supplied to the IDE during this process?

An administrator has initiated the process of deploying changes from a sandbox to the production environment using the Force.com IDE. Which three pieces of information must be supplied to the IDE during this process? (Choose three.)A . The username and password of the destination environmentB . The related change set...

March 24, 2020 No Comments READ MORE +

Which scenario necessitates that the callout be made in an @future method?

A developer is writing code that requires making callouts to an external web service. Which scenario necessitates that the callout be made in an @future method?A . The callouts will be made in an Apex Trigger.B . The callouts will be made in an Apex Test class.C . The callout...

March 24, 2020 No Comments READ MORE +

In which two ways can this be accomplished with Salesforce?

Universal Containers wants to allow its customers to submit support requests across multiple channels. In which two ways can this be accomplished with Salesforce? (Choose two.)A . Expose the case feeds option on the company’s website.B . Offer a Chat button on the company website.C . Enable Chatter Questions in...

March 24, 2020 No Comments READ MORE +

Which component should be added to the Visualforce page to display the message?

A custom Visualforce controller calls the ApexPages.addMessage() method, but no messages are rendering on the page. Which component should be added to the Visualforce page to display the message?A . <apex:message for="info"/>B . <apex:facet name="messages" />C . <apex:pageMessage severity="info" />D . <apex:pageMessages />View AnswerAnswer: D

March 23, 2020 No Comments READ MORE +

What are three capabilities of Collaborative Forecasting? (Choose three.)

What are three capabilities of Collaborative Forecasting? (Choose three.)A . Rename categoriesB . Forecast using opportunity splitsC . Overlay quotaD . Add categoriesE . Select a default forecast currency settingView AnswerAnswer: ABE

March 23, 2020 No Comments READ MORE +

Which strategy can a developer use to improve the performance?

A Visualforce page loads slowly due to the large amount of data it displays. Which strategy can a developer use to improve the performance?A . Use JavaScript to move data processing to the browser instead of the controller.B . Use the transient keyword for the List variables used in the...

March 23, 2020 No Comments READ MORE +