Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var contacts = ContactsApp.getContactsByName('John Doe');
- var homeAddress = contacts[0].getAddresses(ContactsApp.Field.HOME_ADDRESS);
- Logger.log(homeAddress[0].getAddress());
- TypeError: Cannot call method "getAddress" of undefined
Add Comment
Please, Sign In to add comment