Prerequisites: Webform Module and Webform2Sugar Module
Who This Applies To: DataSync clients who want to integrate webforms with SugarCRM
The first thing you want to do is to edit the webform2sugar to be compatible with your SugarCRM install.
To do this you can access it 1 of 2 ways,
by going to the http://(drupalsite)/admin/settings/webfrom2sugar
or in the admin side of Drupal click on administer and then underneath the site configuration click on Webform to SugarCRM
Once accessed you have to put in where your SugarCRM location is.
The domain location of SugarCRM?
portal.datasyncsuite.com
The directory location of SugarCRM?
sugar/(yourcompanyname)
Save configuration
Once you have that edited you want to create your form
Getting the Campaign ID out of Sugar
Go into your Sugar Install and create a new campaign if necessary
For this article we already have a campaign created.
Since we are a DataSync Suite User we will have to view the campaign in another window
Right click on the campaign we want to use and select open link in new window.
In the URL you will see a bunch of numbers and letters following record=########-####-####-####-############ everything following record= is the campaign id
Copy these strings of numbers and letters and paste them into the Campaign ID box in drupal
Click on Save (Jump up a step to input campaign ID)
Once you click save you will be directed to the Form Creator
(We will be doing 3 fields for our form FNAME LNAME and e-mail)
Select the box and type in the label for your form box (First Name)
Click on Add This will take you to a new screen
Scroll down to the Map field to SugarCRM section.
Select the field that corresponds with your Form Box.
Repeat steps 1-5 for more fields
NOTE: You must provide a last name for the leads to be recorded in Sugar.
Once you have your forms click on publish
Click on view at the top of the form editing to view your form