simple stupid web form integration... its not working for me...

vinceyoumans - July 25, 2008 - 13:55
Project:SugarCRM Webform Integration
Version:6.x-1.0
Component:Documentation
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

well, I can not get this to work. I have a SugarCRM system up and running - latest community edition.
I have a drupal 6.3 system running with webforms and sugarCRM module.

in sugarCRM - I created the
leadCapture_override.php and included the username and the PW hash. It is in the root SugarCRM dir. ( this could be the problem, perhaps this file should be someplace else in the sugarCRM site?)

I have studied the leadcapture.php file in sugarCRM. BUT I have not Modified it. I pulled it out of the examples sub dir.
It is in the SugarCRM root as well. ( perhaps should be moved)
I think I may be confused about the field in the webform ...

Sugar Form is posted to:
The URL the form will be posted to. The confirmation option above MUST be a redirect URL in order to return from SugarCRM.

I thought that this would be the sugerCRM application because I cannot find another field to say where the sugareCRM installatiion is suppose to go. But I get redirected to the sugarCRM site, and I don't think that is right or desirable.

could someone explain what they think is going wrong here, and give me a clue... please;)

#1

pebosi - December 4, 2008 - 15:18

Hi,

i got it working, you need the following steps:

- you need to have the same fieldkeys like in sugarcrm (last_name, fist_name, etc.)
- you need to add a hidden field called "assigned_user_id" to assign the user, cause function "retrieve_user_id()" is not allowed in leadCapture_override.php
my leadCapture_override.php file just includes the $users array.
- you need to insert "http://www.domain.com/index.php?entryPoint=leadCapture" as post url

i used sugarcrm 5.1.0b and drupal 6.6

regards peter

#2

vinceyoumans - December 7, 2008 - 03:33

how is this combination working for you? as CRM's go, what do you think of Sugar?

#3

vinceyoumans - January 27, 2009 - 03:37

btw, how is this solution working for you. I am thinking of taking another attept at doing this. but I am not convinced that I want to use sugarCRM

 
 

Drupal is a registered trademark of Dries Buytaert.