Results 1 to 6 of 6

Thread: Bulk Contact Change

  1. #1
    Join Date
    Mar 2008
    Location
    Canada
    Posts
    148
    Rep Power
    7

    Default Bulk Contact Change

    Greetings.

    I've just setup a bunch of new users on Zimbra and the first user has imported their contacts. They want to display contacts by Company Name then First/Last Name. The only way we can see to do this is to one by one go through the thousands of contacts and edit them individually.

    Of course, that's insane... no one has that kind of time. There must be another way to set this - I just can't seem to find it in searching the site. Anyone done this?

  2. #2
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    11

    Default

    there is a handy utility that can manipulate just about anything in a person's account called zmmailbox.

    Zmmailbox - Zimbra :: Wiki

    you could write a script that would use zmmailbox to loop through all the contacts and modify that. and it won't hurt to get familiar wtih it since it's a very handy tool

  3. #3
    Join Date
    Mar 2008
    Location
    Canada
    Posts
    148
    Rep Power
    7

    Default

    Assuming it is this:

    modifyContactAttrs(mcta) [opts] {contact-id} [attr1 value1 [attr2 value2...]]

    That's great... but how do I find out what I need to modify and how not to screw it up.

    This is really something that would be best served via GUI... since it's the end users that will want/need this functionality.

  4. #4
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    11

    Default

    if you do

    zmmailbox -z -m <account> gact

    you'll see htat each contact has an id. then you can run

    zmmailbox -z -m <account> gct <id>

    and you'll see all the attribute names that the person has filled out. empty ones won't show, so if you're curious what one is called just fill it in for a test user or something. the one you're looking for i think is fileAs which is a number that corresponds to one of he options.

  5. #5
    Join Date
    May 2006
    Location
    London, UK
    Posts
    181
    Rep Power
    9

    Default

    Not sure if this will help:

    Contact Organizer | Zimbra :: Gallery

    It's not ideal, but it may help with the example you gave...

    But I agree, there should be a better way to bulk-edit contacts; perhaps a useful method would be a simple way of exporting contacts as csv so they can be bulk-edited in a spreadsheet program, and then reimporting them; but asking Zimbra to replace the existing contacts with the imports.

    It's currently possible at present, but it would mess up the contact photographs for example... and probably wouldn't end up the same. The existing contacts would all have to be deleted before re-importing the contacts.
    Last edited by storm; 12-08-2010 at 03:51 PM.

  6. #6
    Join Date
    May 2006
    Location
    London, UK
    Posts
    181
    Rep Power
    9

    Default

    Further to my last message, it seems that neither will tags (seemingly) re-import back into Zimbra.

Similar Threads

  1. Change Default Contact Display Fields
    By skullbolix in forum Administrators
    Replies: 3
    Last Post: 02-26-2010, 01:24 AM
  2. change default add contact fields
    By kristian.penno in forum Administrators
    Replies: 0
    Last Post: 10-07-2009, 09:45 PM
  3. Bulk change of Contact File As
    By sgrzy01 in forum Administrators
    Replies: 3
    Last Post: 04-15-2009, 05:27 PM
  4. Bulk Change of Contact Data
    By PS-Man in forum General Questions
    Replies: 4
    Last Post: 10-28-2008, 09:47 PM
  5. change user contact informations
    By dent in forum Administrators
    Replies: 1
    Last Post: 03-01-2006, 09:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •