function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Pierre Crouzet 10Pierre Crouzet 10 

Aura Lightning Component Integration with Gmail

Hi everyone,
The Salesforce Gmail integration is no more working with the clients:hasEventContext interface when using aura component, since this week it doesn't fill the start and end field anymore on the dates object.
Does anyone experience the same issue and find a solution ?
The standard Log event is still working and event are created with dates.
Regards,
Pierre
Best Answer chosen by Pierre Crouzet 10
SwethaSwetha (Salesforce Developers) 
Update: The salesforce product team has filed an internal bug #W-13554887 and it has got fixed. The cause for this behavior is identified as the changes that Google is making to Google Calendar. 

Please mark the answer as best to close the thread so it can help others too.

Thank you
Swetha Maddali
Senior Support Engineer
Salesforce.com

All Answers

SwethaSwetha (Salesforce Developers) 
Hi Pierre,
Are you saying that this isn't working post-Summer'23 release?Also are you referring to start and end "dates"? Does it work fine with fine in Outlook integration? 

Thanks
 
Pierre Crouzet 10Pierre Crouzet 10
Hi Swetha,
This was working well beginning of last week on both sandbox and production environement.
From console log I can get the most of the information using the clients:hasEventContext, clients:hasItemContext and clients:availableForMailAppAppPage interfaces from my Aura component
I unfortunately don't have access to outlook to try the integration.

Looking at the log the "dates" is empty instead of fill with start and end like previously, not sure if the changes is coming from Google api or Salesforce Gmail Integration but the interface does not work anymore as described here (https://developer.salesforce.com/docs/component-library/bundle/clients:hasEventContext/documentation)

{
    "subject": "Salesforce Gmail Integration",
    "textBody": "please join",
    "id": "_65h36e9l6go3gbb5c4p32b9k60o6abb26gsj2b9h6srm4ohp74r3ap1o6s",
    "people": {
        "requiredAttendees": [
            {
                "name": "Pierre Doe",
                "email": "pierre.doe@xxxx.tv",
                "attendance": "awaiting",
                "type": "required"
            }
        ],
        "organizer": {}
    },
    "emails": [],
    "invitees": [],
    "dates": {},
    "location": "https://salesforce.webex.com/salesforce/j.php?MTID=m43670b72bcd2a92e9c401a0ab0dddc26"
}
SwethaSwetha (Salesforce Developers) 
Got your point! I did come across this scenario in the past and it was identified as a Gmail Compatibility bug. I've reached out to our Salesforce Product team on this behavior for inputs and will let you know as I hear back

Thank you 
Swetha Maddali
Senior Support Engineer
Salesforce.com
SwethaSwetha (Salesforce Developers) 
Update: The salesforce product team has filed an internal bug #W-13554887 and it has got fixed. The cause for this behavior is identified as the changes that Google is making to Google Calendar. 

Please mark the answer as best to close the thread so it can help others too.

Thank you
Swetha Maddali
Senior Support Engineer
Salesforce.com
This was selected as the best answer
David_90 davDavid_90 dav
Thanks
Martin LefevreMartin Lefevre
This bug was fixed ad unfortunately cam back yesterday, we exactly have the same behaviour
the "dates" is empty instead of filled in with start and end like previously
Martin
bard thombard thom
This bug was fixed ad unfortunately came back yesterday, we exactly have the same behaviour
the "dates" is empty instead of filled in with start and end like previously
Martin chatib (https://chatib.onl/) ometv (https://ome-tvs.com/)