[Help] Automaticly adding anniversaries to birthday calendar

After the initial sync of my outlook contacts into nextcloud, a “birthday calendar” has been created automaticly.
This is a nice feature, since I am using this calendar a lot in outlook.
But I created a second date at my contacts called “anniversary”, which I had also linked into my outlook calendar.
The data has been synced to nextcloud - but this anniversary dates will not appear at the birthday calender nor will there an additional “anniversary calendar”.

Is it possible to have the one or the other thing happen automaticly?

Thanks

Dirk

Hello!

The task is done automatically if you properly set your cron job.
You can also trigger it with an occ command.
https://docs.nextcloud.com/server/stable/admin_manual/configuration_server/background_jobs_configuration.html?highlight=cron
https://docs.nextcloud.com/server/stable/admin_manual/configuration_server/occ_command.html?highlight=birthday#dav-commands

Birthdays are synced correct. This happend “out of the box” during the first import and each time, I add a new contact.

But we do use also the anniversary-Field at Outlook.
And this one is not synced into the Birthday-Calendar…

Could you post a vcard example of an outlook created contact with an anniversary field set here please? :slight_smile:
It should be the same property as Birthday, just different terminology :wink:

I attached the vcard to my webspace:
TestSecondContactname.vcf.

Here its content:

`BEGIN:VCARD
VERSION:2.1
N;LANGUAGE=de:Contactname;Test;Second;Herr
FN:Herr Test Second Contactname
ORG:Testcompany
X-MS-OL-DEFAULT-POSTAL-ADDRESS:0
BDAY:19700218
X-MS-ANNIVERSARY:19721014
EMAIL;PREF;INTERNET:contactname@testcompany.com
X-MS-CARDPICTURE;TYPE=JPEG;ENCODING=BASE64:
/9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQY
GBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYa
KCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAAR
CACUACcDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAA
AgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJ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/Q0Ubz3AP4UUATp9xvwpj/fb60UUARnrRRRQAyiiigD/
2Q==

X-MS-OL-DESIGN;CHARSET=utf-8:
X-MS-SPOUSE:Emma
REV:20190302T123315Z
END:VCARD
`

We just have found out, that “SPOUSE” seems to be not synced into nextcloud too…

THIS is a big issue for us!

Is there any way to handle this?

Thanks
Dirk

I created a V3 Type VCF-File containing aniversary and Spouse to add it manually into nextcloud - and these Information are not visible on the contact.

item1.X-ABDATE:1997-10-13
item1.X-ABLABEL:$!!$
item2.X-ABRELATEDNAMES:Kerstin MĂĽller
item2.X-ABLABEL:$!!$

So: Are they stored in the database at all?

If you export the imported vcf file again you should see all fields which are not displayed in the Contacts app too. But you have used custom and NOT standardized fields! Check out the CardDAV RFC to find out how correct fields should look like in a vcf file.

After Importing an V3 VCF-File and exporting it from nextcloud, I found no difference but in the style the date-fields are written
(19650325 vs 1965-03-25).

The “Item” Fields are all there…

So it seems, that these fields are not synced by caldav syncronizer.
Meanwhile I found a switch, so the anniversary IS synced now.

Missing the spouse…

1 Like

Are not supported yet, see opened github issues.


As there is no feedback since a while I will close this ticket. If this is still happening please make sure to upgrade to the latest version. After that, feel free to reopen.