I have one problem with funambol. It also sync folder 'emailed contacts'. Is there any way how to exclude this folder?
Thanks for help.
Printable View
I have one problem with funambol. It also sync folder 'emailed contacts'. Is there any way how to exclude this folder?
Thanks for help.
I have the same problem. Has anybody found a solution?
Anyone found an answer to this?
Hi!
I managed to sync only the default Contacts folder by adding three lines of code:
I think it wouldn't be too hard for the author to add an option to the management interface enabling users to restrict synchronisation to the default contacts folder...Code:diff -uNr ru.korusconsulting.orig/src/java/ru/korusconsulting/connector/base/ZimbraPort.java ru.korusconsulting/src/java/ru/korusconsulting/connector/base/ZimbraPort.java
--- ru.korusconsulting.orig/src/java/ru/korusconsulting/connector/base/ZimbraPort.java 2008-04-24 11:42:30.000000000 +0200
+++ ru.korusconsulting/src/java/ru/korusconsulting/connector/base/ZimbraPort.java 2009-06-23 08:44:49.000000000 +0200
@@ -168,6 +168,7 @@
Element contactsRequest = (Element) soapHelper.getBody(request).elements().get(0);^M
{^M
contactsRequest.addAttribute(ZConst.A_SYNC, "1");^M
+ contactsRequest.addAttribute(ZConst.A_FOLDER, folderHolder.getDefaultFolderId(FolderHolder.CONTACT));^M
}^M
Document response = sendRequest(request);^M
Element body = soapHelper.getBody(response);^M
@@ -229,6 +230,7 @@
}^M
contactsRequest.add(cn);^M
contactsRequest.addAttribute(ZConst.A_SYNC, "1");^M
+ contactsRequest.addAttribute(ZConst.A_FOLDER, folderHolder.getDefaultFolderId(FolderHolder.CONTACT));^M
}^M
^M
Document response = sendRequest(request);^M
@@ -335,6 +337,7 @@
}^M
contactsRequest.add(attr);^M
contactsRequest.addAttribute(ZConst.A_SYNC, "1");^M
+ contactsRequest.addAttribute(ZConst.A_FOLDER, folderHolder.getDefaultFolderId(FolderHolder.CONTACT));^M
}^M
^M
Document response = sendRequest(request);^M
@ the author: Incredible work! Thank you very much for this excellent piece of software!
Regards,
Daniel
Daniel,
Where can I make this modification? This would absolutely make my iPhone perfect. I just synced mine a couple of days ago, forgetting about this, and now how dozens of "junk" entries in my contacts.
First of all: BACKUP YOUR CONTACTS!!!
Then go on... ;-)
You can get the source code here:
SourceForge.net: Funambol Zimbra Connector: Downloading ...
and the instructions for building here:
SourceForge.net: zimbrafunambol » build_from_source
Then replace the original ZimbraConnector.s4j with your custom one and run install-modules as documented in the installation guide. Do not recreate the databases or you will need to reconfigure the data sources in the Funambol administration tool.
For debugging purposes you can raise the logging level of Funambol to DEBUG (in the admin tool) and issue a "tail -f ds-server.log" to see what is going on during a sync.
Good luck!
Daniel
Thank Guys
I don't compile Zimbra connector with the version described here.
But, I can compile, make changes manually.
I am working with Funambol 10 and Zimbra Network 7. The Zimbra Connector that I used is 0.6.02