[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 9124
  • Last Modified:

Add an Outlook calendar event from a link on a web page.

is it possible to have a simple link on a web page that when clicked will add a calendar event to the users Outlook calendar?
0
Tom Ray
Asked:
Tom Ray
2 Solutions
 
Scott BennettCommented:
no, it is not possible to do with a simple text link. if it is possible at all you would have to write an activex component or something.
0
 
zeroxpCommented:
it is possible if the web application have access to the exchange server, the MS Office library should be able to insert messages. but that is not really a 'Simple' link, a lot more happens in the backend.

alternatively you can let the client download an ics file (iCalendar file) as a workaround and let the user add the event with the ics file. the downside is Outlook still not fully support the ics format
0
 
Tom RayAuthor Commented:
we do a weekly e-newsletter for a large company and they just want to be able to drop in calendar events for their readers. we've been trying for two years to have the e-newsletter housed internally at their headquarters and it still hasn't happened, so i really doubt i'd be able to get any kind of access to their exchange server. nor do i want to try at this point.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Scott BennettCommented:
a meeting request is really just a specially formatted email It may be possible to write a script so that when the user clicks on a link or enters their email address in a form you send them and email with the event details. If you have the programming capability of setting the email headers and formatting the even request you can probably do this.
0
 
zeroxpCommented:
if the backend access to exchange is not practical maybe try the ics file. user have to save the event to their calendar after receive this file. this is the spec for the format: http://tools.ietf.org/html/rfc2445

and here is a simple example of it:

BEGIN:VCALENDAR
PRODID:-//Zero Inc.//ZeroSoft//EN
VERSION:2.0
METHOD:PUBLISH
BEGIN:VEVENT
DTSTART:20070705T140000Z
DTEND:20070705T141500Z
LOCATION:A New Street A New Suburb
UID:4aa43ad4-97dc-4c67-824f-f354ca97a63d20070803T0054235833834Z
DTSTAMP:20070803T005423Z
DESCRIPTION:Topic:ABC\nOrganiser:Bob\nTest:abcd efgh.
SUMMARY:A Current Event
CATEGORIES:Company Event
PRIORITY:3
END:VEVENT
END:VCALENDAR
0
 
baboaCommented:
How should this .ics file be generated?
0
 
zeroxpCommented:
this ics file is a plain text format, so you can edit it with any kind of text editor.

if you are going to generate it on the fly you have to use some kind of script to fill in the details(start, end, description, summary, location, etc.) and then write the content as a text file, and save with the .ics extension.

and then send the file to browser with a link or button click event.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now