Question 91

A developer has a VF 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?
  • Question 92

    What can be used to override the Account's standard Edit button for Lightning Experience?
  • Question 93

    Given the following trigger implementation:
    trigger leadTrigger on Lead (before update){
    final ID BUSINESS_RECORDTYPEID = '012500000009Qad';
    for(Lead thisLead : Trigger.new){
    if(thisLead.Company != null && thisLead.RecordTypeId != BUSINESS_RECORDTYPEID){ thisLead.RecordTypeId = BUSINESS_RECORDTYPEID;
    }
    }
    }
    The developer receives deployment errors every time a deployment is attempted from Sandbox to Production.
    What should the developer do to ensure a successful deployment?
  • Question 94

    Which process automation should be used to send an outbound message without using Apex code?
  • Question 95

    A Next Best Action strategy uses an Enhance Element that invokes an Apex method to determine a discount level for a Contact, based on a number of factors. What is the correct definition of the Apex method?