[ https://issues.apache.org/jira/browse/OFBIZ-4247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13017416#comment-13017416 ]
Adrian Crum commented on OFBIZ-4247: ------------------------------------ General information - If someone wanted to add SyncML capability to OFBiz there are two approaches I can think of: 1. Make OFBiz a SyncML server. 2. Make OFBiz a SyncML client. The Opentaps Funambol integration implements #1. Using Funambol isn't really necessary because OFBiz already contains the artifacts needed to implement a SyncML server - all it needs is a SyncML HTTP request handler. Funambol uses an incompatible license, so the integration code can not become a part of the project. My personal preference would be to make OFBiz a SyncML client. OFBiz users could then sync their PIM data to ANY SyncML server. OFBiz already contains the artifacts needed to implement a SyncML client - it just needs a UI so a user can specify the SyncML server URL and provide a "Sync Now" button. > Add Funambol for Outlook (adapted from Opentaps) > ------------------------------------------------ > > Key: OFBIZ-4247 > URL: https://issues.apache.org/jira/browse/OFBIZ-4247 > Project: OFBiz > Issue Type: New Feature > Reporter: Jacques Le Roux > Attachments: Funambol.patch, etl.zip, ofbiz.cer > > > This is not intended to be added to OFBiz repository since it's GPL licensed. > It comes from an earlier works done Cameron Smith, Database Lda for and in > coordination with Open Source Strategies. I have adapted/fixed it to work in > OFBiz OOTB > ---- > *What I have changed* > The main parts of the work were: > * The otfm_admin_guide.doc was [corrupted in Opentaps > repository|http://www.opentaps.org/forum/opentaps-general-discussions/general-discussions-english/funambol-admin-otfmadminguidedoc-corr] > (looks like the Funambol component is not available anymore in Opentaps > nowadays) and Cameron Smith had no available copy (the work was done for > OSS). So I build my own version for OFBiz from the corrupted Word file (OFBiz > otfm_admin_guide.doc) > * I had to adapt the whole Opentaps needed code (in Opentaps.zip) to OFBiz > (Opentaps still uses older OFBiz versions) > * I also fixed some issues in the Funambol component source > ** I have changed how the Funambol component handled cancellations/completion > of an Event/Task from OFBiz. Now status is also taken into account. Before > only date was used > ** When Outlook (through Funambol Outlook Plugin - FOP thereafter) asks OFBiz > for updated contacts (Parties in OFBiz) the Funambol component returned also > disabled parties. I cut that, there are no reasons ever to consider a > disabled party when updating from OFBiz > ** I fixed and account/contact/lead emails creation/udate issues. It was a > quirk in Opentaps-Funambole code (see this [funambol > thread|https://core.forge.funambol.org/ds/viewMessage.do?dsForumId=405&dsMessageId=138634] > for explanations). I wonder if it has ever worked in Opentaps... > ** When you removed an email type from an existing email in OFBiz, it did not > sync. It did not take into account ContactMechPurpose changes. Hence, for > instance, if you removed an email type from an existing email addresses in > OFBiz, nothing happened. Now it removes the email in Outlook since no types > exist anymore. Same if you changes the types of a contact mech and it's an > Outlook (FOP actually) recognized type (for instance from email2 to email3, > etc.) > ** I have implemented the syncing of newly assigned contacts or leads. Let me > explain a bit more: when in OFBiz you assigned to yourself (the user logged > in) an existing contact or lead created by another login and synced your > account with Outlook there was no contact creation in Outlook. In other > words, you needed to create contacts or leads under the user logged in in > OFBiz in order to get it synced with Outlook (I discovered that you could > also update somehow contact or lead created by another login but that was not > satisfactory, only a side effect). You can now create a contact or lead with > any login and assign it to you later, it will be synced automatically with > Outlook > * Cameron Smith was kind enough to send me siga-fwk-bsd sources were I had to > make some minor changes for it to work in OFBiz > There is a [trivial question > pending|https://core.forge.funambol.org/ds/viewMessage.do?dsForumId=405&dsMessageId=139101]. > I think there are no solutions, but anyway it's not a bid deal > ---- > *Instructions:* > # Unzip opentaps.zip directly under OFBiz root. This comes directly from > Opentaps but has been heavily modified to work in OFBiz. > # Unzip etl.zip under framework\base\lib. This comes from Opentaps without > changes. > # Apply Funambol.patch. > Follow the otfm_admin_guide.doc > During fall 2010 I did this work (based on for a client of mine who agreed to > contribute it to OFBiz (thanks Angus!). In January 2011 I planned to test the > whole work in OFBiz but then got very busy with another client and it > happenned that Adrian needed also to work on the Funambol integration in > OFBiz. So I decided to put the work done so far without any testing done in > OFBiz OOTB > ---- > *Some notes* > * I had an issue when changing the percentage of completion of the task (but > not to 100%) in OFBiz and sync with Outlook: the task is then always synced > as complete, still not sure why (this was not needed by my client). > * You don't need any new screens in AMI for Funambol to work. You only need > to follow opentaps\funambol\docs\man\otfm_admin_guide.txt to install and then > use the existing OFBiz SFA screens to check that all is working well. > Foraccounts/contacts/leads follow > http://www.opentaps.org/docs/index.php/Funambol_Contact_Integration_Tests. > For the the calendar entries and tasks use also the SFA screens. I have used > Outlook 2010 but it should be ok with older version (at least 2007) as well. > You may also have a look at > http://www.opentaps.org/docs/index.php/Opentaps_Funambol_Setup. > ---- > Unfortunately this Jira issue was created (not so) hastily, I hope to have > not forgotten anything, anyway I can re-add later if needed... > -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira