From 4f4e46041581e4250270fe275bb18ae3cadf0a76 Mon Sep 17 00:00:00 2001 From: ashitsalesforce Date: Wed, 7 Feb 2024 09:57:11 -0800 Subject: [PATCH] make "keep account team" and "use bulk API" mutually exclusive "keep account team" feature is not supported in Bulk API. So, make "keep account team" checkbox and "use bulk API" checkbox mutually exclusive. --- .../com/salesforce/dataloader/ui/AdvancedSettingsDialog.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/com/salesforce/dataloader/ui/AdvancedSettingsDialog.java b/src/main/java/com/salesforce/dataloader/ui/AdvancedSettingsDialog.java index 0a3f8697..53eba9ee 100644 --- a/src/main/java/com/salesforce/dataloader/ui/AdvancedSettingsDialog.java +++ b/src/main/java/com/salesforce/dataloader/ui/AdvancedSettingsDialog.java @@ -525,6 +525,7 @@ public void widgetSelected(SelectionEvent e) { super.widgetSelected(e); boolean enabled = buttonKeepAccountTeam.getSelection(); // make sure the appropriate check boxes are enabled or disabled + buttonUseBulkApi.setSelection(!enabled); setBulkSettings(!enabled); } }); @@ -551,8 +552,10 @@ public void widgetSelected(SelectionEvent e) { textBatch.setText(String.valueOf(newDefaultBatchSize)); // make sure the appropriate check boxes are enabled or disabled setBulkSettings(enabled); + buttonKeepAccountTeam.setSelection(!enabled); } }); + buttonKeepAccountTeam.setSelection(!buttonUseBulkApi.getSelection()); // Bulk API serial concurrency mode setting Label labelBulkApiSerialMode = new Label(restComp, SWT.RIGHT | SWT.WRAP);