Skip to main content
edited tags
Link
Source Link
DMCoding
  • 361
  • 1
  • 9

Mapping of CiviCRM's Contact card fields to Drupal user entity's

Essentially, we are having an integration problem where one component we are using is expecting to find or use default user entity fields, but these fields are not mapped into CiviCRM's user Contact card.

To be precise, we are using Drupal's LDAP module to exchange data with legacy systems and provide SSO auth. The LDAP module allows us to specify which Drupal user entity fields are mapped into the LDAP record using Drupal tokens, for example [field.field_lname], [field.field_fname], etc. However, those entity fields are not mapped into CiviCRM. As a result, we can't query their data using Civi, or expose it to users to edit using Civi's profile forms.

How can we manage mappings between CiviCRM's Contact record fields and Drupal's entity API?