Skip to content

Commit

Permalink
Add support for Spring '19 metadata API v45
Browse files Browse the repository at this point in the history
Fixes #65
  • Loading branch information
alan-morey committed Feb 25, 2019
1 parent a07fcfc commit ced2c64
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 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 = 44.0
sf.antlib.version = 45.0

# Use 'https://login.salesforce.com' for production or developer edition
# Use 'https://test.salesforce.com for sandbox.
Expand Down
10 changes: 8 additions & 2 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='44.0.0')
@Grab(group='com.force.api', module='force-metadata-api', version='44.0.0')
@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')

import com.sforce.soap.metadata.FileProperties
import com.sforce.soap.metadata.ListMetadataQuery
Expand Down Expand Up @@ -355,6 +355,7 @@ class BulkMetadataManifestBuilder extends ManifestBuilder {
'CspTrustedSite',
'CustomApplicationComponent',
'CustomFeedFilter',
'CustomHelpMenuSection',
'CustomLabels',
'CustomMetadata',
'CustomPageWebLink',
Expand All @@ -366,6 +367,7 @@ class BulkMetadataManifestBuilder extends ManifestBuilder {
'EmbeddedServiceBranding',
'EmbeddedServiceConfig',
'EmbeddedServiceFieldService',
'EmbeddedServiceFlowConfig',
'EmbeddedServiceLiveAgent',
'EntitlementProcess',
'EntitlementTemplate',
Expand All @@ -386,6 +388,7 @@ class BulkMetadataManifestBuilder extends ManifestBuilder {
'InstalledPackage',
'KeywordList',
'LeadConvertSettings',
'LightningComponentBundle',
'LightningExperienceTheme',
'LiveChatAgentConfig',
'LiveChatButton',
Expand All @@ -402,12 +405,15 @@ class BulkMetadataManifestBuilder extends ManifestBuilder {
'PathAssistant',
'PermissionSet',
'PlatformCachePartition',
'PlatformEventChannel',
'Portal',
'PostTemplate',
'ProfilePasswordPolicy',
'ProfileSessionSetting',
'Queue',
'QuickAction',
'RecommendationStrategy',
'RecordActionDeployment',
'RemoteSiteSetting',
'ReportType',
'Role',
Expand Down
Binary file not shown.

0 comments on commit ced2c64

Please sign in to comment.