I am trying to map custom field.. is this functionality supported?

Also what about Lead Source? (I see mapping for Lead Description only?)

tks

CommentFileSizeAuthor
#2 10-28-2009 12-20-18 AM.gif18.08 KBaxon

Comments

nevosho90’s picture

You should be able to map the custom field. Do you have any screen shots of exactly what you're trying to do?

axon’s picture

StatusFileSize
new18.08 KB

When 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?

robbertnl’s picture

This 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.

robbertnl’s picture

Category: support » feature
axon’s picture

I 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..

dylanbuli’s picture

I 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.

robbertnl’s picture

What's the status of this issue? Does it apply to the dev version as well?

adesigns’s picture

I'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?

rurri’s picture

I 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.

Friso D’s picture

Issue tags: +bug

Hi 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

Friso D’s picture

Ok, 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

rurri’s picture

Status: Active » Fixed

Marking 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.

Status: Fixed » Closed (fixed)
Issue tags: -bug

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