Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-02-2009, 03:17 PM
Intermediate Member
 
Posts: 24
Default Bulk change of Contact File As

Is there a way from the cli for a bulk update to set the "File As" attribute in the contact record for all contacts for a user.

Have users that have a mix of firstname/lastname and lastname/firstname and want them all to be the same w/o doing manually

thought to use zmmailbox but can't find an attribute in the schema to do this..

Thanx!
Reply With Quote
  #2 (permalink)  
Old 02-05-2009, 04:59 AM
Intermediate Member
 
Posts: 24
Default

Ack... so there is now way to bulk update a Contact "File As"? I gotta just be missing it....

any help would be appreciated...
Reply With Quote
  #3 (permalink)  
Old 04-15-2009, 04:30 PM
Intermediate Member
 
Posts: 24
Default

This has come up again as a major issue for my users.. any help would be appreciated...

Thanx
Reply With Quote
  #4 (permalink)  
Old 04-15-2009, 05:27 PM
Moderator
 
Posts: 1,554
Default

if you do zmmailbox gact you'll see that each contact has a field

fileAs:

that field has a number. the number i think has to do with how it's filed. I changed one of mine that was fileAs: 1 to First, Last and the value changed to 2 which makes sense since that's the 2nd option. So I imagine if you want them all to be like Last, First which is the default first option you need to set every contact value of fileAs to be 1.

How do you do this? well you'll need to probably do a little bash scripting. you'll basically have to do a zmmailbox gact for the account, parse hte output to get the ID of every contact and run zmmailbox mcta (modify contact) to set the fileAs attribute.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.