Which three should be considered for building out the business logic layer of the application?
A developer of Universal Containers is tasked with implementing a new Salesforce application that must be able to by their company's Salesforce administrator. Which three should be considered for building out the business logic layer of the application? Choose 3 answersA . WorkflowsB . validation RulesC . Process BuilderD ....
Which technique should be implemented to avoid reaching the governor limit?
A developer must modify the following code snippet to prevent the number of SOQL queries issued from exceeding the platform governor limit. public class without sharing OpportunityService( public static List<OpportunityLineItem> getOpportunityProducts(Set<Id> opportunityIds){ List<OpportunitylineItem> oppLineItems = new List<OpportunityLineItem>(); for(Id thisOppId : opportunityIds){ oppLineItems.addAll([Select Id FROM OpportunityLineItems WHERE OpportunityId = :thisOppId)]; }...
How can the developer make sure that validation rule violations are displayed?
A developer has a Visualforce page and custom controller to save Account records. The developer wants to display any validation rule violation to the user. How can the developer make sure that validation rule violations are displayed?A . Add cuatom controller attributes to display the message.B . Include <apex:message> on...
Which three features satisfy this use case?
A developer wants to invoke on outbound message when a record meets a specific criteria. Which three features satisfy this use case? Choose 3 answerA . Approval Process has the capacity to check the record criteria and send an outbound message without Apex CodeB . Process builder can be used...
Why did the test method fail in the sandbox and pass in the Developer Console?
A developer observes that an Apex test method fails in the Sandbox. To identify the issue, the developer copies the code inside the test method and executes it via the Execute Anonymous tool in the Developer Console. The code then executes with no exceptions or errors. Why did the test...
What are three considerations when using the @InvocableMethod annotation in Apex? Choose 3 answers
What are three considerations when using the @InvocableMethod annotation in Apex? Choose 3 answersA . A method using the @InvocableMethod annotation must define a return value.B . A method using the @InvocableMethod annotation can have multiple input parameters.C . A method using the @InvocableMethod annotation must be declared as staticD...
= theAccount.Type; } } Visualforce page snippet: The Account Type is {!actType} The value of the account type field is not being displayed correctly on the page. Assuming the custom controller is property referenced on the Visualforce page, what should the developer do to correct the problem?
A developer created a Visualforce page and custom controller to display the account type field as shown below. Custom controller code: public class customCtrlr{ private Account theAccount; public String actType; public customCtrlr() { theAccount = [SELECT Id, Type FROM Account WHERE Id = :apexPages.currentPage().getParameters().get('id')]; actType = theAccount.Type; } } Visualforce...
How does the Lightning Component framework help developers implement solutions faster?
How does the Lightning Component framework help developers implement solutions faster?A . By providing an Agile process with default stepsB . By providing code review standards and processesC . By providing device-awareness for mobile and desktopsD . By providing change history and version controlView AnswerAnswer: C
What are two characteristics of declarative development over programmatic customization?
Universal Containers wants to assess the advantages of declarative development versus programmatic customization for specific use cases in its Salesforce implementation. What are two characteristics of declarative development over programmatic customization? Choose 2 answersA . Declarative development has higher design limits and query limits.B . Declarative development can be done...
How can the developer find the current user's default record type?
A developer is creating a page that allows users to create multiple Opportunities. The developer is asked to verify the current user's default } | Opportunity record type, and set certain default values based on the record type before inserting the record. i, J Calculator How can the developer find...