ok i have been playing with the code.
but i get an error every time i submit to my own app..
error in outlook
Could not import Vcalendar File.
any ideas.
<!--- Outlook Calendar Event Form Page --->
<fieldset>
<legend>Microsoft Outlook Calendar Event Downloader</legend>
<form action="ThankYou2.cfm/events.vcs" method="post">
<!--- Microsoft Outlook Calendar Event Downloader --->
<INPUT TYPE="hidden" NAME="CalendarID"
VALUE="<CFOUTPUT>#FORM.CalendarID#</CFOUTPUT>">
<input type="submit" value="Add to Calendar">
</div>
</form>
</fieldset>
<!--- /Outlook Calendar Event Form Page --->
<!--- Outlook Calendar Event Action Page --->
<cfquery name="OutlookAdd" datasource="edu">
SELECT tbl_Calendar.CalendarID, tbl_Calendar.Calendar_Date,
tbl_Calendar.Calendar_Time, tbl_Calendar.Calendar_Notes,
tbl_Calendar.RoomID, tbl_Calendar.InstructorID, tbl_Calendar.ContactID,
tbl_Calendar.ClassID, tbl_Calendar.ProgramID, tbl_Class.ClassID,
tbl_Class.ClassTitle, tbl_Program.ProgramID, tbl_Program.ProgramLink,
tbl_Room.RoomID, tbl_Room.RoomName
FROM tbl_Calendar, tbl_Class, tbl_Program, tbl_Room
WHERE CalendarID = #FORM.CalendarID#
AND tbl_Class.ClassID = tbl_Calendar.ClassID
AND tbl_Program.ProgramID = tbl_Calendar.ProgramID
AND tbl_Room.RoomID = tbl_Calendar.RoomID
ORDER BY Calendar_Date ASC, Calendar_Time ASC
</cfquery>
<!--- vcalendar --->
<CFCONTENT type="unknown">
<CF_VCALENDAR
startdate =
"#dateformat(OutlookAdd.Calendar_Date)#"
durationhours="1"
starttime="#timeformat(OutlookAdd.Calendar_Time,"HH:mm")#"
title="#OutlookAdd.ClassTitle#"
description="#OutlookAdd.ClassDescription#"
location="#OutlookAdd.RoomName#"
uid="Calendar -
#OutlookAdd.CalendarID#">
<!--- /Outlook Calendar Event Action Page --->
any help would be great!
-paul
Web Developer, NBBJ
Work: [EMAIL PROTECTED]
614 241-3534
fax: 614 485-5534
Home: [EMAIL PROTECTED]
614 449-1681
> icq: 47658358
-----Original Message-----
From: Dave Watts [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 27, 2001 9:40 AM
To: '[EMAIL PROTECTED]'
Cc: '[EMAIL PROTECTED]'
Subject: RE: cfugmay2000 :: VCalendar :: Outlook :: & permission to use
> hello all.
> i found some code i must have grabbed from some cfug zip for may
> 2000. it has a neat vcalendar to insert instances from a db into
> your outlook calendar.
>
> just wanted to know if there are more examples like this.
> Also if i can modify the code for my own use in local Intranet
> apps"?
>
> if you know who did this i would appreciate the contact so i can
> ask permission to use. also if you have other examples of CF
> integrating with outlook, i would love to see it.
If you're talking about the vCalendar/iCalendar/vCard example from the DC
CFUG sponsored by Fig Leaf Software, you're free to use the code however you
like. Fig Leaf Software has always released source code shown at CFUGs for
public use. Enjoy!
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists