Link contact to multiple accounts in salesforce

With Summer 16 release we can now, link contact to multiple accounts in salesforce. Let’s see how it can be used and what all steps we need to perform to get this properly working.

Enable the setting:

To start with link contact to multiple accounts in salesforce , from the Setup > quick find search for Account settings. There you can enable couple of things, as seen in the below picture.

Link contact to multiple accounts in salesforce

 

Once you enable the features you will see the below screen:

Link contact to multiple accounts in salesforce

About the Setting:

Show view Hierarchy :

“Displays a link to the account hierarchy on account details.”

Enable Account Insights:

“Provides users with a customized list of timely, account-relevant news from US sources. Some of your organization’s data may be saved and/or processed by third-party services and other Salesforce technologies that may offer different privacy and security protections. When data (such as the name or website of an account that’s being queried) is shared or transferred, we make efforts to exclude your name and your organization’s name.”

Enable Account logos: (This feature works in Lightning UI)

“Displays company logos, when available, on US-based accounts. New logos may replace ones from social profiles. Logos also appear with account suggestions. Some of your organization’s data may be saved and/or processed by third-party services and other Salesforce technologies that may offer different privacy and security protections. When data (such as the name or website of an account that’s being queried) is shared or transferred, we make efforts to exclude your name and your organization’s name.”

Example : This is on lightning UI account details page.
accountlogo

 

Enable Account Autofill: (This feature works in Lightning UI)

“Displays US-based companies in the Account Name field as sales reps enter information. Reps can select a suggested company from the list, making it easier to create new business accounts. Some of your organization’s data may be saved and/or processed by third-party services and other Salesforce technologies that may offer different privacy and security protections. When data (such as the name or website of an account that’s being queried) is shared or transferred, we make efforts to exclude your name and your organization’s name.”

Example:

autofill

 

Allow users to relate a contact to multiple accounts:

“When you allow users to relate a contact to multiple accounts, we recommend you adjust your activity settings so that activities don’t automatically roll up to a contact’s primary account.”

You can select between the below two options, so that system know what to do when you delete an account (or  re-parent a contact ) which has contacts linked from other account or the contact which are not directly related.

When users delete an account that has direct contacts that are related to other accounts:

  • Block users from deleting the account
  • Allow users to delete the account, and automatically delete all direct contacts even if they are related to other accounts

When users replace the primary account on a contact record:

  • Save the relationship between the contact and the previous primary account as an indirect relationship
  • Delete the relationship between the contact and the previous primary account

Action Needed to deal with the new setup:

Once setup is complete you can do the below config to suit your requirement to link contact to multiple accounts in salesforce.

  1. Add the Related Contact list to the Account page layout.
  2. Remove the existing contact list , as we do not want duplicate list to show the same kind of data.

relatedcontacts

Optional setup :

  1. You can add the “Direct” field to the contact list, so see which contact is directly related to the current account. The contacts linked from other accounts will have this field value as false. (In the above screenshot you can see the Direct field is checked which means the contact related to the account is a direct contact and not just a relating contact form another account.
  2. In setup > quick find search for “Contact Roles on Accounts”  and add any more contact roles you need other than default provided values.
  3. In Setup ? Quick Find search for “Account Contact Relationships” and add any new fields you need as per your requirement and add them to the layout if you need them. (below screenshot)

newrelationship

Conclusion :

Hope this will give a quick overview of the feature, that was requested in IdeaExchange and delivered in Summer 16 release. Would love to hear thoughts and ideas on this topic in the comments 🙂

 

Keep reading and sharing …..


Comments

6 responses to “Link contact to multiple accounts in salesforce”

  1. You Know me Avatar
    You Know me

    Great Article Amit, I had the same requirement on my project and followed these steps to enable shared contacts.

    Please help with some observations / Questions:

    1. For existing contacts which were created prior to enabling shared contacts are not getting displayed in ‘Related Contacts’ related list. They are available in the ‘Contacts’ related list.

    2. From the contact record, how can we associate a contact with multiple accounts?

    1. I am glad that it helped 🙂

      1. For existing contacts which were created prior to enabling shared contacts you can add them via an one time upload or add contacts using “Add Relationship” button

      2. On Contact details page layout add “Related Accounts” related list and then you can directly add accounts from Contat.

      Basically, there is a kind of junction object salesforce has built “Account Contact Relationship” , where you can connect account and contacts.

      Hope this helps 🙂

  2. You Know me Avatar
    You Know me

    I see that the junction object has already been populated with the relationships for the existing records..This is a great feature from Salesforce and Thank you for the excellent article.

  3. can the same applicable for contract object?

    1. Amit Sahu Avatar

      No, not a standard way. But junction object should work.

Leave a Reply

Your email address will not be published. Required fields are marked *