From 2597a1941253569219884aafd65390647e95bdcc Mon Sep 17 00:00:00 2001 From: Eileen McNaughton <eileen@mcnaughty.com> Date: Thu, 7 Mar 2019 10:30:03 +1300 Subject: [PATCH] Add note about custom data on any creation --- docs/extensions/civix.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/extensions/civix.md b/docs/extensions/civix.md index fe0c6850..0dd7c358 100644 --- a/docs/extensions/civix.md +++ b/docs/extensions/civix.md @@ -240,6 +240,10 @@ This creates two files: Your extension can create one or more sets of custom fields at installation. There are two methods depending on whether the custom data set extends an entity (e.g. "Individual" – without any specific subtype) or extends a specific subtype of an entity, (e.g. Activities of type 'Volunteer'). +*{from CiviCRM v.5.0}* + +If you wish to create custom fields for an entity that does not support custom fields out of the box you will need to add a new option value to the cg_group_extends option group. It will then be possible to create custom fields for this entity per above or via the UI. However, for most fields you will only be able to interact with these fields via the UI. Exceptions are those like RelationshipType that use an Entity Form in core. + #### Extending a base entity This is the simplest scenario. Start by creating a custom fields using the web interface and then export them for use with the extension: -- GitLab