This is an example extenstion for CiviCRM.
When a new Primary Contact relationship is being made for an Organization, this extension makes previous Primary Contacts for that Organization inactive, with an ending date of the creation date of the new relationship so that there is only one Primary Contact per Organization.
- PHP v7.0+
- Tested on CiviCRM 5.71+
Learn more about installing CiviCRM extensions in the CiviCRM Sysadmin Guide.
Sysadmins and developers may download the .zip
file for this extension and
install it with the command-line tool cv.
cd <extension-dir>
cv dl presentation@https://github.com/briennekordis/civicrmExt_primaryContact/archive/master.zip
Sysadmins and developers may clone the Git repo for this extension and install it with the command-line tool cv.
git clone https://github.com/briennekordis/civicrmExt_primaryContact.git
cv en primarycontact