https://github.com/systopia/activity-entity
Connect CiviCRM activities with other entities
https://github.com/systopia/activity-entity
civicrm civicrm-extension
Last synced: about 1 month ago
JSON representation
Connect CiviCRM activities with other entities
- Host: GitHub
- URL: https://github.com/systopia/activity-entity
- Owner: systopia
- License: other
- Created: 2022-11-28T16:08:55.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-16T12:15:12.000Z (8 months ago)
- Last Synced: 2024-09-17T14:18:26.297Z (8 months ago)
- Topics: civicrm, civicrm-extension
- Language: PHP
- Homepage:
- Size: 66.4 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Activity Entity Connector
Connect an activity with any other entity. By default, CiviCRM allows to connect
activities with contacts, but not other entities. To achieve the connection to
other entities a join table is used that has field that holds the target table
name (`entity_table`) and the ID of the entity (`entity_id`). Table names need
to be added to the custom group `activity_used_for`.Optionally a connection can be typed (field `record_type_id`). Possible types
need to be added to the custom group `activity_entity_connection_type`.Cascade deletion is implemented, so you do not need to take care of deleting
connections when deleting entities.This extension provides an APIv4 DAO entity that offers some additional actions
to manage the connections:
[EntityActivity](Civi/Api4/EntityActivity.php).The extension is licensed under [AGPL-3.0](LICENSE.txt).
## Requirements
* PHP v7.4+
* CiviCRM 5## Installation (Web UI)
Learn more about installing CiviCRM extensions in the [CiviCRM Sysadmin Guide](https://docs.civicrm.org/sysadmin/en/latest/customize/extensions/).
## Installation (CLI, Zip)
Sysadmins and developers may download the `.zip` file for this extension and
install it with the command-line tool [cv](https://github.com/civicrm/cv).```bash
cd
cv dl activity-entity@https://github.com/systopia/activity-entity/archive/master.zip
```## Installation (CLI, Git)
Sysadmins and developers may clone the [Git](https://en.wikipedia.org/wiki/Git) repo for this extension and
install it with the command-line tool [cv](https://github.com/civicrm/cv).```bash
git clone https://github.com/systopia/activity-entity.git
cv en activity-entity
```