I just released the source code of the plugin J-SugarCRM UserSync on my GitHub Repository. The latest version is 1.0.
- Installation Package for Plugin J-SugarCRM UserSync 1.0
- Download Zipball (last release)
- Download Tarball (last release)
- Documents
The repository of the project is available at https://github.com/amusarra/J-SugarCRM_Authentication_Plugin. You can also clone the project with Git by running:
$ git clone git://github.com/amusarra/J-SugarCRM_UserSync_Plugin
Antonio,
Thanks for posting this! I was playing with it today, but I get this error:
-104 plgUserSugarCRMUserSync::onAfterStoreUser => Call CreateUser (newUserName) Exception: The Portal User API must be admin. Verify the Plugin configuration.
Even if I make the Portal Authentication User an admin in SugarCRM, it still doesn’t work… It seems that $userId remains empty… Any clue?
Hi Peter,
you should make sure that the user of SugarCRM is the admin user defined during installation, usually the user has the id equal to 1.
It also verifies that the version of the API (Web Services) that you set in the plugin configuration is 2.
See line 171 of file https://github.com/amusarra/J-SugarCRM_UserSync_Plugin/blob/master/src/plugins/user/SugarCRMUserSync/SOAP_SugarCRMUserSyncClient.php
Bye,
Antonio.
Hi Antonio,
Even if I use the SugarCRM admin in the J-SugarCRM_UserSync configuration (ID=1), I still get the same error…
It still seems that $userId = $auth_result->name_value_list[0]->value; is empty…
How important is the right version in this respect?
I keep on trying!
Hi Peter,
The reference version of SugarCRM is 6.1.
Which endpoints have you used?
Let me know, I’ll try to do some tests.
Bye,
Antonio
Hi Antonio,
Ah, that could be the issue: I am using SugarCRM 6.2 currently. (But the SOAP Authentication plugin works fine in Sugar 6.2 and the methods seem the same…)
Endpoint is http://www.mydomain.nl/sugarcrm/soap.php?wsdl
Thanks,
Peter
Hi Peter,
You should use the URL http://www.mydomain.nl/sugarcrm/service/v2/soap.php?wsdl
Bye,
Antonio.
Hi Antonio,
My mistake, it even mentiones the right endpoint in the pdf and I still manage to use the wrong one… It works fine right now! Thanks!
Only I hoped it would sync Contacts, instead of Users in SugarCRM. But it is probably not designed to do so..?
Thanks,
Peter
Hi Peter,
Excellent news.
The plugin is designed to synchronize users and no contacts. May be possible to add this feature.
Bye,
Antonio.
ciao Antonio,
ho appena scoperto il tuo Plugin per Joomla “J-SugarCRM Authentication” e sto cercando di capire se fa al caso mio.
Ci installeranno SugarCRM, e quelli che sono stati contrattati per questo hanno richiesto che ci incarichiamo noi della chiamata ai web services per dirottare i dati dei formulari ai data bases di SugarCRM. Il tuo plugin potrebbe aiutarmi in questo lavoro (forse devo premetter che non sono programmatore)?
La questione è che i dati di vari formulari vengono registrati in una base dati esterna a Joomla…
Spero tu mi possa dare qualche dritta e che magari il tuo plugin mi possa essere d’aiuto.
Grazie
Ciao Luca,
l’obiettivo del Plugin da me sviluppato non copre la tua esigenza, a maggior ragione che il data base è esterno a Joomla.
Una dritta che potrei darti, potrebbe essere questa: ipotizzando che tu abbia accesso al data base dei formulari o all’applicazione di front-end, è possibile sviluppare lato applicativo o lato data base qualche meccanismo che inserisca sul db di SugarCRM (via Web Services) il dato interessato. L’attività credo che sia fattibile e di semplice implemtazione.
Fammi sapere se dovesse servirti qualche altra dritta.
Bye,
Antonio.
Grazie Antonio per la rapidità e la risposta.
Sono il webmaster del sito in questione, dunque ho accesso al data base e all’applicazione di front-end.
A dire il vero qualche altra dritta mi verrebbe bene… Non avevo sentito parlare di Web services fino a ieri.
Grazie ancora.
Ciao Luca,
se dovesse serviti una mano per questo processo d’integrazione tra il sistema “FORMULARI/JOOMLA” e SugarCRM è possibile prevedere una collaborazione per la realizzazione dell’integrazione.
Se sei interessato ti chiedo la cortesia di scrivere una mail con l’obiettivo dell’integrazione da inviare a me (antonio[dot]musarra[at]gmail[dot].com) e ad un mio collaboratore fioravanti[dot]alessio[at]gmail[dot]com
In breve. i servizi web o Web Services, consentono a sistemi eterogenei che parlano lingue diverse di poter comunicare attraverso un linguaggio comune, questo linguaggio comune è rappresentato dall’XML. SugarCRM espone attraverso servizi web, un set di API (operazioni) che consentono a sistemi esterni l’accesso ai dati trattati dal CRM.
Bye,
Antonio.
Grazie,
Antonio.