Sync Customer Name with Google Calendar

113 views
Skip to first unread message

Craig Tucker

unread,
Feb 16, 2015, 1:17:39 AM2/16/15
to easy-app...@googlegroups.com
I am starting to use the Google Calendar Sync and see that the customer email is synced but not the name.  I am trying to figure this out.  Any tips for me?  
I am looking in appointments.php and google.php.  Are other files involved?

Craig Tucker

unread,
Feb 16, 2015, 2:17:01 AM2/16/15
to easy-app...@googlegroups.com
libraries\google_sync.php lines 124-136 all appear in order however, no first and last name is showing up in the google callendar for my client's, just the email.  
On the other hand, the provider first and last names are present. So, something appears to have been missed.

Craig Tucker

unread,
Feb 16, 2015, 4:13:10 PM2/16/15
to easy-app...@googlegroups.com
I am now seeing that this is a Google Calendar issue.  The Guest Name is showing up as the email and not the person's name.  Now the quest is to get it to show the name and not the email address.  I have tried turning on the Labs feature:Who's my one-on-one with?  and still just email is showing.  So, not an EA code issue.

Craig Tucker

unread,
Feb 16, 2015, 5:51:25 PM2/16/15
to easy-app...@googlegroups.com
Now I am seeing that it is a known "bug" or feature with Google Calendar.
https://code.google.com/a/google.com/p/apps-api-issues/issues/detail?id=1402

It was supposed to be fixed with version 3
https://developers.google.com/google-apps/calendar/v3/reference/events#attendees.displayName

It is still an issue.  Apparently it is addressed grammatically.  For EA I am thinking setDisplayName should tell Google Calendar to show the name instead of an email address.  I see that "attendees[].displayName"  is an optional command in the absence there of the email is displayed.  All I am getting is email addresses. So, now it is looking like it may be a coding issue again.  I have learned that an exception to this is if the attendee is a registered gmail user.  In that case the gmail user's name will show up.

This is a problem because if I see fluff...@yahoo.com I have no idea who this client is and cannot prepare for them.  So, I will continue trying to figure this one out.

Craig Tucker

unread,
Feb 17, 2015, 11:00:08 AM2/17/15
to easy-app...@googlegroups.com
I am not seeing any work around for this pragmatically.  I see others complaining about the same issue:
https://groups.google.com/forum/#!searchin/google-calendar-api/setDisplayName

This is very frustrating because if you forward the appointment to another calendar (outlook) the name appears, so the google server is not stripping the name.  Also, the ICS file that is sent to me when I make an update contains the name.  And, apparently this was not a problem prior to 2009.  This is not supposed to be a problem if the creator is a registered google account but that also is apparently a little buggy.

So, I think adding the name of the creator of the event to the description field may be one solution for Google Calendar.
Reply all
Reply to author
Forward
0 new messages