Skip to content

Commit

Permalink
Adding embedded service configs
Browse files Browse the repository at this point in the history
  • Loading branch information
pcon committed Mar 29, 2022
1 parent e468e2b commit 2deca3b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ant/1.1/properties/sfdc.metadata.properties
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
# properties defined below...
#
sf.dirs.folderBased = dashboards documents email reports
sf.dirs.nonFolderBased = assignmentRules escalationRules applications classes components datacategorygroups entitlementTemplates entitlementProcesses milestoneTypes homePageComponents homePageLayouts labels layouts letterhead objects objectTranslations pages portals profiles remoteSiteSettings reportTypes scontrols sites staticresources tabs triggers weblinks workflows permissionsets permissionsetgroups flows flowDefinitions callCenters globalPicklists globalValueSets globalValueSetTranslations standardValueSets customMetadata liveChatAgentConfigs liveChatButtons liveChatDeployments liveChatSensitiveDataRules sharingCriteriaRule sharingOwnerRule sharingTerritoryRule sharingGuestRule queues settings emailServices bots
sf.dirs.nonFolderBased = assignmentRules escalationRules applications classes components datacategorygroups entitlementTemplates entitlementProcesses milestoneTypes homePageComponents homePageLayouts labels layouts letterhead objects objectTranslations pages portals profiles remoteSiteSettings reportTypes scontrols sites staticresources tabs triggers weblinks workflows permissionsets permissionsetgroups flows flowDefinitions callCenters globalPicklists globalValueSets globalValueSetTranslations standardValueSets customMetadata liveChatAgentConfigs liveChatButtons liveChatDeployments liveChatSensitiveDataRules sharingCriteriaRule sharingOwnerRule sharingTerritoryRule sharingGuestRule queues settings emailServices bots embeddedServiceConfig
#
# All the supported directories - each directory has a corresponding metadata name.
# Look to the properties entitles sf.metadata.[director name] or sf.dir.[metadata name]
Expand Down Expand Up @@ -86,6 +86,7 @@ sf.includes.liveChatSensitiveDataRules = *.liveChatSensitiveDataRule
sf.includes.queues = *.queue
sf.includes.settings = *.settings
sf.includes.bots = *.bot
sf.includes.embeddedServiceConfig = *.embeddedServiceConfig

sf.includes.sharingCriteriaRule = *.sharingCriteriaRule
sf.includes.sharingGuestRule = *.sharingGuestRule
Expand Down Expand Up @@ -142,6 +143,7 @@ sf.suffix.sharingGuestRule = .sharingGuestRule
sf.suffix.queues = .queue
sf.suffix.settings = .settings
sf.suffix.bots = .bot
sf.suffix.embeddedServiceConfig = .embeddedServiceConfig

#
# When performing diffs, these are the directories
Expand Down Expand Up @@ -235,6 +237,7 @@ sf.metadata.liveChatSensitiveDataRules = LiveChatSensitiveDataRules
sf.metadata.queues = Queue
sf.metadata.settings = Settings
sf.metadata.bots = Bot
sf.metadata.embeddedServiceConfig = EmbeddedServiceConfig

sf.metadata.sharingCriteriaRule = SharingCriteriaRule
sf.metadata.sharingOwnerRule = SharingOwnerRule
Expand Down Expand Up @@ -297,6 +300,7 @@ sf.dir.LiveChatSensitiveDataRules = liveChatSensitiveDataRule
sf.dir.Queue = queues
sf.dir.Settings = settings
sf.dir.Bots = bots
sf.dir.EmbeddedServiceConfig = embeddedServiceConfig

sf.dir.SharingCriteriaRule = sharingCriteriaRule
sf.dir.SharingOwnerRule = sharingOwnerRule
Expand All @@ -322,7 +326,7 @@ sf.members = sf.members.objects sf.members.standardValueSets
#
# Denotes which directories support an "all" deploy/retrive.
#
sf.all = assignmentRules escalationRules classes objects components pages triggers applications labels objectTranslations weblinks sites tabs datacategorygroups entitlementTemplates entitlementProcesses milestoneTypes homePageComponents homePageLayouts layouts permissionsets permissionsetgroups portals profiles remoteSiteSettings report reportTypes scontrols staticResources translations workflows flows sharingCriteriaRule sharingOwnerRule sharingTerritoryRule sharingGuestRule sharingSets queues settings bots
sf.all = assignmentRules escalationRules classes objects components pages triggers applications labels objectTranslations weblinks sites tabs datacategorygroups entitlementTemplates entitlementProcesses milestoneTypes homePageComponents homePageLayouts layouts permissionsets permissionsetgroups portals profiles remoteSiteSettings report reportTypes scontrols staticResources translations workflows flows sharingCriteriaRule sharingOwnerRule sharingTerritoryRule sharingGuestRule sharingSets queues settings bots embeddedServiceConfig

#
# Additional ancillary properties
Expand Down
3 changes: 3 additions & 0 deletions ant/1.1/util/sfdc-util.xml
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ ${sfdc-util.SF-JAR.PATH}
xmlMap.put("authproviders", "AuthProvider");
xmlMap.put("sites", "CustomSite");
xmlMap.put("bots", "Bot");
xmlMap.put("embeddedServiceConfig", "EmbeddedServiceConfig");
xmlMap.put("sharingCriteriaRule", "SharingCriteriaRule");
xmlMap.put("sharingGuestRule", "SharingGuestRule");
Expand Down Expand Up @@ -339,6 +340,7 @@ ${sfdc-util.SF-JAR.PATH}
suffixMap.put("authproviders", "authprovider");
suffixMap.put("sites", "site");
suffixMap.put("bots", "bot");
suffixMap.put("embeddedServiceConfig", "embeddedServiceConfig");
suffixMap.put("sharingCriteriaRule", "sharingRules");
suffixMap.put("sharingGuestRule", "sharingRules");
Expand Down Expand Up @@ -430,6 +432,7 @@ ${sfdc-util.SF-JAR.PATH}
wildcardSet.add("GlobalValueSetTranslations");
wildcardSet.add("StandardValueSets");
wildcardSet.add("Bots");
wildcardSet.add("EmbeddedServiceConfig");
Set folderSet = new TreeSet(); // Dir name to folder.
folderSet.add("reports");
Expand Down

0 comments on commit 2deca3b

Please sign in to comment.