• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 9138
  • 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 BennettManager TechnologyCommented:
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
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

 
Scott BennettManager TechnologyCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

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