Drop Down Value Shows the Key and not Display Value

Hey Guys,

We are trying to have a drop down value on a lead be transferred to a text field on an account during lead conversion. Our code is written below. Naics_sector is the account field and industry_sector is the drop down field on the lead. The conversion works, but only the drop down key is being brought into the text field and not the actually display value. How can we get the display value of the drop down brought into the text field? Thanks!

'fieldMapping' =>
array (

'naics_sector_c' => 'industry_sector_c',

Parents
  • Thanks Andre,

    The problem is that the industry_sector on the lead is a best guess, after a lead is converted to an account AND business is written then an actual NAICS code will be populated overwriting the industry sector. Guess we will have to find another way.

  • I'm afraid I didn't did myself clear.

    As per my suggestion the metadata in Leads conversion would be something like that:

    'fieldMapping' => 
    array (

    'industry_sector_c' => 'industry_sector_c',

    Where industry_sector_c is another custom dropdown field in Accounts whose list follow the same own in Leads.

    The text field naics_sector_c in Accounts would get a SugarLogic formula like that:

    getDropdownValue("dropdown_list", $industry_sector_c)

    You can do that through Studio.

    Regards

    André Lopes
    Lampada Global
    Skype: andre.lampada
Reply
  • I'm afraid I didn't did myself clear.

    As per my suggestion the metadata in Leads conversion would be something like that:

    'fieldMapping' => 
    array (

    'industry_sector_c' => 'industry_sector_c',

    Where industry_sector_c is another custom dropdown field in Accounts whose list follow the same own in Leads.

    The text field naics_sector_c in Accounts would get a SugarLogic formula like that:

    getDropdownValue("dropdown_list", $industry_sector_c)

    You can do that through Studio.

    Regards

    André Lopes
    Lampada Global
    Skype: andre.lampada
Children
No Data