getdropdownvalue from related module

Hi

I have a dropdown in Leads module that when it converts I want a dropdown value from Leads to be a text value in Contacts, so it's not editable I thought I would be able to use a calculated field in Leads that could copy the value to the Contact using the code below 

getDropdownValue("dropdown_in_leads",related($contacts,"field_in_contacts"))

I have tried swapping them round and as many variations as I can but the dropdown value from the list never goes to contact field.  I have also tried to create a field in Contacts to grab the related dropdown but that doesn't work either.

Anyone know how or if this can be done otherwise I will have to write a logic hook which seems a bit over kill!

Using 9.3 Enterprise.

Any help much appreciated.

Parents
  • Hi Joe,

    You were close in your tested solution. The formula will need to exist on a custom field in the Contacts module. I was able to achieve your desired output by creating a text field in the Contacts module with the following formula:

    getDropdownValue("converting_dropdown_list",related($leads,"converting_dropdown_c"))

    The main drawback to this solution is that if the source value on the lead changed after conversion, then the converted contact would also be updated. If that is a concern, you could mitigate that issue by implementing custom coded logic to prevent the field on Leads from being editable once the status is 'Converted'. 

  • Hi Chris

    Thanks for the response.  I created a Text field and added the formula

    getDropdownValue("shared_private_list",related($leads,"shared_private_c"))

    With shared_private_list being the drop down that has all the values and $leads,"shared_private_c" being the field that holds the drop down but it just doesn't copy through.  What could i being doing wrong?

    Any help much appreciated.

Reply Children