Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Users

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-16-2008, 07:51 AM
New Member
 
Posts: 3
Thumbs up [SOLVED]Zimbra Can't/Won't recognize .ics file as valid

Well DUH . . . if you have events with no times right at the beginning of the list of events . . of COURSE the entire .ics file is going to fail . . . . remove broken events and everything is just fine . . . note to self -- pay closer attention!

Howdy . . . having a problem getting zimbra to recognize (guessing it is more a can't than won't ) an .ics file as a valid calendar . . . . the .ics is created dynamically (coldfusion/oracle) based on a user profile. . . . the error message rec'd is:

Appointments could not be retrieved. Make sure the following URL is a valid ICAL feed: http://cfdevws01.imt.uwm.edu/employe...1-mabraham.ics

Any assistance would be greatly appreciated!

oh yeah. . .whoops . . forgot to include the code that creates the file content . . sheesh . . . . here it is:

<cfsavecontent variable="calendar">BEGIN:VCALENDAR
METHOD:PUBLISH
VERSION:2.0
PRODID:Zimbra-Calendar-Provider
<cfoutput query="everyprofileevents">BEGIN:VEVENT
SEQUENCE:1
UID:#url.personid#-#eventid#-mydev.uwm.edu
SUMMARY:#eventtitle#
LOCATION:#eventlocation#
DTSTART:#dateformat(realdate,'yyyymmdd')#T#timefor mat(starts,'HHmmss')#
DTEND:#dateformat(realdate,'yyyymmdd')#T#timeforma t(end,'HHmmss')#
STATUS:CONFIRMED
CLASS:PUBLIC
URL:http://mydevelopment.uwm.edu/longvie...ntid=#eventid#
END:VEVENT
</cfoutput>END:VCALENDAR
</cfsavecontent>

<cflock name="calendar_#url.personid#" timeout="20">

<!--- and then here .. generate scheduled task to auto update the calendar -- daily/weekly . .whatever the answer ends up being from S Premeau ---><cffile action="write"
file="/var/www/html/employeedev/calendars/#url.personid#-#myprofile.username#.ics"
output="#calendar#">

</cflock>

Thank you!

Last edited by opusmyhero; 05-21-2008 at 12:23 PM.. Reason: SOLVED
Reply With Quote
  #2 (permalink)  
Old 05-21-2008, 11:05 AM
Outstanding Member
 
Posts: 684
Default

The file will manually import into a Zimbra calendar. This indicates to me that the .ics file is valid.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.