Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code, and code mixed in with text are shown as follows: A block of code is set as follows:

public class AccountTriggerHandler extends triggerHandler {
  public override void beforeInsert() {
    AccountLib.sanitizeDataForAccounts(Trigger.new);
    ContactLib.createContacts(Trigger.new);
    OpportunityLib.createOpps(Trigger.new);
  }
}

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

global void execute(Database.BatchableContext BC, List<Account> scope) {
  List<Account> toDelete = new List<Account>();
  List<Account> toUpdate = new List<Account>();
  for (Account a : scope) {
    if(a.bad_account__c){
      toDelete.add(a);
    } else {
      toUpdate.add(a);
    }

New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "Another tab in the bottom pane is the Tests tab."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.129.42.134