开发者 | crmtech |
---|---|
更新时间 | 2011年11月24日 05:02 |
捐献地址: | 去捐款 |
PHP版本: | 3.2.1 及以上 |
WordPress版本: | 3.2.1 |
The url of the SugarCRM SOAP service is usually the root of the SugarCRM url with the page 'soap.php' specified. For instance, if you run Sugar locally at http://localhost/sugar/, then the SOAP url would be http://localhost/sugar/soap.php.
It should work with almost any recent version of Wordpress and SugarCRM. The earliest version of SugarCRM tested is 5.5. It has been tested against the following stacks: Wordpress 3.2.1 and SugarCRM CE 6.2.4 on IIS 7 running PHP 5.3.8 (Windows 7) Wordpress 3.2.1 and SugarCRM CE 6.2.4 on Apache running PHP 5.3.3-7+squeeze3 (Debian GNU/Linux 6.0) Wordpress 3.2.1 and SugarCRM CE 5.5.0 on Linux.
Currently, the standard fields are First Name, Last Name, Company, Phone, Email and Comments.
On the lead record that is created, the fields are mapped as follows: First Name => first_name, Last Name => last_name, Company => account_name, Phone => phone_work, Email => email1, Comments => description. Additionally, the following values are also set on the lead record: Status = "New", Lead Source = "Web Site".
You'll have to know a little bit about PHP and Wordpress Plugin programming to do it, but it's pretty easy: Fields and their mappings are stored as arrays within 2 WordPress options (1 for fields, 1 for the mappings). If you do not wish to learn all that, I have a Pro version of the plugin which includes a nice interface to managing form fields and how they map into SugarCRM.
This version uses the "honeypot" approach by placing an empty hidden field in the form. Bots usually fill in all fields, so if this hidden field has a value, the data does not get imported into SugarCRM (The plugin returns a blank form).