Reset contact Autocomplete ranking

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Admin Article

Article Information

This article applies to the following ZCS versions.

ZCS 8.6 Article ZCS 8.6 ZCS 8.5 Article ZCS 8.5 ZCS 8.0 Article ZCS 8.0


Reset contact Autocomplete ranking and delete a single contact using zmsoap

Purpose

Customer would like to reset contact Autocomplete ranking to get rid of a duplicate lookup.

Resolution

Autocomplete ranking is stored in the mysql database. To reset it, use the following SOAP command line:

  • Reset ranking table data:-
su - zimbra
zmsoap -z -m user@domain.com RankingActionRequest/action @op=reset
  • Remove all contacts from "Emailed Contacts" folder:-
zmmailbox -z -m USERNAME@DOMAIN.COM ef /"Emailed Contacts"
  • Now flush the account cache:-
zmprov fc account USERNAME@DOMAIN.COM

If you want to delete a single contact instead of resetting the complete ranking table, then use the following commands:-

zmsoap -z -m USERNAME@DOMAIN.COM RankingActionRequest/action @op=delete @email=ANONYMOUS@gmail.com
zmprov fc account USERNAME@DOMAIN.COM

Note: Replace ANONYMOUS@gmail.com with that contact which you want to delete from the ranking table.

Additional Content


Verified Against: Zimbra Collaboration 8.6, 8.5, 8.0 Date Created: 04/15/2015
Article ID: https://wiki.zimbra.com/index.php?title=Reset_contact_Autocomplete_ranking Date Modified: 2015-05-21



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »


Wiki/KB reviewed by SME1 SME2 Jenny Jarrard Last edit by Jenny Jarrard
Jump to: navigation, search