Two-way sync for SuiteCRM Calendar to Google Calendar

Ok, I spoke too soon. It shows if I look at my user profile from the admin account but it doesn’t show when I look from my actual user accnt. I think I understand why that is the case since it’s not actually configured…so at least I have some hope… Let me try this some more and see what’s happening here…

I think I found the solution for me. I didn’t have the config_override.php file on the system. I created a blank one and then the json uploaded just fine and I was able to authorize.

This may be why I was unable to get the log to change to logging ERROR. Not sure on that but don’t really care at this point as my calendar’s working.

Am I supposed to be seeing my Google Calendar events on my SuiteCRM calendar? I’m getting them from SuiteCRM–>Google but not vice versa. Just wondering if I’m seeing what is expected behavior or not.

Any events you add to the ā€˜SuiteCRM’ calendar on Google should be synced back. The most common mistake users make is adding new events to their Default calendar instead of the one named ā€˜SuiteCRM’.

That was it. Thanks. Everything appears to be working 100%.

I was able to successfully sync the google calendar. It authorized and created the suitecrm calendar. But, now all of the ical, vcal, google. etc integrations are blank. But, I can create a meeting in suitecrm it saves and shows.

Any idea what I should be doing?

Hi,

I’m trying to synchronize my google calendar with my suiteCRM calendar. It’s working except that all meetings are duplicated (not updated) in my SuiteCRM calendar every time the synchronization takes place. So, I can have the exact same meeting (same day, same time) 10 times (and even more…). Note that on the Google side, it’s OK (I created a ā€œSuiteCRMā€ calendar in Google.)

SuiteCRM Version: 7.11.3 on Windows machine using SQL.

Any idea?

Thanks.

@louise.lalonde, did you resolve this? Are you using the Calendar app on a Mac?

@stephenmchugh: No: not solved yet. No replies at all. I’m using Windows machine.

Perhaps related, perhaps not, but I had very strange behaviour when using the Calendar app on a Mac, synced to my Google calendar. Editing a synced calendar item resulted in hundreds (literally) of updates being sent to each invitee until I closed the Calendar app. I haven’t had time to investigate the cause and I daren’t open the Calendar app!

I am currently on this topic facing an issue which is most probably easy to solve. After setting up the Google settings with the .json I am running into a problem with the redirect when clicking on Authenticate for any user. My redirect goes to: http://127.0.0.1/index.php?entryPoint=saveGoogleApiKey&getnew while it should go to my domain instead of my internal tcp i guess. I am using the docker following this blog post with only minor changes. https://medium.com/@cashboxcash/suitecrm-docker-compose-letsencrypt-e93034141ea7 Its a general proxy setup, so I guess there must be somewhere the problem but I couldn’t figure out so far how to change the setup to make the redirects work. I appreciate any further help. My logs didn’t really help but I will try to post some more interesting logs shortly.

Have a look at your config.php, there are two settings that should be checked (I don’t have the specific names in mind, something like ā€œsite_urlā€ and ā€œhostā€/ā€œhost_nameā€). Usually, URLs generated by suite refer to these values.

1 Like

Thanks for your fast reply. Really cheered me up after a frustrating day :smile: The options are ā€œsite_urlā€ and ā€œhost_nameā€. I set them to https://myurl.com and myurl.com. Now the sync is working. Now I try to figure out how to change my docker to adapt the settings automatically.

1 Like

Yes, It is possible.
Follow the Step:

  1. I log-in to the SuiteCRM.
  2. Go to profile then advanced tab.
  3. then I copy the iCal integration URL.
  4. paste it on the Add by URL in Other Calendars using the Google Calendar
    Or
    You Can Check out here: https://store.outrightcrm.com/blog/google-calendar-api-how-to-find-api-key-for-google-calendar/

@mubashirahmed

Please don’t zombie post especially with an advertisement.

As seen above we ask you to contribute to the conversion with a meaningful full response providing a free angle to the solution before advertising paid for works.

Post locked!