![Thunderbird logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2024-02-12-07-36-53-599028_1.png)
How to get the URL for a specific Label from Google cardDAV to import into Address Book of same Label?
How to get the URL for a specific Label from Google cardDAV to import into Address Book of same Label?
This is the GENERIC url for the DEFAULT gmail contacts sync:
https://www.googleapis.com/carddav/v1/principals/username@gmail.com/lists/default/
Is there a way to customize this URL to get ONLY the LABEL from the entire contacts list?
For Example:
https://www.googleapis.com/carddav/v1/principals/username@gmail.com/lists/default/"labels" https://www.googleapis.com/carddav/v1/principals/username@gmail.com/lists/"labels"/
We spend an inordinate amount of time organizing our business contacts and it is exceedingly difficult and time consuming to try to synchronize because all we can apparently access is the ENTIRE directory, not specific sub-categories.
Solution choisie
The access warnings are standard for most add-ons, and allow the same level of access as TB, which reviews the policies of all add-ons offered on the add-ons site. So I would not regard this as a major security issue, and you're free to pursue other solutions.
Lire cette réponse dans son contexte 👍 0Toutes les réponses (6)
The current built-in CardDAV doesn't support Google labels, but I think the CardBook add-on does.
Thanks. I do see that there are primarily two plug-ins for TB that offer a possible solution (tbsync and cardbook) which are updated to support v115. All other apps (googlecontacts, etc) do not support recent builds.
However, the warning flashed prior to install states that these private developers will have 100% access to our entire hard drive and can run any file in any directory. This is a major security issue.
Hence we were seeking something native and built into TB. Apparently that does not seem to be the case at the moment. And there does not appear to be a way to create organizational lists from the synced Google contacts within Thunderbird - it's just one big data dump of addresses. A major fail.
If we are forced to install these plugins, do you know of a method that can limit these apps to only edit specific folder directories in the Thunderbird fileset?
Solution choisie
The access warnings are standard for most add-ons, and allow the same level of access as TB, which reviews the policies of all add-ons offered on the add-ons site. So I would not regard this as a major security issue, and you're free to pursue other solutions.
While a solution was chosen, it really isn't a secure option.
Further tests with TbSync did not succeed in syncing contacts. Additional plugins were needed to attempt these tests. The Provider for CalDAV & CardDAV did not connect to the server for us, which is what TbSync uses. Google 4 TbSync was another required extension to attempt to get TbSync to work. It required connection fields we could not get from Google.
However, CardBook worked right after install with no additional extensions required. Though, it first pulled every address book from the local TB address books to create it's own copy. We had to go back and manually add the remote link to connect to the google contacts accounts we wanted to manage with synchronization.
This thread will be updated with any new details on the potential CardBook solution.
Thanks to sfhowes for the advice.
Could you describe more explicitly the steps to add the remote link, rather than copy contact details?
Go to Calendar > Create New Calendar > Google Calendar >
Enter the following url, filling in your unique data where needed:
https://www.googleapis.com/carddav/v1/principals/youremail@gmail.com/lists/default/