-
Notifications
You must be signed in to change notification settings - Fork 8
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 #1304 from bcgov/BCMOHAD-24466
BCMOHAD-24466 && BCMOHAD-24614 || Updated the Visibility changes
- Loading branch information
Showing
15 changed files
with
182 additions
and
9 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Role xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<caseAccessLevel>None</caseAccessLevel> | ||
<contactAccessLevel>Edit</contactAccessLevel> | ||
<mayForecastManagerShare>false</mayForecastManagerShare> | ||
<name>Developer</name> | ||
<opportunityAccessLevel>Edit</opportunityAccessLevel> | ||
</Role> |
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,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Role xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<caseAccessLevel>None</caseAccessLevel> | ||
<contactAccessLevel>Edit</contactAccessLevel> | ||
<mayForecastManagerShare>false</mayForecastManagerShare> | ||
<name>SA Admin</name> | ||
<opportunityAccessLevel>Edit</opportunityAccessLevel> | ||
</Role> |
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,9 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Role xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<caseAccessLevel>None</caseAccessLevel> | ||
<contactAccessLevel>Edit</contactAccessLevel> | ||
<mayForecastManagerShare>false</mayForecastManagerShare> | ||
<name>SA Manager</name> | ||
<opportunityAccessLevel>Edit</opportunityAccessLevel> | ||
<parentRole>SA_Admin</parentRole> | ||
</Role> |
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,9 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Role xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<caseAccessLevel>None</caseAccessLevel> | ||
<contactAccessLevel>Edit</contactAccessLevel> | ||
<mayForecastManagerShare>false</mayForecastManagerShare> | ||
<name>SA Staff</name> | ||
<opportunityAccessLevel>Edit</opportunityAccessLevel> | ||
<parentRole>SA_Manager</parentRole> | ||
</Role> |
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,19 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<CustomApplication xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<brand> | ||
<headerColor>#0070D2</headerColor> | ||
<shouldOverrideOrgTheme>false</shouldOverrideOrgTheme> | ||
</brand> | ||
<description>This is the Default Landing Page</description> | ||
<formFactors>Small</formFactors> | ||
<formFactors>Large</formFactors> | ||
<isNavAutoTempTabsDisabled>false</isNavAutoTempTabsDisabled> | ||
<isNavPersonalizationDisabled>true</isNavPersonalizationDisabled> | ||
<isNavTabPersistenceDisabled>false</isNavTabPersistenceDisabled> | ||
<isOmniPinnedViewEnabled>false</isOmniPinnedViewEnabled> | ||
<label>Home</label> | ||
<navType>Standard</navType> | ||
<tabs>standard-home</tabs> | ||
<uiType>Lightning</uiType> | ||
<utilityBar>Home_UtilityBar</utilityBar> | ||
</CustomApplication> |
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,40 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<FlexiPage xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<flexiPageRegions> | ||
<name>top</name> | ||
<type>Region</type> | ||
</flexiPageRegions> | ||
<flexiPageRegions> | ||
<name>bottomLeft</name> | ||
<type>Region</type> | ||
</flexiPageRegions> | ||
<flexiPageRegions> | ||
<itemInstances> | ||
<componentInstance> | ||
<componentInstanceProperties> | ||
<name>context</name> | ||
<value>BOOKMARKS</value> | ||
</componentInstanceProperties> | ||
<componentName>forceChatter:exposedFeed</componentName> | ||
<identifier>forceChatter_exposedFeed</identifier> | ||
</componentInstance> | ||
</itemInstances> | ||
<name>bottomRight</name> | ||
<type>Region</type> | ||
</flexiPageRegions> | ||
<flexiPageRegions> | ||
<itemInstances> | ||
<componentInstance> | ||
<componentName>runtime_sales_activities:todayTaskContainer</componentName> | ||
<identifier>runtime_sales_activities_todayTaskContainer</identifier> | ||
</componentInstance> | ||
</itemInstances> | ||
<name>sidebar</name> | ||
<type>Region</type> | ||
</flexiPageRegions> | ||
<masterLabel>Home</masterLabel> | ||
<template> | ||
<name>home:desktopTemplate</name> | ||
</template> | ||
<type>HomePage</type> | ||
</FlexiPage> |
20 changes: 20 additions & 0 deletions
20
force-app/main/default/flexipages/Home_UtilityBar.flexipage-meta.xml
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,20 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<FlexiPage xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<flexiPageRegions> | ||
<name>utilityItems</name> | ||
<type>Region</type> | ||
</flexiPageRegions> | ||
<flexiPageRegions> | ||
<name>backgroundComponents</name> | ||
<type>Background</type> | ||
</flexiPageRegions> | ||
<masterLabel>Home UtilityBar</masterLabel> | ||
<template> | ||
<name>one:utilityBarTemplateDesktop</name> | ||
<properties> | ||
<name>isLeftAligned</name> | ||
<value>true</value> | ||
</properties> | ||
</template> | ||
<type>UtilityBar</type> | ||
</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
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
17 changes: 17 additions & 0 deletions
17
force-app/main/default/objects/Case/listViews/Migraine_Queue_Case.listView-meta.xml
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,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ListView xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<fullName>Migraine_Queue_Case</fullName> | ||
<columns>CASES.CASE_NUMBER</columns> | ||
<columns>NAME</columns> | ||
<columns>CASES.SUBJECT</columns> | ||
<columns>CASES.STATUS</columns> | ||
<columns>CASES.PRIORITY</columns> | ||
<columns>CASES.CREATED_DATE</columns> | ||
<columns>CORE.USERS.ALIAS</columns> | ||
<filterScope>Queue</filterScope> | ||
<label>Migraine Queue</label> | ||
<queue>Migraine_Queue</queue> | ||
<sharedTo> | ||
<group>All_SAT_Team_Members</group> | ||
</sharedTo> | ||
</ListView> |
17 changes: 17 additions & 0 deletions
17
force-app/main/default/objects/Case/listViews/Omalizumab_Case.listView-meta.xml
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,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ListView xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<fullName>Omalizumab_Case</fullName> | ||
<columns>CASES.CASE_NUMBER</columns> | ||
<columns>NAME</columns> | ||
<columns>CASES.SUBJECT</columns> | ||
<columns>CASES.STATUS</columns> | ||
<columns>CASES.PRIORITY</columns> | ||
<columns>CASES.CREATED_DATE</columns> | ||
<columns>CORE.USERS.ALIAS</columns> | ||
<filterScope>Queue</filterScope> | ||
<label>Omalizumab</label> | ||
<queue>Omalizumab</queue> | ||
<sharedTo> | ||
<group>All_SAT_Team_Members</group> | ||
</sharedTo> | ||
</ListView> |
17 changes: 17 additions & 0 deletions
17
force-app/main/default/objects/Case/listViews/Service_Case_Case.listView-meta.xml
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,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ListView xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<fullName>Service_Case_Case</fullName> | ||
<columns>CASES.CASE_NUMBER</columns> | ||
<columns>NAME</columns> | ||
<columns>CASES.SUBJECT</columns> | ||
<columns>CASES.STATUS</columns> | ||
<columns>CASES.PRIORITY</columns> | ||
<columns>CASES.CREATED_DATE</columns> | ||
<columns>CORE.USERS.ALIAS</columns> | ||
<filterScope>Queue</filterScope> | ||
<label>Service Case</label> | ||
<queue>Service_Case</queue> | ||
<sharedTo> | ||
<group>All_SAT_Team_Members</group> | ||
</sharedTo> | ||
</ListView> |
8 changes: 8 additions & 0 deletions
8
...main/default/objects/Case/validationRules/SAT_Validate_Case_Owner.validationRule-meta.xml
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,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<fullName>SAT_Validate_Case_Owner</fullName> | ||
<active>true</active> | ||
<description>The purpose of this rule is that only SAT cases can be assigned to SAT queues and SAT Users</description> | ||
<errorConditionFormula>AND(RecordType.DeveloperName ="Special_Authority_Request", ISCHANGED( OwnerId ), NOT(OR(Owner:Queue.DeveloperName = "General_Queue", Owner:Queue.DeveloperName = "AC", Owner:Queue.DeveloperName = "AR", Owner:Queue.DeveloperName = "Compounds", Owner:Queue.DeveloperName = "Hep", Owner:Queue.DeveloperName = "IBD", Owner:Queue.DeveloperName = "IPF_Benra_Mepo", Owner:Queue.DeveloperName = "Insulin_Pumps", Owner:Queue.DeveloperName = "MS", Owner:Queue.DeveloperName = "OAB", Owner:Queue.DeveloperName = "OP", Owner:Queue.DeveloperName = "Off_Label_AR", Owner:Queue.DeveloperName = "PAH", Owner:Queue.DeveloperName = "PP", Owner:Queue.DeveloperName = "Regular", Owner:Queue.DeveloperName = "SAP", Owner:Queue.DeveloperName = "Urgent", Owner:Queue.DeveloperName = "eForm_Failure", Owner:Queue.DeveloperName = "Pharmacist_Regular_Queue", Owner:Queue.DeveloperName = "Pharmacist_Urgent_Queue", Owner:Queue.DeveloperName = "To_be_faxed_queue", Owner:Queue.DeveloperName = "HIBC_Error_Report_Queue", Owner:Queue.DeveloperName = "Fax_Intake", Owner:Queue.DeveloperName = "LCA", Owner:Queue.DeveloperName = "Omalizumab", Owner:Queue.DeveloperName = "Evolocumab_Queue", Owner:Queue.DeveloperName = "Service_Case", Owner:Queue.DeveloperName = "Migraine_Queue")), NOT(OR(Owner:User.UserRole.Name = "Developer",Owner:User.UserRole.Name = "SA Admin",Owner:User.UserRole.Name = "SA Manager",Owner:User.UserRole.Name = "SA Staff")))</errorConditionFormula> | ||
<errorMessage>SAT cases can only be assigned to SAT queues.</errorMessage> | ||
</ValidationRule> |
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