You need to sign in to do that
Don't have an account?
Francesco Guarino
Free tool to Sync Salesforce events with Outlook or Google Calendar
Hi all,
I'm in a big trouble trying to find such a tool. Anyone knows a tool or a workaroud to do that? The only thing I've thinked is using a trigger when an event is created that does somithing to emule sending an invite, like this:
If no tool is available, is there a way to automate this process? Thanks!
I'm in a big trouble trying to find such a tool. Anyone knows a tool or a workaroud to do that? The only thing I've thinked is using a trigger when an event is created that does somithing to emule sending an invite, like this:
public class SendEmail { public String sendTo { get; set; } public String Subject { get; set; } public Event objEvent{get;set;} public SendEmail() {} public sendInvite() { Messaging.SingleEmailMessage mail = new Messaging.SingleEmailMessage(); String[] toAddresses = new String[] {sendTo}; mail.setToAddresses(toAddresses); mail.setSubject(Subject); mail.setPlainTextBody(''); Messaging.EmailFileAttachment attach = new Messaging.EmailFileAttachment(); attach.filename = 'meeting.ics'; attach.ContentType = 'text/calendar;'; attach.inline = true; attach.body = invite(); mail.setFileAttachments(new Messaging.EmailFileAttachment[] {attach}); Messaging.SendEmailResult[] er = Messaging.sendEmail(new Messaging.Email[] {mail}); return null; } private Blob invite() { String txtInvite = ''; txtInvite += 'BEGIN:VCALENDAR\n'; txtInvite += 'PRODID:-//Microsoft Corporation//Outlook 12.0 MIMEDIR//EN\n'; txtInvite += 'VERSION:2.0\n'; txtInvite += 'METHOD:PUBLISH\n'; txtInvite += 'X-MS-OLK-FORCEINSPECTOROPEN:TRUE\n'; txtInvite += 'BEGIN:VEVENT\n'; txtInvite += 'CLASS:PUBLIC\n'; txtInvite += 'CREATED:20150709T083709Z\n'; txtInvite += 'DTEND:20150709T010000Z\n'; txtInvite += 'DTSTAMP:20150708T203709Z\n'; txtInvite += 'DTSTART:20150709T000000Z\n'; txtInvite += 'LAST-MODIFIED:20150708T203709Z\n'; txtInvite += 'LOCATION:Online\n'; txtInvite += 'PRIORITY:5\n'; txtInvite += 'SEQUENCE:0\n'; txtInvite += 'SUMMARY;'; txtInvite += 'LANGUAGE=en-us:Meeting\n'; txtInvite += 'TRANSP:OPAQUE\n'; txtInvite += 'UID:4036587160834EA4AE7848CBD028D1D200000000000000000000000000000000\n'; txtInvite += 'X-ALT-DESC;FMTTYPE=text/html:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"><HTML><HEAD><META NAME="Generator" CONTENT="MS Exchange Server version 08.00.0681.000"><TITLE></TITLE></HEAD><BODY><!-- Converted from text/plain format --></BODY></HTML>\n'; txtInvite += 'X-MICROSOFT-CDO-BUSYSTATUS:BUSY\n'; txtInvite += 'X-MICROSOFT-CDO-IMPORTANCE:1\n'; txtInvite += 'END:VEVENT\n'; txtInvite += 'END:VCALENDAR'; return Blob.valueOf(txtInvite); } }
If no tool is available, is there a way to automate this process? Thanks!
Please refer below article for Syncing Events with Salesforce for Outlook | Salesforce.
https://help.salesforce.com/HTViewHelpDoc?id=outlookcrm_sync_events.htm&language=en_US
And also see AppExchange for free APPs.
https://appexchange.salesforce.com/category/email-calendar
Hope this helps you!
Please accept my solution as Best Answer if my reply was helpful. It will make it available for other as the proper solution. If you felt I went above and beyond, you can give me kudos.
Thanks and Regards
Sandhya