Connect. Communicate. Collaborate. Securely.

Home » Developer Zone » API/SDK Writers » Edit Date für VCards & VEvents
  •  
Xaserx8

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

I am writing an Application which creates and updates Contacts and Calendars via the Java API which I downloaded from:
https://github.com/Kerio/cdav-connector

My problem here is that I can only request all VCard from an directory or all VEVents from a calendar.

What I need is to get the VCards and VEvents which have been edited or created since a specific date.

If I open the EML-Files, the Property DATE is Part of the Header but i can't read it out with the API since it appears to only read the VCARD/VEVENT part of the file (basically everything except the Header and TIMEZONE for VCards)

Is there a way to get a collection of VCARDS/VEVENTS from the server which all have been edited since a specified date?

I would be grateful for any responses.
If you don't have a solution i would be nice if you could give me a direction where to look.
  •  
macti

Messages: 37
Karma: 3
Send a private message to this user
One solution would be to configure Kerio to show all folders as IMAP, and you will be able to get the .eml files that way. But your users will also see the folders if they use IMAP.

You can get VEVENTs from the edit time. Check the value of DTSTAMP (http://www.kanzaki.com/docs/ical/dtstamp.html) or LAST-MODIFIED (http://www.kanzaki.com/docs/ical/lastModified.html).

Example: http://librelist.com/browser//radicale/2011/11/8/time-range- query-on-last-modified/

I don't think vCard have the same thing.

[Updated on: Fri, 06 June 2014 02:48]

Previous Topic: special characters in calendars not working
Next Topic: Serial number for Control
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: Fri Mar 24 09:12:33 CET 2017

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