Question 201
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 the optimal method for a developer to troubleshoot this?
What the optimal method for a developer to troubleshoot this?
Question 202
Which is a valid Apex REST Annotation? (Choose two.)
Question 203
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. The pricing logic already exists in a third-party system. Instead of recreating this logic in Salesforce, it will be leveraged by making a request of the third-party system. The response, in this case the pricing, will be returned and stored back in Salesforce. What is the optimal solution?
Question 204
A developer is developing a reusable Aura component that will reside on an sObject Lightning page with the following HTML snippet:
Caura: component implements-"forcethaaRecordid, flexipage:availableForAllPageTypes">
<div>Hello!</div>
</aura:component>
How can the component's controller get the context of the Lightning page that the sobject is an without requiring additional best coverage?
Caura: component implements-"forcethaaRecordid, flexipage:availableForAllPageTypes">
<div>Hello!</div>
</aura:component>
How can the component's controller get the context of the Lightning page that the sobject is an without requiring additional best coverage?
Question 205
A developer has generated Apex code from a WSDL for an external web service. The web service requires Basic authentication. What code should the developer use to authenticate?