Skip to content

Commit

Permalink
Merge pull request #652 from SalesforceFoundation/feature/242__mobile…
Browse files Browse the repository at this point in the history
…-layout-updates

Dynamic actions for Service Schedule page
  • Loading branch information
AndersonTarren authored Sep 16, 2022
2 parents ccba2a8 + db46d85 commit 5935bd3
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 22 deletions.
35 changes: 22 additions & 13 deletions force-app/main/default/applications/Program_Management.app-meta.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<CustomApplication xmlns="http://soap.sforce.com/2006/04/metadata">
<actionOverrides>
<actionName>Tab</actionName>
<content>Program_Management_Home</content>
<formFactor>Large</formFactor>
<skipRecordTypeSelect>false</skipRecordTypeSelect>
<type>Flexipage</type>
<pageOrSobjectType>standard-home</pageOrSobjectType>
</actionOverrides>
<actionOverrides>
<actionName>View</actionName>
<comment>Action override created by Lightning App Builder during activation.</comment>
Expand Down Expand Up @@ -35,6 +27,14 @@
<type>Flexipage</type>
<pageOrSobjectType>ProgramEngagement__c</pageOrSobjectType>
</actionOverrides>
<actionOverrides>
<actionName>Tab</actionName>
<content>Program_Management_Home</content>
<formFactor>Large</formFactor>
<skipRecordTypeSelect>false</skipRecordTypeSelect>
<type>Flexipage</type>
<pageOrSobjectType>standard-home</pageOrSobjectType>
</actionOverrides>
<actionOverrides>
<actionName>View</actionName>
<comment>Action override created by Lightning App Builder during activation.</comment>
Expand All @@ -53,6 +53,15 @@
<type>Flexipage</type>
<pageOrSobjectType>ServiceDelivery__c</pageOrSobjectType>
</actionOverrides>
<actionOverrides>
<actionName>View</actionName>
<comment>Action override created by Lightning App Builder during activation.</comment>
<content>Service_Participant_Record_Page</content>
<formFactor>Large</formFactor>
<skipRecordTypeSelect>false</skipRecordTypeSelect>
<type>Flexipage</type>
<pageOrSobjectType>ServiceParticipant__c</pageOrSobjectType>
</actionOverrides>
<actionOverrides>
<actionName>View</actionName>
<comment>Action override created by Lightning App Builder during activation.</comment>
Expand All @@ -74,29 +83,29 @@
<actionOverrides>
<actionName>View</actionName>
<comment>Action override created by Lightning App Builder during activation.</comment>
<content>Service_Session_Record_Page</content>
<content>Service_Schedule_Record_Page</content>
<formFactor>Small</formFactor>
<skipRecordTypeSelect>false</skipRecordTypeSelect>
<type>Flexipage</type>
<pageOrSobjectType>ServiceSession__c</pageOrSobjectType>
<pageOrSobjectType>ServiceSchedule__c</pageOrSobjectType>
</actionOverrides>
<actionOverrides>
<actionName>View</actionName>
<comment>Action override created by Lightning App Builder during activation.</comment>
<content>Service_Session_Record_Page</content>
<formFactor>Large</formFactor>
<formFactor>Small</formFactor>
<skipRecordTypeSelect>false</skipRecordTypeSelect>
<type>Flexipage</type>
<pageOrSobjectType>ServiceSession__c</pageOrSobjectType>
</actionOverrides>
<actionOverrides>
<actionName>View</actionName>
<comment>Action override created by Lightning App Builder during activation.</comment>
<content>Service_Participant_Record_Page</content>
<content>Service_Session_Record_Page</content>
<formFactor>Large</formFactor>
<skipRecordTypeSelect>false</skipRecordTypeSelect>
<type>Flexipage</type>
<pageOrSobjectType>ServiceParticipant__c</pageOrSobjectType>
<pageOrSobjectType>ServiceSession__c</pageOrSobjectType>
</actionOverrides>
<brand>
<headerColor>#0070D2</headerColor>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@
<name>header</name>
<type>Region</type>
</flexiPageRegions>
<flexiPageRegions>
<itemInstances>
<componentInstance>
<componentName>force:detailPanel</componentName>
</componentInstance>
</itemInstances>
<name>sidebar</name>
<type>Region</type>
</flexiPageRegions>
<flexiPageRegions>
<itemInstances>
<componentInstance>
Expand All @@ -46,19 +55,31 @@
<name>main</name>
<type>Region</type>
</flexiPageRegions>
<flexiPageRegions>
<itemInstances>
<componentInstance>
<componentName>force:detailPanel</componentName>
</componentInstance>
</itemInstances>
<name>sidebar</name>
<type>Region</type>
</flexiPageRegions>
<masterLabel>Service Schedule Record Page</masterLabel>
<sobjectType>ServiceSchedule__c</sobjectType>
<template>
<name>flexipage:recordHomeLeftSidebarTemplateDesktop</name>
<properties>
<name>actionNames</name>
<valueList>
<valueListItems>
<value>Edit</value>
</valueListItems>
<valueListItems>
<value>Clone</value>
</valueListItems>
<valueListItems>
<value>ServiceSchedule__c.Delete_Future_Sessions</value>
</valueListItems>
<valueListItems>
<value>Delete</value>
</valueListItems>
</valueList>
</properties>
<properties>
<name>enablePageActionConfig</name>
<value>true</value>
</properties>
</template>
<type>RecordPage</type>
</FlexiPage>

0 comments on commit 5935bd3

Please sign in to comment.