Closed (fixed)
Project:
Webform2Sugar
Version:
6.x-3.0-beta2
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
28 Oct 2009 at 03:59 UTC
Updated:
3 Jan 2014 at 00:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
nevosho90 commentedYou should be able to map the custom field. Do you have any screen shots of exactly what you're trying to do?
Comment #2
axon commentedWhen mapping component I do not see the Lead Source (drop down list)..so how do I assign that value to Lead Source field?
Also the drop down list does not have any custom fields I created in SugarCRM obviously.. so how to I map the webform field to a custom field in SugarCRM?
Comment #3
robbertnl commentedThis is not supported right now. The fields are still hard coded in webform2sugar_fields.inc
I've to find out where the fields are defined in sugar to make it dynamic.
Comment #4
robbertnl commentedComment #5
axon commentedI have no problem with hard coding but I do have some other issues with current set of fields.. you have Assigned To field.. what should be used is assigned_user_id..I tested your module and I could not see the lead because there was no proper assigned_user_id. Under Sugar settings there is only one variable required and this is campaign id.. where do you input assigned_user_id? Also Lead Source and Lead Source Desc.. Lead Source Desc ended up in Description field.. this is using latest Community Edition..
Comment #6
dylanbuli commentedI also see this will a custom Leads field of move_description_c in SugarCRM, after adding it to the webform2sugar_fields.inc. The description field of the lead is populated with its value. Also, my multi-select box also does not seem to register correctly, and creates this warning.
Comment #7
robbertnl commentedWhat's the status of this issue? Does it apply to the dev version as well?
Comment #8
adesigns commentedI've added bunch of new custom fields, hard coded them into webform2sugar_fields.inc and it gives me this error:
"
warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home3/creditr7/public_html/reodirectpartners/modules/webform2sugar/webform2sugar.module on line 54.
"
there's 9 of them in a row.
Any idea what could this be?
Comment #9
rurri commentedI ran into this error in the course of fixing a number of the other issues. It is possible that it is fixed in the all-in-one patch uploaded under this issue:
http://drupal.org/node/511466
http://drupal.org/files/issues/webform2sugar-all-in-one.patch
The patch is in need of some peer review.
Comment #10
Friso D commentedHi guys,
I'm just trying out the 6.x-3.x-dev version and it seems to work fine: I see leads showing up in Sugar coming from my Drupal webform.
When I try to configure SugarCRM webform integration though I get the following error:
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'webform2sugar_admin_settings' was given in D:\xampp\htdocs\accendiprestito\includes\form.inc on line 366.
Does anyone have any clue as to what this is?
Thanks
Friso
Comment #11
Friso D commentedOk, everything's fine.
I completely removed the old version by uninstalling it and installed the new 6.x-3.x-dev version. I see that all references to the SugarCRM integration settings are in the webform module now. That makes sense.
Ill test the recent updates and give some feedback asap.
Thanks for the good job!
Friso
Comment #12
rurri commentedMarking as fixed. This appears to be fixed in the latest code. Users will still need to add the custom mapping to webform2sugar_fields.inc. However, the issue where adding these fields caused an error has been resolved.