Configuring Primary Contact Fields in CRM Core

Last updated on
23 March 2021

Drupal 7 will no longer be supported after January 5, 2025. Learn more and find resources for Drupal 7 sites

Module developers working with CRM Core often need to know what fields are being used to store the primary phone numbers and addresses for a specific contact. At the same time, it's impossible to predict the specific fields someone would configure for CRM Core beforehand.

To overcome this problem, CRM Core provides the ability to select primary fields for each contact type. Primary fields are really just flags, telling other modules that primary email addresses, postal addresses, and telephone numbers live in specific fields in your contact records. There are some modules and features that will not work unless the primary fields are properly configured.

You can set the primary fields for any contact type by going to the main page for editing the contact type. The Contact type edit form can always find in your Drupal website's administration section by going to Admin > Structure > CRM Core > CRM Contact Types or by going directly to admin/structure/crm-core/contact-types. Click on the edit link for any contact type, and choose the primary fields for storing contact information.

Help improve this page

Page status: No known problems

You can: