Skip to content

Commit

Permalink
Merge pull request #35 from SalesforceFoundation/feature/robot_gaulayout
Browse files Browse the repository at this point in the history
Robot - Assign GAU Page Layout to System Administrator
  • Loading branch information
gaganpsandhu authored Mar 3, 2021
2 parents c9a22eb + db6b34c commit ab63054
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cumulusci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ tasks:
mapping: datasets/mapping.yml
sql_path: datasets/data.sql

robot_deploy_layouts:
class_path: cumulusci.tasks.salesforce.Deploy
description: "Deploy Page Layouts for Robot Test"
options:
path: robot/OutboundFundsNPSP/resources/layouts

flows:
config_dev:
steps:
Expand All @@ -63,6 +69,8 @@ flows:
steps:
3:
task: load_storytelling_data
4:
task: robot_deploy_layouts

config_managed:
steps:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="UTF-8"?>
<CustomApplication xmlns="http://soap.sforce.com/2006/04/metadata">
<actionOverrides>
<actionName>View</actionName>
<comment>Action override created by Lightning App Builder during activation.</comment>
<content>%%%NAMESPACE%%%Disbursement_NPSP_Record</content>
<formFactor>Large</formFactor>
<skipRecordTypeSelect>false</skipRecordTypeSelect>
<type>Flexipage</type>
<pageOrSobjectType>outfunds__Disbursement__c</pageOrSobjectType>
</actionOverrides>
<actionOverrides>
<actionName>View</actionName>
<comment>Action override created by Lightning App Builder during activation.</comment>
<content>%%%NAMESPACE%%%GAU_Outbound_Funds_Record_Page</content>
<formFactor>Large</formFactor>
<skipRecordTypeSelect>false</skipRecordTypeSelect>
<type>Flexipage</type>
<pageOrSobjectType>npsp__General_Accounting_Unit__c</pageOrSobjectType>
</actionOverrides>
<brand>
<headerColor>#0070D2</headerColor>
<logo>outfunds__Outbound_Funds_Astro</logo>
<logoVersion>1</logoVersion>
<shouldOverrideOrgTheme>false</shouldOverrideOrgTheme>
</brand>
<description>App for Outbound Funds</description>
<formFactors>Large</formFactors>
<isNavAutoTempTabsDisabled>false</isNavAutoTempTabsDisabled>
<isNavPersonalizationDisabled>false</isNavPersonalizationDisabled>
<label>Outbound Funds</label>
<navType>Standard</navType>
<tabs>standard-home</tabs>
<tabs>standard-Task</tabs>
<tabs>standard-Account</tabs>
<tabs>standard-Contact</tabs>
<tabs>outfunds__Funding_Program__c</tabs>
<tabs>outfunds__Funding_Request__c</tabs>
<tabs>outfunds__Requirement__c</tabs>
<tabs>standard-report</tabs>
<tabs>standard-Dashboard</tabs>
<uiType>Lightning</uiType>
<utilityBar>outfunds__Outbound_Funds_UtilityBar</utilityBar>
</CustomApplication>
12 changes: 12 additions & 0 deletions robot/OutboundFundsNPSP/resources/layouts/package.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<members>Admin</members>
<name>Profile</name>
</types>
<types>
<members>outfunds__Outbound_Funds</members>
<name>CustomApplication</name>
</types>
<version>50.0</version>
</Package>
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<Profile xmlns="http://soap.sforce.com/2006/04/metadata">
<userLicense>Salesforce</userLicense>
<custom>false</custom>
<layoutAssignments>
<layout>%%%NAMESPACE%%%GAU_Expenditure__c-%%%NAMESPACE%%%GAU Expenditure Layout</layout>
</layoutAssignments>
<layoutAssignments>
<layout>npsp__General_Accounting_Unit__c-%%%NAMESPACE%%%GAU Outbound Funds Layout</layout>
</layoutAssignments>
<layoutAssignments>
<layout>outfunds__Disbursement__c-%%%NAMESPACE%%%Disbursement NPSP Layout</layout>
</layoutAssignments>
</Profile>

0 comments on commit ab63054

Please sign in to comment.