You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Tuesday, September 21st 2004, 7:59pm

kaddressbook ldif import question

i have several ldif address lists. using mdk10.0, kde 3.2. when i import my lists i seem to
only have the option of importing to one giant list and then, by hand, assigning each
entry to a category. is there a way i can directly import these various lists to its own
category?

for example, if i have an ldif file 'friends.ldif', and another 'family.ldif', can i import each to
its own category without having to bring them both into a single long list and then, one
by one, assign each to either the family or friends category? i find that once i bring things
into a longer list i oft lose track of which category they were supposed to be assigned to.
that's why i had them saved as separate files. obviously 'family' is pretty easy to figure
out but some 'contacts' and their subcategories can get hard to remember.

would be nice if i could simply choose the family filter when i import and have the import
go straight to that categorization. what is the easiest way to accomplish this with
kaddressbook?

thanks,
babag

vdicarlo

Beginner

Posts: 24

Location: Sacramento, CA

Occupation: Lawyer

  • Send private message

2

Saturday, October 1st 2005, 2:39am

RE: kaddressbook ldif import question

I thought I had already posted a generally discouraging post about this, but can't find it on the boards yet. Anyway, I've found a partially satisfying answer on the KDE bug tracking site at

http://bugs.kde.org/

You can in fact select multiple records and add them all to a category. You select records in your address book with Edit > Select All or Ctrl-A. You can select a range by holding the shift key then clicking the first and last record in the range, and you can select a group of records one by one by holding the Ctrl key and clicking each one.

Once they are selected, the contacts can all be added to a category with Edit > Select Category.

This means (after backing up):

1. You can delete all the contacts in your book, then import a group, assign it to a category, then export it. IMPORTANT: use vCard 3.0 format to export. If you use LDIF you will lose the category information. Then you can clean out your address book, and do the same thing for each of your other groups. Finally, you reimport them all into an empty address book from the vCard backups.

2. You can select a group of records using a filter, then select all or a subgroup and assign it to a category.

Once you have a category, you can use it to define other categories (all records except those in certain categories, or a combination of categories). Then you can use the categories to make distribution lists.

Maybe there's some good documenation on this, but I didn't find it after an hour or so of looking.