TeeZee™ TimeZones for Salesforce Configuration Guide

How to Set Up

  1. Install TeeZee from the AppExchange into Salesforce
  2. Get a Google Maps API Key (https://developers.google.com/maps/documentation/timezone/get-api-key), check the notes here for help
  3. Enable the Key for Geocoding API and Timezone API
  4. Visit https://console.cloud.google.com/project/_/billing/enable to ensure that Google Cloud Billing is enabled
  5. In Salesforce, go to Setup | Custom Settings | Timezone Public and press the Manage button
  6. Edit the Custom Setting called Timezone App and paste your API key (note that this is just the key, not the full URL) into the Google API Key field
  7. Check the checkboxes Active TimeZone Callout and Active Offset Update

After making the setup changes, you can

  • Add TeeZee custom fields to Classic Page Layouts for Leads, Accounts and Contacts
  • Add the TeeZee Component to Lightning Record Pages for Leads, Accounts and Contacts
  • Allocate TeeZee licenses and Permission Sets to any user that would like to interact with the app

How To Use

TeeZee works as follows:

  • When a user creates or updates a standard address field on either a Lead, Account or Contact record, TeeZee will ask Google for the timezone for the new or updated address.
  • On a Lead record, the address fields monitored are
    • Street
    • City
    • State
    • PostalCode
    • Country
  • On a Contact record, the address fields monitored are
    • Mailing Street
    • Mailing City
    • Mailing State
    • Mailing PostalCode
    • Mailing Country
    • Other Street
    • Other City
    • Other State
    • Other PostalCode
    • Other Country
  • On an Account record, the address fields monitored are
    • Billing Street
    • Billing City
    • Billing State
    • Billing PostalCode
    • Billing Country
    • Shipping Street
    • Shipping City
    • Shipping State
    • Shipping PostalCode
    • Shipping Country
  • After receiving the timezone of the relevant address, TeeZee will ascertain the offset from GMT for that timezone and display this in the lightning component.
  • If you are not using Lightning, the field Local Time Now is available to place on a Classic Page Layout

Advanced Administrator Technical Information

The following information will be useful for your System Administrator in maintaining TeeZee in your salesforce organisation

  • Each user who would like to interact with TeeZee requires a license. You should allocate these licenses from Setup | Installed Packages and press the Manage Licenses link next to TeeZee app. If you require more licenses, please contact help@crmappslab.com
  • To comply with security best practices, we recommend installing the app for System Administrators only and then applying a Permission Set to any user who requires access. The TeeZee Viewer permission set is included with the app and provides access to all user-facing elements (fields and components)
  • The custom setting checkbox for Active TimeZone Callout triggers a background callout from Salesforce to Google Maps API using your key whenever an address field changes on a Lead, Contact or Account record. This will populate the relevant TimeZone ID for the address on the record.
  • The custom setting checkbox for Active Offset Update updates the relevant TimeZone GMT Offset for the address on the record with the current offset from GMT for the specified TimeZone ID. You may find it useful to refresh records when transitioning to/from daylight savings.
  • The app custom field called Local Time Now is a formula field that displays the local time based on the offset contained within the TimeZone GMT Offset field.
  • If you wish to perform a bulk edit/save operation on current Lead/Account/Contact records, check out our Record Refresher app. Note that because TeeZee has callouts to Google, you will need to set the Batch/Bulk Size to 1, not 200.