GOOGLE CALENDAR setup

Hi
I’ve been battling this issue ALL DAY.
SuiteCRM has a nice feature in the user module that allows a creation of a URL, of the user’s CRM calendar, that will sync (one-way) to Google calendar. Great. First it needs a “publish key” I looked everywhere for how to get one, and finally realized the open field meant CREATE PUBLISH KEY. ( ps…Would be nice to have a button that says generate the URL and server location, next to it.)

So it created the “ical” URL and I go to google calendar, add the calendar, and add the url that Suite just generated.
and that’s where the fun ends. Google calendar says “cannot parse calendar”. So I’m stuck. Any ideas ?
(Potentially an issue : I’m hosting SUITECRM on a deluxe hosting plan, on a linux server with godaddy)

Help!!!

Hi Mike,

There are known issues with the newest version of SugarCRM and iCal. I see you have found relevant topics here on the forums. There isn’t currently a solution to this.

Thanks,

Will.

Thank You.
As you can appreciate, it’s not helpful to be in the dark on it, and I appreciate that it is not your area.
But…could you maybe make some ALTERNATE suggestions…perhaps a paid module?

I have the same issue when import calendar from Suitecrm to google calendar, iCal format. Installed version suitecrm 7.0.1 in debian linux 6.0.4, the problem: " \n\r" are visibles, that is why Google calendar says “cannot parse calendar”.
I modify the file /modules/vCals/vCal.php:


    /**
     * this function takes an iCal array and converts it to iCal string while following RFC rules
     */
    public static function create_ical_string_from_array($ical_array)
    {
        $str = "";
        foreach ($ical_array as $ical) {
            $str .= self::fold_ical_lines($ical[0], self::escape_ical_chars($ical[1])) . self::EOL;
        }
        return $str;
    }

to


/**
     * this function takes an iCal array and converts it to iCal string while following RFC rules
     */
    public static function create_ical_string_from_array($ical_array)
    {
        $str = "";
        foreach ($ical_array as $ical) {
            $str .= self::fold_ical_lines($ical[0], $ical[1]) . self::EOL;
        }
        return $str;
    }

After that works fine, not upgrade safe.

1 Like

You rock!!!
it works.
It’s working perfectly when I view it as MONTH…somehow I don’t see Scheduled calls or tasks in SUGAR or GOOGLECALENDAR in the “WEEK” view, but I see it in “MONTH” view…which is great.

Thanks Luis.

Hello Will,

Just installed v7.02 onto my shared hosting and planning t migrate my SugarCRM before realising you have an issue with Google Cal integration. Any timeline on when this can be fixed?

Regards,
Calvin