Skip to content
This repository has been archived by the owner on Jan 25, 2025. It is now read-only.

Commit

Permalink
Merge pull request #79 from SalesforceFoundation/feature/xinnanli/beh…
Browse files Browse the repository at this point in the history
…aviorResponseLayout

Update Behavior Response Page Layout --> Closing for Sarah. Thanks!
  • Loading branch information
dgamboni authored Oct 21, 2019
2 parents d6da03b + b633048 commit edd9175
Show file tree
Hide file tree
Showing 5 changed files with 283 additions and 0 deletions.
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>
1 change: 1 addition & 0 deletions src/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
<members>hed__Attribute__c-K12 Kit Credential Layout</members>
<members>hed__Attribute__c-K12 Kit Student Characteristic Layout</members>
<members>hed__Behavior_Involvement__c-K12 Kit Behavior Involvement Layout</members>
<members>hed__Behavior_Response__c-K12 Kit Behavior Response Layout</members>
<members>hed__Contact_Language__c-K12 Kit Contact Language Layout</members>
<members>hed__Course_Enrollment__c-K12 Kit Student Course Connection Layout</members>
<members>hed__Course_Enrollment__c-K12 Kit Teacher Course Connection Layout</members>
Expand Down
3 changes: 3 additions & 0 deletions unpackaged/config/trial/profiles/Admin.profile
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@
<layoutAssignments>
<layout>hed__Behavior_Involvement__c-%%%NAMESPACE%%%K12 Kit Behavior Involvement Layout</layout>
</layoutAssignments>
<layoutAssignments>
<layout>hed__Behavior_Response__c-%%%NAMESPACE%%%K12 Kit Behavior Response Layout</layout>
</layoutAssignments>
<layoutAssignments>
<layout>hed__Contact_Language__c-%%%NAMESPACE%%%K12 Kit Contact Language Layout</layout>
</layoutAssignments>
Expand Down
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 unpackaged/post/config/objects/hed__Behavior_Response__c.object
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>

0 comments on commit edd9175

Please sign in to comment.