Naming Variables and Get ( ) Functions

  • All the data we just pulled using the “getRecordById” function is stored in the contactRecord variable
  • So, using a “Get” function, we can query any information from within that Contact record

The general form is:

your_new_variable_name = existing_variable_name.get(“Field_API”);

where your_new_variable_name is the name we give that piece of data we are querying and existing_variable_name is the name of the entire record we queried in the first two lines

JSON VIEWER