Hi everybody,
I just set up DAViCal + infcloud and most things are working fine so far. But I can't get infcloud to display more than the default address book. The preview at https://www.inf-it.com/infcloud/ looked like multiple address books and even groups are supported, but I can't get none of them working. Is there anything I could be missing?
regards, Silvio
Hi,
there is no such thing as "default address book". InfCloud by default displays ALL YOUR addressbooks (addressbooks of the logged user) + all vCard groups for displayed addressbooks (note: you cannot create vCard groups directly in InfCloud; use an Apple client to create them).
If you want to display other users' addressbooks you need to set proper privileges in DAViCal (an keep the delegation functionality enabled in InfCloud).
Cheers,
JM
On 22 Oct 2015, at 11:23, Silvio Ankermann sankermann@gmail.com wrote:
Hi everybody,
I just set up DAViCal + infcloud and most things are working fine so far. But I can't get infcloud to display more than the default address book. The preview at https://www.inf-it.com/infcloud/ looked like multiple address books and even groups are supported, but I can't get none of them working. Is there anything I could be missing?
regards, Silvio
Hi,
by "default address book" I meant the one that was created automatically by DAViCal when creating the account. All other address books I created manually through the DAViCal web interface are not displayed by infcloud. However, CardDAV-Sync for Android syncs them without any problems. How does infcloud discover the address books? How can I imitate its behavior with curl?
Cheers, Silvio Hi,
there is no such thing as "default address book". InfCloud by default displays ALL YOUR addressbooks (addressbooks of the logged user) + all vCard groups for displayed addressbooks (note: you cannot create vCard groups directly in InfCloud; use an Apple client to create them).
If you want to display other users' addressbooks you need to set proper privileges in DAViCal (an keep the delegation functionality enabled in InfCloud).
Cheers,
JM
On 22 Oct 2015, at 11:23, Silvio Ankermann sankermann@gmail.com wrote:
Hi everybody,
I just set up DAViCal + infcloud and most things are working fine so far. But I can't get infcloud to display more than the default address book. The preview at https://www.inf-it.com/infcloud/ looked like multiple address books and even groups are supported, but I can't get none of them working. Is there anything I could be missing?
regards, Silvio
Hi,
sorry for the late response but currently I am extremely busy. Addressbook detection is very simple:
Request:
PROPFIND /caldav.php/test%40inf-it.com/
<?xml version="1.0" encoding="utf-8"?><D:propfind xmlns:D="DAV:"><D:prop><D:current-user-privilege-set/><D:displayname/><D:supportedlock/><D:resourcetype/><D:supported-report-set/><D:sync-token/><A:calendar-color xmlns:A="http://apple.com/ns/ical/%22/%3E<I:headervalue xmlns:I="http://inf-it.com/ns/dav/%22/%3E<I:addressbook-color xmlns:I="http://inf-it.com/ns/ab/%22/%3E<L:supported-calendar-component-set xmlns:L="urn:ietf:params:xml:ns:caldav"/><R:max-image-size xmlns:R="urn:ietf:params:xml:ns:carddav"/></D:prop></D:propfind>
Response (see the red sections: <resourcetype><collection/>C1:addressbook/</resourcetype>); in short - if something is collection and also addressbook then it is displayed in the interface:
<?xml version="1.0" encoding="utf-8" ?> <multistatus xmlns="DAV:" xmlns:A="http://apple.com/ns/ical/" xmlns:I="http://inf-it.com/ns/dav/" xmlns:I1="http://inf-it.com/ns/ab/" xmlns:C="urn:ietf:params:xml:ns:caldav" xmlns:C1="urn:ietf:params:xml:ns:carddav" xmlns:C2="http://calendarserver.org/ns/"> <response> <href>/caldav.php/test%40inf-it.com/</href> <propstat> <prop> ... <displayname>Test User</displayname> ... <resourcetype> <collection/> <principal/> </resourcetype> ... </prop> <status>HTTP/1.1 200 OK</status> </propstat> ... </response> <response> <href>/caldav.php/test%40inf-it.com/colleagues/</href> <propstat> <prop> ... <displayname>Colleagues</displayname> ... <resourcetype> <collection/> C1:addressbook/ </resourcetype> ... </prop> <status>HTTP/1.1 200 OK</status> </propstat> </response> <response> <href>/caldav.php/test%40inf-it.com/friends/</href> <propstat> ... <displayname>Friends</displayname> ... <resourcetype> <collection/> C1:addressbook/ </resourcetype> ... </prop> <status>HTTP/1.1 200 OK</status> </propstat> </response> </multistatus>
Cheers,
JM
On 24 Oct 2015, at 18:10, Silvio Ankermann sankermann@gmail.com wrote:
Hi,
by "default address book" I meant the one that was created automatically by DAViCal when creating the account. All other address books I created manually through the DAViCal web interface are not displayed by infcloud. However, CardDAV-Sync for Android syncs them without any problems. How does infcloud discover the address books? How can I imitate its behavior with curl?
Cheers, Silvio Hi,
there is no such thing as "default address book". InfCloud by default displays ALL YOUR addressbooks (addressbooks of the logged user) + all vCard groups for displayed addressbooks (note: you cannot create vCard groups directly in InfCloud; use an Apple client to create them).
If you want to display other users' addressbooks you need to set proper privileges in DAViCal (an keep the delegation functionality enabled in InfCloud).
Cheers,
JM
On 22 Oct 2015, at 11:23, Silvio Ankermann <sankermann@gmail.com mailto:sankermann@gmail.com> wrote:
Hi everybody,
I just set up DAViCal + infcloud and most things are working fine so far. But I can't get infcloud to display more than the default address book. The preview at https://www.inf-it.com/infcloud/ https://www.inf-it.com/infcloud/ looked like multiple address books and even groups are supported, but I can't get none of them working. Is there anything I could be missing?
regards, Silvio