+ Start a Discussion
NatalieNatalie 

How could I make a button that creates an Outlook calendar appointment from details on a salesforce record?

Here is my example. I create a training record and send an email out to users to register, they login and register for the class, but they would like to have this event saved on their calendar. I want them to be able to click a button and it would open up a calendar appointment and they would be able to save the event on their Outlook calendar.
Sonam_SFDCSonam_SFDC
Hi Natalie,

I suppose you can try the approach of sending a visualforce email template to the user on click of the button such that it can use the fields of the record and send a mail with .ics attachment which recipients can add to their calendar:

Check the sample code on the link below:
https://developer.salesforce.com/forums?id=906F000000099BKIAY
Trail head 40Trail head 40
Hi Sonam,
When event is created along with document attachment send "outlook calender invite" as an attachment to the user who is creating the event

Thanks
Trail head 40Trail head 40
Hi Sonam,
Can you help for this fallowing scenario?
When event is created along with document attachment send "outlook calender invite" as an attachment to the user who is creating the event

Thanks