Tom Ray
asked on
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?
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.
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
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
ASKER
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
How should this .ics file be generated?
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.
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.