I have tried to get this module to work with no luck. From what I can tell it is never calling the URL for sugar (based on the apache log files). This is all internal test systems, so the domain name for sugar is utprosim and the directory is m-d , I pasted the campaign ID in the configuration. But it looks like the webform never calls the sugarcrm url. I made sure I have a field mapped to last name as well.

The drupal logs just show SugarCRM in green with no other data.

thanks!

Comments

robbertnl’s picture

Can you tell me exactly what you filled in at /admin/settings/webform2sugar?

If it's internal without hostname, you can try using the IP-adres of the server instead

Example you are using SugarCRM Professional at www.utprosim.com/sugarcrm
You should specify:
-Select SugarCRM version: Sugar Professional
-the domain eg. : www.utprosim.com
-Your sugarcrm directory eg: sugarcrm

I agree that this is not very handy, will change this in the next release

robbertnl’s picture

I rewrote a part of the module and i removed the option to specify an optional dir. Now only one inputfield for the sugar url.
Please try the development version.

robbertnl’s picture

Assigned: Unassigned » robbertnl
Status: Active » Needs review
jay4linux’s picture

Version: 6.x-3.0-beta2 » 6.x-3.x-dev

I downloaded and installed 6.x-3.x-dev. I put
utprosim/m-d
as The url of SugarCRM and it got the same results as before. Does not appear to be calling the sugar URL.

I changed it to
utprosim.betaclub.org/m-d
and got the same results.

I changed it to
192.168.0.80/m-d
and got the same results.

I have 74b13528-82d7-5a45-bdbc-49d367848387 as the campaign id

here is the URL to view the campaign.
http://utprosim/m-d/index.php?module=Campaigns&offset=1&stamp=1239110512...

Thanks so much for all your help. If there is anything else I can provide please let me know.

nskinner’s picture

Just wanted to say I followed steps and the module works great. I created the form in drupal and the field drop down appeared like magic. When I tested the form and then opened sugarcrm the lead was already there. Even Salesforce.com leads take a few minutes. SO its better than Salesforce. Great module!

jay4linux’s picture

So, I got something wrong in my setup. I am pretty sure I followed the directions exactly. I am going to remove the module and the webform and start over.

jay4linux’s picture

OK, I completely started over with some success. I am now seeing a call to the sugar URL in the apache log files. I also see the following in the recent log entries in drupal
Type SugarCRM
Date Tuesday, April 7, 2009 - 14:43
User admin
Location http://utprosim/alumni/node/4
Referrer http://utprosim/alumni/node/4
Message Valid response recieved from SugarCRM

Data posted :first_name=James&last_name=Moore&&campaign_id=74b13528-82d7-5a45-bdbc-49d367848387

Content of response (an empty response is a good thing!): We are sorry, the server is currently unavailable, please try again later.
Severity notice
Hostname 192.168.0.80

But still nothing shows up in sugar under the campaign. I noticed there are 2 &'s in the log entry between last_name and campaign_id, could that have something to do with my problems.

Thanks again!

nskinner’s picture

make sure you "search" for "leads" in SugarCRM. it didn't show my leads until i searched for them. try the different lead source dropdowms.

jay4linux’s picture

Thanks! that worked, I was able to find them after I searched. It would seem though that they would just show up under the Campaign->leads for the campaign id. I am going to play around more with that and see what happens.

robbertnl’s picture

Can I set this issue to fixed?

robbertnl’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.