Question 121

A user receives the generic "An internal server error has occurred" while interacting with a custom Lightning Component.
What should the developer do to ensure a more meaningful message?
  • Question 122

    global with sharing class MyRemoter {
    public String accountName { get; set; }
    public static Account account { get; set; }
    public AccountRemoter() {}
    @RemoteAction
    global static Account getAccount(String accountName) {
    account = [SELECT Id, Name, NumberOfEmployees
    FROM Account WHERE Name = :accountName];
    return account;
    }
    }
    Consider the Apex class above that defines a RemoteAction used on a Visualforce search page.
    Which code snippet will assert that the remote action returned the correct Account?
    Account a = controller.getAccount('TestAccount');
  • Question 123

    What Salesforce tool lets you deploy/retrieve metadata, check status of apex jobs, and check responses of REST calls?
  • Question 124

    A company wants to create a dynamic survey that navigates users through a different series of questions based on their previous responses.
    What is the recommended solution to meet this requirement?