Skip to content

Commit

Permalink
Add support for Summer '19 API v46.0
Browse files Browse the repository at this point in the history
Also added some missing Metadata Types and fixed typo in some
StandardValueSet names.

Fixes #70
  • Loading branch information
alan-morey committed Aug 7, 2019
1 parent 5e64cf4 commit 7bb1fb3
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 8 deletions.
2 changes: 1 addition & 1 deletion ant-includes/default.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ sf.maxPoll = 200
sf.batchSize = 20

# The version of the antlib jar in lib
sf.antlib.version = 45.0
sf.antlib.version = 46.0

# Use 'https://login.salesforce.com' for production or developer edition
# Use 'https://test.salesforce.com for sandbox.
Expand Down
27 changes: 20 additions & 7 deletions force-meta-backup.groovy
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env groovy
@Grab(group='com.force.api', module='force-partner-api', version='45.0.0')
@Grab(group='com.force.api', module='force-metadata-api', version='45.0.0')
@Grab(group='com.force.api', module='force-partner-api', version='46.0.0')
@Grab(group='com.force.api', module='force-metadata-api', version='46.0.0')

import com.sforce.soap.metadata.FileProperties
import com.sforce.soap.metadata.ListMetadataQuery
Expand Down Expand Up @@ -325,6 +325,7 @@ class BulkMetadataManifestBuilder extends ManifestBuilder {
static TYPES = [
'ActionLinkGroupTemplate',
'AnalyticSnapshot',
'AnimationRule',
'ApexComponent',
'ApexTestSuite',
'ApexTrigger',
Expand All @@ -339,13 +340,13 @@ class BulkMetadataManifestBuilder extends ManifestBuilder {
'Bot',
'BotVersion',
'BrandingSet',
'CMSConnectSource',
'CallCenter',
'CampaignInfluenceModel',
'CaseSubjectParticle',
'Certificate',
'ChatterExtensions',
'ChatterExtension',
'CleanDataService',
'CMSConnectSource',
'Community',
'CommunityTemplateDefinition',
'CommunityThemeDefinition',
Expand All @@ -358,6 +359,7 @@ class BulkMetadataManifestBuilder extends ManifestBuilder {
'CustomHelpMenuSection',
'CustomLabels',
'CustomMetadata',
'CustomNotificationType',
'CustomPageWebLink',
'CustomSite',
'DataCategoryGroup',
Expand All @@ -372,13 +374,16 @@ class BulkMetadataManifestBuilder extends ManifestBuilder {
'EntitlementProcess',
'EntitlementTemplate',
'EscalationRules',
'EclairGeoData',
'EventDelivery',
'EventSubscription',
'ExperienceBundle',
'ExternalServiceRegistration',
'FeatureParameterBoolean',
'FeatureParameterDate',
'FeatureParameterInteger',
'FlexiPage',
'FlowCategory',
'FlowDefinition',
'GlobalValueSet',
'GlobalValueSetTranslation',
Expand All @@ -388,29 +393,35 @@ class BulkMetadataManifestBuilder extends ManifestBuilder {
'InstalledPackage',
'KeywordList',
'LeadConvertSettings',
'LightningBolt',
'LightningComponentBundle',
'LightningExperienceTheme',
'LiveChatAgentConfig',
'LiveChatButton',
'LiveChatDeployment',
'LiveChatSensitiveDataRule',
'MIDomain',
'ManagedTopics',
'MatchingRule',
'MIDomain',
'MilestoneType',
'ModerationRule',
'NamedCredential',
'Network',
'NetworkBranding',
'OrchestrationContext',
'OrchestrationContextEvents',
'PathAssistant',
'PermissionSet',
'PermissionSetGroup',
'PlatformCachePartition',
'PlatformEventChannel',
'Portal',
'PostTemplate',
'ProfilePasswordPolicy',
'ProfileSessionSetting',
'Prompt',
'Queue',
'QueueRoutingConfig',
'QuickAction',
'RecommendationStrategy',
'RecordActionDeployment',
Expand All @@ -432,6 +443,7 @@ class BulkMetadataManifestBuilder extends ManifestBuilder {
'Territory2Rule',
'Territory2Settings',
'Territory2Type',
'TimeSheetTemplate',
'TopicsForObjects',
'TransactionSecurityPolicy',
'UserCriteria',
Expand All @@ -442,6 +454,7 @@ class BulkMetadataManifestBuilder extends ManifestBuilder {
'WaveLens',
'Wavexmd',
'Workflow',
'WorkSkillRouting',
'XOrgHub',
'XOrgHubSharedObject'
]
Expand Down Expand Up @@ -701,7 +714,7 @@ class MiscMetadataManifestBuilder extends ManifestBuilder {
'FiscalYearPeriodPrefix',
'FiscalYearQuarterName',
'FiscalYearQuarterPrefix',
'IdeaCategory1',
'IdeaCategory',
'IdeaMultiCategory',
'IdeaStatus',
'IdeaThemeStatus',
Expand All @@ -714,7 +727,7 @@ class MiscMetadataManifestBuilder extends ManifestBuilder {
'OrderType',
'PartnerRole',
'Product2Family',
'QuestionOrigin1',
'QuestionOrigin',
'QuickTextCategory',
'QuickTextChannel',
'QuoteStatus',
Expand Down
Binary file not shown.

0 comments on commit 7bb1fb3

Please sign in to comment.