Implement "Email" Contact Detail Type

Created on 19 May 2025, 4 days ago

Problem/Motivation

πŸ“Œ Re-use existing email, phone, and address fields in CRM's custom fields Active created a Contact Detail entity type and bundles (Contact Detail Types) for Address, Phone, and Email, but only Address was fully implemented. We need to implement the Email Contact Detail Type.

Proposed resolution

  1. Copy Location Type entity from crm_field module to crm module and name it "Email Type" ( πŸ“Œ Split LocationType into EmailType and AddressType Active will cover moving Location Type and renaming it "Address Type")
  2. Add core email field (machine name "email") to "Email" Contact Detail Type
  3. Override label() in EmailContactDetail (similar to AddressContactDetail) to prefix the email address with its type.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jdleonard Austin, TX, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024