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

Posted on 2007-07-31
Last Modified: 2012-06-21
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?
Question by:sibgig
    LVL 14

    Expert Comment

    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.
    LVL 5

    Expert Comment

    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
    LVL 11

    Author Comment

    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.
    LVL 14

    Accepted Solution

    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.
    LVL 5

    Assisted Solution

    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:

    and here is a simple example of it:

    PRODID:-//Zero Inc.//ZeroSoft//EN
    LOCATION:A New Street A New Suburb
    DESCRIPTION:Topic:ABC\nOrganiser:Bob\nTest:abcd efgh.
    SUMMARY:A Current Event
    CATEGORIES:Company Event

    Expert Comment

    How should this .ics file be generated?
    LVL 5

    Expert Comment

    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.

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Join & Write a Comment

    Thoughout my experience working on eCommerce web applications I have seen applications succumbing to increased user demand and throughput. With increased loads the response times started to spike, which leads to user frustration and lost sales. I ha…
    Introduction A frequently used term in Object-Oriented design is "SOLID" which is a mnemonic acronym that covers five principles of OO design.  These principles do not stand alone; there is interplay among them.  And they are not laws, merely princ…
    The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
    The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now