Skip to main content
Known Participant
September 9, 2009
Question

ical - send event to outlook calendar

  • September 9, 2009
  • 1 reply
  • 2290 views

I have a cold fusion event page that data comes from database it has a title – event description – start date - end date

I need to have a button beside each event that user push that button and event goes to user's calendar in outlook. I think I can use ical but not sure how. Is there anybody can help I really appreciate it.

Thanks,

    This topic has been closed for replies.

    1 reply

    davidsimms
    Inspiring
    September 9, 2009

    1. Create and save an event in Outlook.

    2. Open that event and go File > Save As to save it to your desktop in the .ics format.

    3. Open the saved file in Notepad to view the code.

    Now that you've seen what the behind-the-scenes files look like that make up the events in Outlook, you need only to use ColdFusion to create one of these files. You'll also want to place:

    <CFHEADER NAME="Content-Disposition" VALUE="inline; filename=events.vcs">
    <CFCONTENT TYPE="text/x-vcalendar">

    at the start of the CF template that creates these files.