Exchange of experiences / Erfahrungsaustausch / Get Help
You are not logged in.
It's now possible to make a 2-Way-Sync between Outlook and WebCalendar 1.2.0 by WebDAV!
Note: For WebCalendar versions up to 1.0.5, I offer a special sync patch!
See http://ical.gutentag.ch/forum/viewtopic.php?id=58
The configuration of iCal4OL is complex, so here a ZIP archive with the necessary settings and a patch for WebCalendar 1.2.0 in it:
webcal120.ini => iCal4OL configuration file
xcal.php => Replace the existing file under ../WebCalendar/includes/
without this patch:
- Attendee changes are not uploaded
- Moved/modified exceptions of recurring events are not supported
(You must deactivate the option for uploading exceptions, if you do not install this patch!)
After starting iCal4OL, you first have to load webcal120.ini with the button [Load configuration],
then change on tab...
Who
-> Your Name (same as in WebCalendar)
-> Email used in WebCalendar
-> Your Timezone
1. How
-> correct URL to your (test) environment (http://www.example.com/WebCalendar-1.2.0/icalclient.php)
-> Credentials: Login+Pw
2. How
-> correct URL to your (test) environment (http://www.example.com/WebCalendar-1.2.0/icalclient.php)
-> Credentials: Login+Pw
Save the configuration (best as "Default.ini", or with button "Save configuration as..." on tab [Start] - otherwise you have to load it manually for the next run again...).
Please note:
- It's configured to add missing attendee emails automatically to the contact folder (see tab "1.1 More")
[X] Add attendees to a Contact folder and link them with event
Attendees are added to the field "Links:" (Contacts/Kontakte)
(on tab "Options" you may want to use/activate the Outlook tab for "event scheduling"... please read doc)
- It will upload [X] only New, Modified or Items from other Import file,
otherwise newer modified events in WebCalendar 1.2.0 would be overwritten.
- They are "reset to unchanged" with [X] Mark items like they were imported by previous ICAL Import/Subscription
on tab [2.1 More] after an upload (because, they will be in the download feed at next sync).
Read doc for those two options in the frame "Import related options"..
- Deleted Outlook events (from the "Deleted Items" folder), must be "uploaded", too (they are getting deleted in WebCal):
[X] Deleted as well (for Sync Webcalendar/GCAL) (see tab [2.1 More])
After Upload, you may want to [X] Remove events/tasks permanently from "Deleted Items" folder.
This option is on tab [2.1 More], too.
- In WebCalendar deleted events, are recognized during Upload and moved to the Outlook "Deleted Items" folder.
See tab "Options", under button [Enhanced Support]:
[X] eGW/WebDAV: Mark events not anymore in Import with <Deleted> during Export/Upload
[X] eGW/WebDAV: Remove events, which are marked with <Deleted> after Export/Upload
- At least ONE event must be present in the WebCal Calendar. Otherwise iCal4OL will stop, because "BEGIN:VCALENDAR" is not in the feed!
Test it! Use test accounts, e.g. add a test user and an empty Outlook Calendar first, then select/configure it on "1. How" and "2. How"...
Roland
Last edited by Roland (2008-10-19 07:31:31)
Offline
Guten Tag,
ich habe mir heute die Demo-Version von ICal4OL heruntergeladen, nach den Vorgaben in diesem Thread installiert und ausführlich damit getestet.
Nun ist folgendes Problem aufgetreten:
Werden im Webcalendar Termine eingetragen, diese anschliessend synchronisiert, im Outlook verändert (sei es nun Zeit, Ort oder Beschreibung) und anschliessend wieder mit dem Webcalendar synchronisiert, so wird der veränderte Termin als neuer Termin erkannt und es entstehen 2 Einträge, obwohl es sich ja nur um einen handelt.
Desweiteren ist es so, erstelle ich den Termin im Webcalendar ohne Zeitangabe (also eine Dauer von 0, z.B. 2Uhr bis 2Uhr) wird dieser nach dem oben beschriebenen Vorgang, als Ganztägiger Termin erkannt und entsprechend im Webcalendar eingetragen.
Nun ist die Frage, mache ich etwas falsch, oder handelt es sich hierbei um einen Bug?
Für eine Antwort wäre ich Ihnen sehr dankbar.
Mit freundlichen Grüßen
Katja Herrmann
P.S. Es handelt sich bei meinen Tests um Webcalendar 1.2.0 und Outlook 2007
Offline
Yupp - getestet - so isses... und beides sind Bugs des WebCalendars.
Beim Export müsste der Termin durch WebCal in eine spezielle interne Tabelle gespeichert werden, damit die alte Version dann beim Import entfernt werden kann.
Ich hatte leider nur mit neuen Outlook-Terminen getestet. Dh. diese werden neu hochgeladen, und dann beim 2ten Mal sieht die Importroutine in der speziellen Tabelle, dass schon mal importiert - und löscht die "alte" Version des Termines... so werden Dubletten vermieden.
Dies klappt also momentan erst beim 2ten Hochladen eines "ehemaligen" WebCalendar-Termines.
Auch der 2te Bug kann ich bestätigen - war mir auch nicht bekannt... (Arbeite nachwievor mit 1.05)
Ich werde es anschauen - und dann hier einen speziellen Patch veröffentlichen, welcher diese 2 Probleme stopft.
Schätzungsweise am Wochenende ist es soweit...
Freundliche Grüsse
Roland
Offline
Schon gelöst ![]()
Der Export machte bereits richtigerweise einen Eintrag für Re-Import, aber die UID des Termines wurde beim Import falsch aufgelöst, so dass dann der Servername nicht mehr Bestandteil war, sofern eine Portadresse in der URL steht (zb. http:/rock:8080/WebCalendar/..)
(Also kleiner "Regular Expression" Bug mit grosser Wirkung - und somit der alte Termin nicht gefunden und überschrieben werden konnte).
Der Import-Test auf Ganztagestermine in WebCal 1.2.0 ist leider falsch.
Ich habe mal diesen Bug (Dauer=0) entfernt.
Diese Routine in 1.2.0 - im Gegensatz zu meinem Patch für 1.0.5 - kann keine Mehrtagestermine korrekt auflösen (umwandeln in Serie) - nebst anderen Problemen und Einschränkungen.
Also, die ganz oben angegebene ZIP-Datei nochmals herunterladen und dann xcal.php unter \include ersetzen gehen...
Beide Korrekturen haben einen Kommentar "ROLAND".... also danach suchen, falls in PHP interessiert.
Roland
Last edited by Roland (2009-01-14 21:47:29)
Offline
Vielen Dank für die schnelle Reaktion.
Ich werde es gleich testen und anschliessend Feedback geben :-)
Viele Grüße
Katja Herrmann
Offline