You need to sign in to do that
Don't have an account?
Need custom field from Accounts to replicate over to a field on Contacts
So I called SF Basic support and they said I need a formula to do what I need done, that they can't do formula, and that I should ask here... So here I am.
I am trying to filter contact views based on a custom field value in the contact's associated account record. But Account custom fields don;t come up in the logic filter fields under contact views.
So if I could pull in the field value (pick list) from the contacts associated account custom field then it would appear in my view logic filter, and I would be happy.
So I have a account custom field named Account Relationship with multiple pick list text values. How do I:
- Replicate the vales into a contact custom field
- For all contacts associated with a given account
Thanks team.
Using the Formula Wizard create a custom Formula(Text) field on the Contact object.
The formula would look something like
TEXT(ParentObjectName.ParentFieldName)
So in this case, if your Parent Object is the Account and the Account Field that you want to display/search in the Contact is "Region" then it would look like this.
TEXT(Account.Region__c)
OK, tried the formula listed above. Thanks for that! I put in this:
TEXT(Account.Account_Relationship__c)
and I get this error:
Error: Field Account_Relationship__c is a multi-select picklist field. Multi-select picklist fields are only supported in certain functions. Tell me more
Under "Tell me more" is says:
According to the Tell me more help file it says that TEXT should be available to use with a pick list. Any ideas?
Okay, we're gonna have to try something different then... Multi-Picklists and Picklists are two totally different datatypes (and Multi-Picklists are basically Evil).
I'm running into the same issue with a multi-picklist. Any known workarounds or suggestions?
Thanks!!
Ditto!
Did either of you figure anything out? I would hate to create multiple picklists.....
They show up as semicolon delimited on custom reports, so what gives!?
Thanks,
Mike
Major props to David Carnes at OpFocus for the following solution ( http://www.opfocus.com/).....So good I have to plug his company.
"SFDC Help tells us that we can only use the following functions with Multi-Select Picklists.....
- Includes()
- IsBlank()
- IsNull()
- IsChanged() **Only in specific cases such as Validation Rules, etc
- PriorValue() **Only in specific cases such as Validation Rules, etc
Basically our hands are tied behind our backs, but like Houdini...with some creativity and concatenation (ok, he used concentration), we can use the Includes function to check for each possible value in a Multi-Select Picklist called "MS_Field__c" and in this case display the results separated by commas.
IF(INCLUDES(MS_Field__c,"Value 1"), "Value 1,", "") &
IF(INCLUDES(MS_Field__c,"Value 2"), "Value 2,", "") &
IF(INCLUDES(MS_Field__c,"Value 3"), "Value 3,", "")
The approach above will be tedious if your Multi-Select Picklist has a load of picklist values, but I don't see other options. In a quick test I confirmed that it will work with a Cross Object Formula as you described in your example. Depending on how big and complicated your overall formula is, you could be able to remove the extra comma at the end with some clever use of LEFT and LEN functions..."