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 two statements are valid considerations when using merged?
A company has been adding data to Salesforce and has not done a good Job of limiting the creation of duplicate Lead records. The developer is considering writing an Apex process to identify duplicates and merge the records together. Which two statements are valid considerations when using merged? Choose 2...
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...
Which Apex class contains methods to return the amount of resources that have been used for a particular governor, such as the number of DML statements?
Which Apex class contains methods to return the amount of resources that have been used for a particular governor, such as the number of DML statements?A . ExceptionB . MessagingC . OrgLimitsD . LimitsView AnswerAnswer: D
A developer has the following requirements:
A developer has the following requirements: • Calculate the total amount on an Order. • Calculate the line amount for each Line Item based on quantity selected and price. • Move Line Items to a different Order if a Line Item is not in stock. Which relationship implementation supports these...
When using SalesforceDX, what does a developer need to enable to create and manage scratch orgs?
When using SalesforceDX, what does a developer need to enable to create and manage scratch orgs?A . ProductionB . Dev HubC . Environment HubD . SandboxView AnswerAnswer: B Explanation: https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_scratch_orgs.htm When using SalesforceDX, a developer needs to enable Dev Hub in order to create and manage scratch orgs. A Dev...
Which approach should a developer take to ensure calculateBodyFat() is accessible outside the package namespace?
Cloud Kicks Fitness, an ISV Salesforce partner, is developing a managed package application. One of the application modules allows the user to calculate body fat using the Apex class, BodyFat, and its method, calculateBodyFat(). The product owner wants to ensure this method is accessible by the consumer of the application...
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...
What is the value of the count field if an Account is inserted with an initial value of zero, assuming no other automation logic is implemented on the Account?
A developer writes a trigger on the Account object on the before update event that increments a count field. A workflow rule also increments the count field every time that an Account is created or updated. The field update in the workflow rule is configured to not re-evaluate workflow rules....
What should the developer do to ensure the data is available to the test?
A developer needs to have records with specific field values in order to test a new Apex class. What should the developer do to ensure the data is available to the test?A . Use Anonymous Apex to create the required data.B . Use Test.loadData < > and reference a CSV...