Connect. Communicate. Collaborate. Securely.

Home » Developer Zone » API/SDK Writers » Choose Directory for Creating VCards (I can't change the directory my VCards are created in)
  •  
Xaserx8

Messages: 17
Karma: 0
Send a private message to this user
Hello Community/Developers,

I have the following issue.

I wrote an application which reads out personal information from an SQL-Server and creates Contacts based on that information in the Kerio-Web-Server.

To do that I use the "CalDAV/CardDAV Connector for Kerio Connect"-API from
https://github.com/Kerio/cdav-connector

My problem is that the AddVCard-Method of the HTTPSConnection alway creates VCards/Contacts in the default "Contacts" directory and I don't see a way to change that.

I don't have this problem with VEvents.
I changed the AddVEvent-Method so I can define a Calendar in which to create an entry.
I get the calendars with the HTTPSConnection.GetCalendars-Method so i can read aut their names and other properties.

The only difference between VCards stored in different directories, as far as I could find out, is the part of the ETag that stands before the filename. But this is a hex-value and it seems i can only read them out.

Is there a way to define another directory?
I would prefere a solution where you can define the directory via a string(directory-name) if that's possible.

Another thing would be the public directories which I can't use at all.
Is there a path for public-directories and can i use any account that's allowed to write into these or should one use the admin login?

I would be really thankful for your help



P.S.: Another problem I have and couldn't solve yet: http://forums.kerio.com/t/25193//
Would be great if you take a look.
Previous Topic: KerioOutlookConnector with CalDAV/CardDAV Connector
Next Topic: Trigger on new or update user
Goto Forum:
  


Disclaimer:
Kerio discussion forums are intended for open communication between forum members and may contain information and material posted by members which may be useful in learning about Kerio products. The discussion forums are not intended to provide technical support for any specific product. Any information implied or expressed in the discussion forums is that of the posting member. Kerio is in no way responsible for the information posted in the forums, or its accuracy. Kerio employees may participate in the discussions, but their postings do not represent an offical position of the company on any issues raised or discussed. Kerio reserves the right to monitor and maintain the forums to promote free and accurate exchange of information.

Current Time: Sun Sep 24 01:38:18 CEST 2017

Total time taken to generate the page: 0.00405 seconds
.:: Contact :: Home ::.
Powered by: FUDforum 3.0.4.