2017 © Pedro Peláez
 

mautic-plugin mautic-extended-field-bundle

Extends custom fields for scalability and HIPAA/PCI compliance.

image

thedmsgroup/mautic-extended-field-bundle

Extends custom fields for scalability and HIPAA/PCI compliance.

  • Tuesday, July 31, 2018
  • by heathdutton
  • Repository
  • 12 Watchers
  • 3 Stars
  • 939 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 4 Open issues
  • 48 Versions
  • 87 % Grown

The README.md

Mautic Extended Field Latest Stable Version License Build Status

, (*1)

Features: * Allows for hundreds of custom fields. * Prevents outages due to field additions/deletions at large scale (when used exclusively). * Allows for separation of data for those with HIPAA/PCI concerns., (*2)

Out of the box Mautic has a few challenges for companies that need hundreds of fields, or to store millions of leads. A full problem definition can be found at https://github.com/mautic/mautic/issues/4139. This plugin is a compromise between a strict EAV approach and current custom field support, and allows an admin to disable the core "Contact" fields in favor of Extended fields if needed., (*3)

, (*4)

Plugin Overview

New Schema Structure

When creating a custom field, rather than adding a column to either the Lead (leads) or Company (companies) tables, This plugin implements new tables based on field type (boolean, text, choice, etc), and similar tables for secure data fields. A total of 14 new tables are created following the table name syntax:, (*5)

 `leads_fields_leads . [DATA TYPE] . xref`   OR
 `leads_fields_lead . [DATA TYPE] . _secure_xref`

Each table contains the columns:, (*6)

 `lead_id` - the id of the lead from the `leads` table the row applies to
 `lead_field_id` - the id of the corresponding Custom Field from the `lead_fields` table
 `value` - the value for the Custom Field. 

Overriding Mautic Lead Bundle

This plugin takes two approaches to overriding current methods for managing custom fields., (*7)

To allow for new Object types for Custom Fields, three form types are overridden using Symfony's Form Inheritance. By declaring a Form Inheritance tag in the plugin's config the build method of the original Form Type can be overridden to allow this plugin to redefine the form, injecting two new validated Object Types - Extended Field and Secure Extended Field. This Plugin overrides the FieldType, LeadType and ListType form definitions., (*8)

The other method of overriding the Mautic Lead Bundle is Symfony's Compiler Pass method. This allows the plugin to redirect the Classes used for service definitions from the Mautic Lead Bundle to use Classes defined by this plugin. The following services were redefined using this method:, (*9)

`mautic.lead.model.field`
`mautic.form.type.leadfield`
`mautic.lead.model.lead`
`mautic.lead.repository.lead`
`mautic.lead.model.list`

Installation & Usage

Choose a release that matches your version of Mautic., (*10)

Mautic version Installation
2.12.x composer require thedmsgroup/mautic-extended-field-bundle "^2.12"
2.14.x composer require thedmsgroup/mautic-extended-field-bundle "^2.14"
2.15.x composer require thedmsgroup/mautic-extended-field-bundle "^2.15"
  1. Install by running the command above or by downloading the appropriate version and unpacking the contents into a folder named /plugins/MauticExtendedFieldBundle
  2. Go to /s/plugins/reload. The Extended Fields plugin should show up. Installation is complete.
  3. When creating new custom fields /s/contacts/fields/new select Object "Extended" or "Extended Secure".
  4. Optionally disable "core" lead fields in ExtendedField Settings /s/config/edit.

TODO

  • Permissions for Secure fields -- Need to implement Permission pass methods for any ExtendedFieldSecure data type display, edit or retrieval.
  • Support retrieving leads by unique IDs that are also extended fields. -- Override LeadRepository::getLeadIdsByUniqueFields to join and pivot on columns.
  • Support segmentation by an "empty" extended field (outer join).

Changes for Report Compatibility

** NOTE ** The ReportSubscriber event listener dynamically checks for an edit or
view request of reports and dynanically sets priority of the REPORT_ON_BUILD.
The REPORT_ON_BUILD and REPORT_ON_GENERATE subscribers exist specifically to add
UTM Tags into the Segment Membership Data Source. This is tangental functionality to the core "Extended Fields" purpose
and will hopefully go away pending approval of a Core modification that adds UTM Tags into the contacts column list.

