Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-3398

Add 'Address Name' field in civicrm_address

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.1
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      • add 'name' field (varchar 255 )in civicrm_address table.
      • Add this field on Contact Edit form.
      • Should be available in profiles, export, import
      • also update upgrade script.

      The visibility of this field is controlled under Global Settings >> Address Settings >> Address Editing. It will be disabled (hidden) by default.

      ------------------------------------- Original post ---------------------------------------------------------------------------------------------------------------------
      The CiviCRM 1.9 location API had a location name field, stored in the civicrm_location.name column. This was used by the ecivicrm module to allow users to setup an address book, with multiple mailing addresses, each with a unique name; for example a mailing address might use a nickname or add a "c/o Company Inc." or even someone else's name.

      This is gone from the 2.0 location API since there is no more civicrm_location table. It might be worth considering restoring a name column for addresses (possibly it could be useful for other location entities like email, phone etc. but I'm not sure).

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              mfb Mark Burdett
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: