This repository has been archived by the owner on Jan 25, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #79 from SalesforceFoundation/feature/xinnanli/beh…
…aviorResponseLayout Update Behavior Response Page Layout --> Closing for Sarah. Thanks!
- Loading branch information
Showing
5 changed files
with
283 additions
and
0 deletions.
There are no files selected for viewing
154 changes: 154 additions & 0 deletions
154
src/layouts/hed__Behavior_Response__c-K12 Kit Behavior Response Layout.layout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,154 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Layout xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<excludeButtons>Submit</excludeButtons> | ||
<layoutSections> | ||
<customLabel>false</customLabel> | ||
<detailHeading>false</detailHeading> | ||
<editHeading>true</editHeading> | ||
<label>Information</label> | ||
<layoutColumns> | ||
<layoutItems> | ||
<behavior>Readonly</behavior> | ||
<field>Name</field> | ||
</layoutItems> | ||
<layoutItems> | ||
<behavior>Required</behavior> | ||
<field>hed__Behavior_Involvement__c</field> | ||
</layoutItems> | ||
<layoutItems> | ||
<behavior>Readonly</behavior> | ||
<field>hed__Contact__c</field> | ||
</layoutItems> | ||
<layoutItems> | ||
<behavior>Edit</behavior> | ||
<field>hed__Description__c</field> | ||
</layoutItems> | ||
</layoutColumns> | ||
<layoutColumns> | ||
<layoutItems> | ||
<behavior>Required</behavior> | ||
<field>hed__Type__c</field> | ||
</layoutItems> | ||
<layoutItems> | ||
<behavior>Edit</behavior> | ||
<field>hed__Status__c</field> | ||
</layoutItems> | ||
<layoutItems> | ||
<behavior>Edit</behavior> | ||
<field>hed__Start_Date__c</field> | ||
</layoutItems> | ||
<layoutItems> | ||
<behavior>Edit</behavior> | ||
<field>hed__End_Date__c</field> | ||
</layoutItems> | ||
</layoutColumns> | ||
<style>TwoColumnsTopToBottom</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>false</detailHeading> | ||
<editHeading>true</editHeading> | ||
<label>Custom Links</label> | ||
<layoutColumns/> | ||
<layoutColumns/> | ||
<layoutColumns/> | ||
<style>CustomLinks</style> | ||
</layoutSections> | ||
<platformActionList> | ||
<actionListContext>Record</actionListContext> | ||
<platformActionListItems> | ||
<actionName>NewTask</actionName> | ||
<actionType>QuickAction</actionType> | ||
<sortOrder>2</sortOrder> | ||
</platformActionListItems> | ||
<platformActionListItems> | ||
<actionName>NewCase</actionName> | ||
<actionType>QuickAction</actionType> | ||
<sortOrder>3</sortOrder> | ||
</platformActionListItems> | ||
<platformActionListItems> | ||
<actionName>PrintableView</actionName> | ||
<actionType>StandardButton</actionType> | ||
<sortOrder>4</sortOrder> | ||
</platformActionListItems> | ||
<platformActionListItems> | ||
<actionName>ChangeRecordType</actionName> | ||
<actionType>StandardButton</actionType> | ||
<sortOrder>5</sortOrder> | ||
</platformActionListItems> | ||
<platformActionListItems> | ||
<actionName>ChangeOwnerOne</actionName> | ||
<actionType>StandardButton</actionType> | ||
<sortOrder>6</sortOrder> | ||
</platformActionListItems> | ||
<platformActionListItems> | ||
<actionName>Clone</actionName> | ||
<actionType>StandardButton</actionType> | ||
<sortOrder>7</sortOrder> | ||
</platformActionListItems> | ||
<platformActionListItems> | ||
<actionName>Delete</actionName> | ||
<actionType>StandardButton</actionType> | ||
<sortOrder>8</sortOrder> | ||
</platformActionListItems> | ||
<platformActionListItems> | ||
<actionName>Edit</actionName> | ||
<actionType>StandardButton</actionType> | ||
<sortOrder>0</sortOrder> | ||
</platformActionListItems> | ||
<platformActionListItems> | ||
<actionName>NewNote</actionName> | ||
<actionType>QuickAction</actionType> | ||
<sortOrder>1</sortOrder> | ||
</platformActionListItems> | ||
</platformActionList> | ||
<relatedLists> | ||
<fields>TASK.SUBJECT</fields> | ||
<fields>TASK.WHO_NAME</fields> | ||
<fields>ACTIVITY.TASK</fields> | ||
<fields>TASK.DUE_DATE</fields> | ||
<fields>TASK.STATUS</fields> | ||
<fields>TASK.PRIORITY</fields> | ||
<fields>CORE.USERS.FULL_NAME</fields> | ||
<relatedList>RelatedActivityList</relatedList> | ||
</relatedLists> | ||
<relatedLists> | ||
<fields>TASK.SUBJECT</fields> | ||
<fields>TASK.WHO_NAME</fields> | ||
<fields>ACTIVITY.TASK</fields> | ||
<fields>TASK.DUE_DATE</fields> | ||
<fields>CORE.USERS.FULL_NAME</fields> | ||
<fields>TASK.LAST_UPDATE</fields> | ||
<relatedList>RelatedHistoryList</relatedList> | ||
</relatedLists> | ||
<showEmailCheckbox>false</showEmailCheckbox> | ||
<showHighlightsPanel>false</showHighlightsPanel> | ||
<showInteractionLogPanel>false</showInteractionLogPanel> | ||
<showRunAssignmentRulesCheckbox>false</showRunAssignmentRulesCheckbox> | ||
<showSubmitAndAttachButton>false</showSubmitAndAttachButton> | ||
<summaryLayout> | ||
<masterLabel>00h1F000001Hj8Y</masterLabel> | ||
<sizeX>4</sizeX> | ||
<sizeY>0</sizeY> | ||
<summaryLayoutStyle>Default</summaryLayoutStyle> | ||
</summaryLayout> | ||
</Layout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
93 changes: 93 additions & 0 deletions
93
unpackaged/post/config/flexipages/K12_Behavior_Response_Record_Page.flexipage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<FlexiPage xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<flexiPageRegions> | ||
<componentInstances> | ||
<componentInstanceProperties> | ||
<name>collapsed</name> | ||
<value>false</value> | ||
</componentInstanceProperties> | ||
<componentInstanceProperties> | ||
<name>hideChatterActions</name> | ||
<value>false</value> | ||
</componentInstanceProperties> | ||
<componentInstanceProperties> | ||
<name>numVisibleActions</name> | ||
<value>3</value> | ||
</componentInstanceProperties> | ||
<componentName>force:highlightsPanel</componentName> | ||
</componentInstances> | ||
<mode>Replace</mode> | ||
<name>header</name> | ||
<type>Region</type> | ||
</flexiPageRegions> | ||
<flexiPageRegions> | ||
<componentInstances> | ||
<componentName>runtime_sales_activities:activityPanel</componentName> | ||
</componentInstances> | ||
<mode>Replace</mode> | ||
<name>activityTabContent</name> | ||
<type>Facet</type> | ||
</flexiPageRegions> | ||
<flexiPageRegions> | ||
<componentInstances> | ||
<componentInstanceProperties> | ||
<name>active</name> | ||
<value>true</value> | ||
</componentInstanceProperties> | ||
<componentInstanceProperties> | ||
<name>body</name> | ||
<value>activityTabContent</value> | ||
</componentInstanceProperties> | ||
<componentInstanceProperties> | ||
<name>title</name> | ||
<value>Standard.Tab.activity</value> | ||
</componentInstanceProperties> | ||
<componentName>flexipage:tab</componentName> | ||
</componentInstances> | ||
<mode>Replace</mode> | ||
<name>sidebartabs</name> | ||
<type>Facet</type> | ||
</flexiPageRegions> | ||
<flexiPageRegions> | ||
<componentInstances> | ||
<componentName>force:detailPanel</componentName> | ||
</componentInstances> | ||
<componentInstances> | ||
<componentInstanceProperties> | ||
<name>tabs</name> | ||
<value>sidebartabs</value> | ||
</componentInstanceProperties> | ||
<componentName>flexipage:tabset</componentName> | ||
</componentInstances> | ||
<mode>Replace</mode> | ||
<name>main</name> | ||
<type>Region</type> | ||
</flexiPageRegions> | ||
<flexiPageRegions> | ||
<componentInstances> | ||
<componentInstanceProperties> | ||
<name>relatedListComponentOverride</name> | ||
<value>NONE</value> | ||
</componentInstanceProperties> | ||
<componentInstanceProperties> | ||
<name>rowsToDisplay</name> | ||
<value>10</value> | ||
</componentInstanceProperties> | ||
<componentInstanceProperties> | ||
<name>showActionBar</name> | ||
<value>true</value> | ||
</componentInstanceProperties> | ||
<componentName>force:relatedListContainer</componentName> | ||
</componentInstances> | ||
<mode>Replace</mode> | ||
<name>sidebar</name> | ||
<type>Region</type> | ||
</flexiPageRegions> | ||
<masterLabel>Behavior Response Record Page</masterLabel> | ||
<parentFlexiPage>flexipage__default_rec_L</parentFlexiPage> | ||
<sobjectType>hed__Behavior_Response__c</sobjectType> | ||
<template> | ||
<name>flexipage:recordHomeTemplateDesktop</name> | ||
</template> | ||
<type>RecordPage</type> | ||
</FlexiPage> |
32 changes: 32 additions & 0 deletions
32
unpackaged/post/config/objects/hed__Behavior_Response__c.object
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<CustomObject xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<actionOverrides> | ||
<actionName>View</actionName> | ||
<comment>Action override created by Lightning App Builder during activation.</comment> | ||
<content>K12_Behavior_Response_Record_Page</content> | ||
<formFactor>Large</formFactor> | ||
<skipRecordTypeSelect>false</skipRecordTypeSelect> | ||
<type>Flexipage</type> | ||
</actionOverrides> | ||
<compactLayoutAssignment>K12_Behavior_Response_Compact_Layout</compactLayoutAssignment> | ||
<compactLayouts> | ||
<fullName>K12_Behavior_Response_Compact_Layout</fullName> | ||
<fields>hed__Contact__c</fields> | ||
<fields>hed__Type__c</fields> | ||
<fields>hed__Status__c</fields> | ||
<label>K12 Behavior Response Compact Layout</label> | ||
</compactLayouts> | ||
<deploymentStatus>Deployed</deploymentStatus> | ||
<description>Stores information about the response to a behavior event.</description> | ||
<enableActivities>true</enableActivities> | ||
<enableReports>true</enableReports> | ||
<label>Behavior Response</label> | ||
<nameField> | ||
<displayFormat>BR-{0000}</displayFormat> | ||
<label>Behavior Response Name</label> | ||
<trackHistory>false</trackHistory> | ||
<type>AutoNumber</type> | ||
</nameField> | ||
<pluralLabel>Behavior Responses</pluralLabel> | ||
<sharingModel>ReadWrite</sharingModel> | ||
</CustomObject> |