A trigger handler based on trigger actions configured via custom metadata. It separates the trigger logic per class, and is utilizing the fflib_UnitOfWork to execute the trigger actions. Signed-off-by: WimVelzeboer <wimvelzeboer@protonmail.com>
145 lines
4.9 KiB
XML
145 lines
4.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<Layout xmlns="http://soap.sforce.com/2006/04/metadata">
|
|
<layoutSections>
|
|
<customLabel>false</customLabel>
|
|
<detailHeading>false</detailHeading>
|
|
<editHeading>true</editHeading>
|
|
<label>Information</label>
|
|
<layoutColumns>
|
|
<layoutItems>
|
|
<behavior>Required</behavior>
|
|
<field>MasterLabel</field>
|
|
</layoutItems>
|
|
<layoutItems>
|
|
<behavior>Required</behavior>
|
|
<field>DeveloperName</field>
|
|
</layoutItems>
|
|
</layoutColumns>
|
|
<layoutColumns>
|
|
<layoutItems>
|
|
<behavior>Edit</behavior>
|
|
<field>IsProtected</field>
|
|
</layoutItems>
|
|
<layoutItems>
|
|
<behavior>Required</behavior>
|
|
<field>NamespacePrefix</field>
|
|
</layoutItems>
|
|
</layoutColumns>
|
|
<style>TwoColumnsTopToBottom</style>
|
|
</layoutSections>
|
|
<layoutSections>
|
|
<customLabel>true</customLabel>
|
|
<detailHeading>true</detailHeading>
|
|
<editHeading>true</editHeading>
|
|
<label>Trigger Action Configuration</label>
|
|
<layoutColumns>
|
|
<layoutItems>
|
|
<behavior>Edit</behavior>
|
|
<field>ObjectType__c</field>
|
|
</layoutItems>
|
|
<layoutItems>
|
|
<behavior>Edit</behavior>
|
|
<field>ObjectTypeAlternate__c</field>
|
|
</layoutItems>
|
|
<layoutItems>
|
|
<behavior>Required</behavior>
|
|
<field>ImplementationType__c</field>
|
|
</layoutItems>
|
|
</layoutColumns>
|
|
<layoutColumns>
|
|
<layoutItems>
|
|
<behavior>Required</behavior>
|
|
<field>ExecutionContext__c</field>
|
|
</layoutItems>
|
|
<layoutItems>
|
|
<behavior>Edit</behavior>
|
|
<field>Sequence__c</field>
|
|
</layoutItems>
|
|
<layoutItems>
|
|
<behavior>Edit</behavior>
|
|
<field>Stateful__c</field>
|
|
</layoutItems>
|
|
</layoutColumns>
|
|
<style>TwoColumnsLeftToRight</style>
|
|
</layoutSections>
|
|
<layoutSections>
|
|
<customLabel>true</customLabel>
|
|
<detailHeading>true</detailHeading>
|
|
<editHeading>true</editHeading>
|
|
<label>Trigger Operation Type</label>
|
|
<layoutColumns>
|
|
<layoutItems>
|
|
<behavior>Edit</behavior>
|
|
<field>BeforeInsert__c</field>
|
|
</layoutItems>
|
|
<layoutItems>
|
|
<behavior>Edit</behavior>
|
|
<field>BeforeUpdate__c</field>
|
|
</layoutItems>
|
|
<layoutItems>
|
|
<behavior>Edit</behavior>
|
|
<field>BeforeDelete__c</field>
|
|
</layoutItems>
|
|
</layoutColumns>
|
|
<layoutColumns>
|
|
<layoutItems>
|
|
<behavior>Edit</behavior>
|
|
<field>AfterInsert__c</field>
|
|
</layoutItems>
|
|
<layoutItems>
|
|
<behavior>Edit</behavior>
|
|
<field>AfterUpdate__c</field>
|
|
</layoutItems>
|
|
<layoutItems>
|
|
<behavior>Edit</behavior>
|
|
<field>AfterDelete__c</field>
|
|
</layoutItems>
|
|
<layoutItems>
|
|
<behavior>Edit</behavior>
|
|
<field>AfterUndelete__c</field>
|
|
</layoutItems>
|
|
</layoutColumns>
|
|
<style>TwoColumnsLeftToRight</style>
|
|
</layoutSections>
|
|
<layoutSections>
|
|
<customLabel>false</customLabel>
|
|
<detailHeading>false</detailHeading>
|
|
<editHeading>true</editHeading>
|
|
<label>System Information</label>
|
|
<layoutColumns>
|
|
<layoutItems>
|
|
<behavior>Readonly</behavior>
|
|
<field>CreatedById</field>
|
|
</layoutItems>
|
|
</layoutColumns>
|
|
<layoutColumns>
|
|
<layoutItems>
|
|
<behavior>Readonly</behavior>
|
|
<field>LastModifiedById</field>
|
|
</layoutItems>
|
|
</layoutColumns>
|
|
<style>TwoColumnsTopToBottom</style>
|
|
</layoutSections>
|
|
<layoutSections>
|
|
<customLabel>true</customLabel>
|
|
<detailHeading>true</detailHeading>
|
|
<editHeading>false</editHeading>
|
|
<label>Custom Links</label>
|
|
<layoutColumns/>
|
|
<layoutColumns/>
|
|
<layoutColumns/>
|
|
<style>CustomLinks</style>
|
|
</layoutSections>
|
|
<showEmailCheckbox>false</showEmailCheckbox>
|
|
<showHighlightsPanel>false</showHighlightsPanel>
|
|
<showInteractionLogPanel>false</showInteractionLogPanel>
|
|
<showRunAssignmentRulesCheckbox>false</showRunAssignmentRulesCheckbox>
|
|
<showSubmitAndAttachButton>false</showSubmitAndAttachButton>
|
|
<summaryLayout>
|
|
<masterLabel>00h1g000003HGOK</masterLabel>
|
|
<sizeX>4</sizeX>
|
|
<sizeY>0</sizeY>
|
|
<summaryLayoutStyle>Default</summaryLayoutStyle>
|
|
</summaryLayout>
|
|
</Layout>
|