[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [libkgapi] [Bug 313336] Akonadi Google resource does not synchronize custom (date) fields
From:       Karol Slanina <karol.slanina () gmail ! com>
Date:       2013-01-16 7:51:33
Message-ID: bug-313336-17878-0Hf3P54M3j () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=313336

--- Comment #2 from Karol Slanina <karol.slanina@gmail.com> ---
Addressbook and KABC::Addressee do support such custom fields (at least in
local vcard-based collections such as Personal Contacts or old KDE Address
Book).

You can add a custom date field, e.g. Nameday in the 'Custom Fields' tab.
Kaddressbook asks for the name, key and value of the given field. By default
some random-generated UUID is provided as the key, but it can be changed to be
the same as the name. In the vcard file, the custom field is stored as follows:
"X-KADDRESSBOOK-<key>:2000-05-20", e.g. "X-KADDRESSBOOK-Nameday:2000-05-20"

KABC::Addressee supports such fields, you can get them by calling
kabcAddressee.custom("KADDRESSBOOK", key);
and they are also provided in the stringlist provided by
kabcAddressee.customs().

By the way, in a similar way also anniversaries are supported. As a custom
field key, "X-Anniversary" is used, both in the vcard file as well as in the
kabcAddressee.custom(). This way it works even in the Akonadi Google resource.

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic