Forget me not

Being able to log in to Google is great. But do you really want to do that for every event, every time? Didn't think so. Let's fire up that clicking finger and do some administrative overhauls in the UI. First stop, Users. Perform the following steps:

  1. Click on the Setup link at the top-right of the Force.com GUI.
  2. Under the Customize section, click on Users (these are not in alphabetical order).
  3. Click on Fields.
  4. In the User Custom Fields section, click on the New button.
  5. Create two Text fields, 255 characters in length, and one Email, as follows:

    Google Email (e-mail)

    Google Access Token (text)

    Google Refresh Token (text)

You might be asking yourself, why a Google Email field? Why not just use the user's e-mail? It's a valid question, but ...

Get Learning Apex Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.