NS8 with Nextcloud / Contacts.
Hello,
we imported addresses via vCard file from a SQL database. But now we need a solution to UPDATE this addresses, at example if there is a new phone number at an existing address.
We thought the field REVISION is the way to select, which dates are the newer one.
But our tests without luck …
Is there a solution to update an address ???
vCard line is:
There are a lot of open issues about contacts import, see also GitHub · Where software is built
You could remove and recreate the addressbook and import all contacts again.
I found a script, maybe it’s of help, there’s also an explanation how to update a contact:
YOU NEED TO GET THE UID OF THE CONTACT AND INSERT IT IN THE URL PATH TO MODIFY AN OLD CONTACT
Thanks,
we hope, that the script works in Nethserver8 too. We need some time to test…
It looks a little bit complicated.
We thought there is an error in our timestamp field or
we need a special option in one of the config files.
Thanks,
… we will try it after the import test.
But there we found a special german problem: äüöß
We tested import with some handmade “normal” addresses, but if we export all 500 addresses from SQL database and convert it to vCard file, we found, that only the last step of nextcloud import changed äöüß to <?><?><?><?> !!!
We tried that in GUI of NC/Contacts > import VCF
We found no solution, tried different codepages, but no solution
Yes, I red this yesterday, tried it, but no effect in my environment…
We need a resolution to change the vCard file to UTF-8 IN A Windows batch file.
Something like chcp UTF-8 or so … don’t find the correct codepage.
Perhaps it is better to open a new topic ?
OK, that i know.
I took Geany editor to change to UTF-8, but we need an “automatic” for our scripts (adr.SQL or csv2vcf-convert.CMD). It’s the last convert problem of 12 others we could solve.
Sorry, I know this is not a nethserver/nextcloud problem …