Icon by lakshishasri from the Noun project., (*11)

The Versions

31/07 2018

dev-ENG-418b

dev-ENG-418b

Extends custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

30/07 2018

dev-master

9999999-dev

Extends custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

12/07 2018

2.14.0-beta6

2.14.0.0-beta6

Extends custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

26/06 2018

2.14.0-beta5

2.14.0.0-beta5

Extends custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

12/06 2018

2.14.0-beta4

2.14.0.0-beta4

Extends custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

12/06 2018

2.14.0-beta3

2.14.0.0-beta3

Extends custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

11/06 2018

2.14.0-beta2

2.14.0.0-beta2

Extends custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

07/06 2018

2.14.0

2.14.0.0

Extends custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

01/06 2018

2.12.9

2.12.9.0

Extend Mautic custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

01/06 2018

dev-bug/delete-secure-fields

dev-bug/delete-secure-fields

Extend Mautic custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

01/06 2018

2.12.8

2.12.8.0

Extend Mautic custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

01/06 2018

dev-improvement/performance

dev-improvement/performance

Extend Mautic custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

30/05 2018

dev-bug/table-prefixes

dev-bug/table-prefixes

Extend Mautic custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

15/05 2018

2.12.7

2.12.7.0

Extend Mautic custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

11/05 2018

2.12.6

2.12.6.0

Extend Mautic custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

09/05 2018

2.12.5

2.12.5.0

Extend Mautic custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

09/05 2018

2.12.4

2.12.4.0

Extend Mautic custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

07/05 2018

2.12.3

2.12.3.0

Extend Mautic custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

19/04 2018

2.12.2

2.12.2.0

Extend Mautic custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

19/04 2018

dev-upstream-patches

dev-upstream-patches

Extend Mautic custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

12/04 2018

1.0

1.0.0.0

Extend Mautic custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

12/04 2018

dev-prod-release

dev-prod-release

Extend Mautic custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

11/04 2018

0.24

0.24.0.0

Extend Mautic custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

09/04 2018

0.23

0.23.0.0

Extend Mautic custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

02/04 2018

0.22

0.22.0.0

Extend Mautic custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

02/04 2018

dev-bug/campaign-values

dev-bug/campaign-values

Extend Mautic custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

30/03 2018

0.21

0.21.0.0

Extend Mautic custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

26/03 2018

0.20

0.20.0.0

Extend Mautic custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

16/03 2018

0.19

0.19.0.0

Extend Mautic custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

08/03 2018

0.18

0.18.0.0

Extend Mautic custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

06/03 2018

0.17

0.17.0.0

Extend Mautic custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

06/03 2018

0.16

0.16.0.0

Extend Mautic custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

02/03 2018

0.15

0.15.0.0

Extend Mautic custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

01/03 2018

dev-ENG-99

dev-ENG-99

Extend Mautic custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

26/02 2018

0.14

0.14.0.0

Extend Mautic custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

26/02 2018

0.13

0.13.0.0

Extend Mautic custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

26/02 2018

0.12

0.12.0.0

Extend Mautic custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

26/02 2018

0.11

0.11.0.0

Extend Mautic custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

23/02 2018

0.10

0.10.0.0

Extend Mautic custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

22/02 2018

0.9

0.9.0.0

Extend Mautic custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

22/02 2018

0.8

0.8.0.0

Extend Mautic custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

22/02 2018

0.7

0.7.0.0

Extend Mautic custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

19/02 2018

0.6

0.6.0.0

Extend Mautic custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

14/02 2018

0.5

0.5.0.0

Extend Mautic custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

13/02 2018

0.4

0.4.0.0

Extend Mautic custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

13/02 2018

0.3

0.3.0.0

Extend Mautic custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

11/02 2018

0.2

0.2.0.0

Extend Mautic custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation

07/02 2018

0.1

0.1.0.0

Extend Mautic custom fields for scalability and HIPAA/PCI compliance.

  Sources   Download

GPL-3.0-only

The Requires

 

by Heath Dutton
by Nicholai Bush
by Scott Shipman

plugin marketing mautic marketing automation