You are here:
Add the User Managed Field to the Trigger Handler Page Layout
This article will walk you through adding the User Managed field to the Trigger Handler Page Layout in Education Data Architecture (EDA).
In EDA version 1.37 we modified how EDA manages trigger handler objects and made it easier for developers building on top of EDA to take advantage of TDTM. Part of those changes included a field named "Owned by Namespace". Owned by Namespace is a text field that developers or admins can use to logically group their Trigger Handlers together.
EDA uses Owned by Namespace to manage its own Trigger Handlers. The field allows EDA to know if there were changes or updates, or even if a trigger handler was deleted during an upgrade. This means if a dev or admin adds a common value to Owned by Namespace for all of their Trigger Handlers they will be isolated from EDA or other packages using TDTM. This isolation means they will not need to protect their trigger handlers with "User Managed".
If a Trigger Handler object does not have a value in Owned by Namespace the Trigger handler object can still be protected by the use of the User Manage field. This behavior has not changed. Setting User Managed on an EDA Trigger Handler will still allow users to override it and EDA will skip over the record during upgrade even if there were changes to the Trigger handler definition.
We recommend applying the Owned by Namespace field with a common value for all the Trigger Handler objects a developer has created. This gives them several advantages. First, using the Owned by Namespace field allows the developer to store the definitions in a class which can be saved in source control. Then they can pass their configuration into the EDA TDTM Global API and EDA will perform the processing for them.
This article will explain how to add these fields.
- Add the User Managed Field (Salesforce Classic Interface)
Complete these steps to add the User Managed field in Salesforce Classic. - Add the User Managed Field (Lightning Experience Interface)
Complete these steps to add the User Managed field in Lightning Experience.
Add the User Managed Field (Salesforce Classic Interface)
Complete these steps to add the User Managed field in Salesforce Classic.
- Click Setup.
- In the Quick Find box, enter objects, then select Objects.
- In the list of objects, click Trigger Handler.

- Scroll down to the Page Layouts related list and click Edit.

- Drag the Owned by Namespace and the User Managed field onto the page layout.

- Click Save.
Add the User Managed Field (Lightning Experience Interface)
Complete these steps to add the User Managed field in Lightning Experience.
- Click
, then click Setup. - Click the Object Manager tab.

- Click Trigger Handler.
- Click Page Layouts.
- Click the drop-down arrow to the right of the page layout name,
then click Edit.

- Drag the User Managed field
onto the page layout.

- Click Save.
You can now either enable or disable any trigger and the "pushes" from new versions will not affect your customizations.
We hope this has helped!
