Hello,
I am still building up my tool chest to deal with calenders (under the
hood of a web application). One thing I wanted to do is to start over
with a calendar. I could delete the calendar by sending a DELETE to the
calendar url (.../username/home) but then I couldn't recreate an empty
calendar. I tried to PUT the ICS data of another empty calendar to the
url I deleted befor but it didn't work, I had to recreate the calendar
with the admin interface.
First I would like to know if it is possible to delete and recreate a
calendar with a (Cal-)DAV command or do I have to delete every single
entry to get a fresh and empty calendar?
Second, I was surprised that I could delete the calendar at all because
at that time I did not have a
$c->readonly_webdav_collections = false;
setting in my config file, so I would expect it to be readonly and _not_
deletable. But even after I added this setting I was still not able to
recreate the calendar.
-Michael
I am still building up my tool chest to deal with calenders (under the
hood of a web application). One thing I wanted to do is to start over
with a calendar. I could delete the calendar by sending a DELETE to the
calendar url (.../username/home) but then I couldn't recreate an empty
calendar. I tried to PUT the ICS data of another empty calendar to the
url I deleted befor but it didn't work, I had to recreate the calendar
with the admin interface.
First I would like to know if it is possible to delete and recreate a
calendar with a (Cal-)DAV command or do I have to delete every single
entry to get a fresh and empty calendar?
Second, I was surprised that I could delete the calendar at all because
at that time I did not have a
$c->readonly_webdav_collections = false;
setting in my config file, so I would expect it to be readonly and _not_
deletable. But even after I added this setting I was still not able to
recreate the calendar.
-Michael