@salesforce/plugin-data 4.0.88 → 4.0.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -24
- package/oclif.manifest.json +286 -286
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -144,7 +144,7 @@ EXAMPLES
|
|
|
144
144
|
$ sf data bulk results --job-id 7507i000fake341G --target-org my-scratch
|
|
145
145
|
```
|
|
146
146
|
|
|
147
|
-
_See code: [src/commands/data/bulk/results.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
147
|
+
_See code: [src/commands/data/bulk/results.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.90/src/commands/data/bulk/results.ts)_
|
|
148
148
|
|
|
149
149
|
## `sf data create file`
|
|
150
150
|
|
|
@@ -193,7 +193,7 @@ EXAMPLES
|
|
|
193
193
|
$ sf data create file --file path/to/astro.png --parent-id a03fakeLoJWPIA3
|
|
194
194
|
```
|
|
195
195
|
|
|
196
|
-
_See code: [src/commands/data/create/file.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
196
|
+
_See code: [src/commands/data/create/file.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.90/src/commands/data/create/file.ts)_
|
|
197
197
|
|
|
198
198
|
## `sf data create record`
|
|
199
199
|
|
|
@@ -249,7 +249,7 @@ EXAMPLES
|
|
|
249
249
|
TracedEntityId=01p17000000R6bLAAS"
|
|
250
250
|
```
|
|
251
251
|
|
|
252
|
-
_See code: [src/commands/data/create/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
252
|
+
_See code: [src/commands/data/create/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.90/src/commands/data/create/record.ts)_
|
|
253
253
|
|
|
254
254
|
## `sf data delete bulk`
|
|
255
255
|
|
|
@@ -308,7 +308,7 @@ FLAG DESCRIPTIONS
|
|
|
308
308
|
and can be enabled only by a system administrator.
|
|
309
309
|
```
|
|
310
310
|
|
|
311
|
-
_See code: [src/commands/data/delete/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
311
|
+
_See code: [src/commands/data/delete/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.90/src/commands/data/delete/bulk.ts)_
|
|
312
312
|
|
|
313
313
|
## `sf data delete record`
|
|
314
314
|
|
|
@@ -369,7 +369,7 @@ EXAMPLES
|
|
|
369
369
|
$ sf data delete record --use-tooling-api --sobject TraceFlag --record-id 7tf8c
|
|
370
370
|
```
|
|
371
371
|
|
|
372
|
-
_See code: [src/commands/data/delete/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
372
|
+
_See code: [src/commands/data/delete/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.90/src/commands/data/delete/record.ts)_
|
|
373
373
|
|
|
374
374
|
## `sf data delete resume`
|
|
375
375
|
|
|
@@ -408,7 +408,7 @@ EXAMPLES
|
|
|
408
408
|
$ sf data delete resume --use-most-recent --target-org my-scratch
|
|
409
409
|
```
|
|
410
410
|
|
|
411
|
-
_See code: [src/commands/data/delete/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
411
|
+
_See code: [src/commands/data/delete/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.90/src/commands/data/delete/resume.ts)_
|
|
412
412
|
|
|
413
413
|
## `sf data export bulk`
|
|
414
414
|
|
|
@@ -475,7 +475,7 @@ EXAMPLES
|
|
|
475
475
|
--result-format json --wait 10 --all-rows
|
|
476
476
|
```
|
|
477
477
|
|
|
478
|
-
_See code: [src/commands/data/export/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
478
|
+
_See code: [src/commands/data/export/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.90/src/commands/data/export/bulk.ts)_
|
|
479
479
|
|
|
480
480
|
## `sf data export resume`
|
|
481
481
|
|
|
@@ -514,7 +514,7 @@ EXAMPLES
|
|
|
514
514
|
$ sf data export resume --use-most-recent
|
|
515
515
|
```
|
|
516
516
|
|
|
517
|
-
_See code: [src/commands/data/export/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
517
|
+
_See code: [src/commands/data/export/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.90/src/commands/data/export/resume.ts)_
|
|
518
518
|
|
|
519
519
|
## `sf data export tree`
|
|
520
520
|
|
|
@@ -574,7 +574,7 @@ EXAMPLES
|
|
|
574
574
|
my-scratch
|
|
575
575
|
```
|
|
576
576
|
|
|
577
|
-
_See code: [src/commands/data/export/tree.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
577
|
+
_See code: [src/commands/data/export/tree.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.90/src/commands/data/export/tree.ts)_
|
|
578
578
|
|
|
579
579
|
## `sf data get record`
|
|
580
580
|
|
|
@@ -638,7 +638,7 @@ EXAMPLES
|
|
|
638
638
|
$ sf data get record --use-tooling-api --sobject TraceFlag --record-id 7tf8c
|
|
639
639
|
```
|
|
640
640
|
|
|
641
|
-
_See code: [src/commands/data/get/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
641
|
+
_See code: [src/commands/data/get/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.90/src/commands/data/get/record.ts)_
|
|
642
642
|
|
|
643
643
|
## `sf data import bulk`
|
|
644
644
|
|
|
@@ -690,7 +690,7 @@ EXAMPLES
|
|
|
690
690
|
$ sf data import bulk --file accounts.csv --sobject Account --wait 10 --target-org my-scratch
|
|
691
691
|
```
|
|
692
692
|
|
|
693
|
-
_See code: [src/commands/data/import/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
693
|
+
_See code: [src/commands/data/import/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.90/src/commands/data/import/bulk.ts)_
|
|
694
694
|
|
|
695
695
|
## `sf data import resume`
|
|
696
696
|
|
|
@@ -726,7 +726,7 @@ EXAMPLES
|
|
|
726
726
|
$ sf data import resume --use-most-recent --target-org my-scratch
|
|
727
727
|
```
|
|
728
728
|
|
|
729
|
-
_See code: [src/commands/data/import/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
729
|
+
_See code: [src/commands/data/import/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.90/src/commands/data/import/resume.ts)_
|
|
730
730
|
|
|
731
731
|
## `sf data import tree`
|
|
732
732
|
|
|
@@ -790,7 +790,7 @@ FLAG DESCRIPTIONS
|
|
|
790
790
|
- files(array) - Files: An array of files paths to load
|
|
791
791
|
```
|
|
792
792
|
|
|
793
|
-
_See code: [src/commands/data/import/tree.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
793
|
+
_See code: [src/commands/data/import/tree.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.90/src/commands/data/import/tree.ts)_
|
|
794
794
|
|
|
795
795
|
## `sf data query`
|
|
796
796
|
|
|
@@ -843,7 +843,7 @@ EXAMPLES
|
|
|
843
843
|
$ sf data query --query "SELECT Name FROM ApexTrigger" --use-tooling-api
|
|
844
844
|
```
|
|
845
845
|
|
|
846
|
-
_See code: [src/commands/data/query.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
846
|
+
_See code: [src/commands/data/query.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.90/src/commands/data/query.ts)_
|
|
847
847
|
|
|
848
848
|
## `sf data resume`
|
|
849
849
|
|
|
@@ -880,7 +880,7 @@ EXAMPLES
|
|
|
880
880
|
$ sf data resume --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA
|
|
881
881
|
```
|
|
882
882
|
|
|
883
|
-
_See code: [src/commands/data/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
883
|
+
_See code: [src/commands/data/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.90/src/commands/data/resume.ts)_
|
|
884
884
|
|
|
885
885
|
## `sf data search`
|
|
886
886
|
|
|
@@ -930,7 +930,7 @@ EXAMPLES
|
|
|
930
930
|
$ sf data search --file query.txt --target-org my-scratch --result-format csv
|
|
931
931
|
```
|
|
932
932
|
|
|
933
|
-
_See code: [src/commands/data/search.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
933
|
+
_See code: [src/commands/data/search.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.90/src/commands/data/search.ts)_
|
|
934
934
|
|
|
935
935
|
## `sf data update bulk`
|
|
936
936
|
|
|
@@ -985,7 +985,7 @@ EXAMPLES
|
|
|
985
985
|
$ sf data update bulk --file accounts.csv --sobject Account --wait 10 --target-org my-scratch
|
|
986
986
|
```
|
|
987
987
|
|
|
988
|
-
_See code: [src/commands/data/update/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
988
|
+
_See code: [src/commands/data/update/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.90/src/commands/data/update/bulk.ts)_
|
|
989
989
|
|
|
990
990
|
## `sf data update record`
|
|
991
991
|
|
|
@@ -1047,7 +1047,7 @@ EXAMPLES
|
|
|
1047
1047
|
"ExpirationDate=2017-12-01T00:58:04.000+0000"
|
|
1048
1048
|
```
|
|
1049
1049
|
|
|
1050
|
-
_See code: [src/commands/data/update/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
1050
|
+
_See code: [src/commands/data/update/record.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.90/src/commands/data/update/record.ts)_
|
|
1051
1051
|
|
|
1052
1052
|
## `sf data update resume`
|
|
1053
1053
|
|
|
@@ -1086,7 +1086,7 @@ EXAMPLES
|
|
|
1086
1086
|
$ sf data update resume --use-most-recent
|
|
1087
1087
|
```
|
|
1088
1088
|
|
|
1089
|
-
_See code: [src/commands/data/update/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
1089
|
+
_See code: [src/commands/data/update/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.90/src/commands/data/update/resume.ts)_
|
|
1090
1090
|
|
|
1091
1091
|
## `sf data upsert bulk`
|
|
1092
1092
|
|
|
@@ -1142,7 +1142,7 @@ EXAMPLES
|
|
|
1142
1142
|
my-scratch
|
|
1143
1143
|
```
|
|
1144
1144
|
|
|
1145
|
-
_See code: [src/commands/data/upsert/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
1145
|
+
_See code: [src/commands/data/upsert/bulk.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.90/src/commands/data/upsert/bulk.ts)_
|
|
1146
1146
|
|
|
1147
1147
|
## `sf data upsert resume`
|
|
1148
1148
|
|
|
@@ -1181,7 +1181,7 @@ EXAMPLES
|
|
|
1181
1181
|
$ sf data upsert resume --use-most-recent --target-org my-scratch
|
|
1182
1182
|
```
|
|
1183
1183
|
|
|
1184
|
-
_See code: [src/commands/data/upsert/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
1184
|
+
_See code: [src/commands/data/upsert/resume.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.90/src/commands/data/upsert/resume.ts)_
|
|
1185
1185
|
|
|
1186
1186
|
## `sf force data bulk delete`
|
|
1187
1187
|
|
|
@@ -1228,7 +1228,7 @@ EXAMPLES
|
|
|
1228
1228
|
$ sf force data bulk delete --sobject MyObject__c --file files/delete.csv --wait 5 --target-org my-scratch
|
|
1229
1229
|
```
|
|
1230
1230
|
|
|
1231
|
-
_See code: [src/commands/force/data/bulk/delete.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
1231
|
+
_See code: [src/commands/force/data/bulk/delete.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.90/src/commands/force/data/bulk/delete.ts)_
|
|
1232
1232
|
|
|
1233
1233
|
## `sf force data bulk status`
|
|
1234
1234
|
|
|
@@ -1265,7 +1265,7 @@ EXAMPLES
|
|
|
1265
1265
|
$ sf force data bulk status --job-id 750xx000000005sAAA --batch-id 751xx000000005nAAA --target-org my-scratch
|
|
1266
1266
|
```
|
|
1267
1267
|
|
|
1268
|
-
_See code: [src/commands/force/data/bulk/status.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
1268
|
+
_See code: [src/commands/force/data/bulk/status.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.90/src/commands/force/data/bulk/status.ts)_
|
|
1269
1269
|
|
|
1270
1270
|
## `sf force data bulk upsert`
|
|
1271
1271
|
|
|
@@ -1323,6 +1323,6 @@ EXAMPLES
|
|
|
1323
1323
|
--target-org my-scratch
|
|
1324
1324
|
```
|
|
1325
1325
|
|
|
1326
|
-
_See code: [src/commands/force/data/bulk/upsert.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.
|
|
1326
|
+
_See code: [src/commands/force/data/bulk/upsert.ts](https://github.com/salesforcecli/plugin-data/blob/4.0.90/src/commands/force/data/bulk/upsert.ts)_
|
|
1327
1327
|
|
|
1328
1328
|
<!-- commandsstop -->
|
package/oclif.manifest.json
CHANGED
|
@@ -401,14 +401,13 @@
|
|
|
401
401
|
"search:data"
|
|
402
402
|
]
|
|
403
403
|
},
|
|
404
|
-
"data:
|
|
404
|
+
"data:delete:bulk": {
|
|
405
405
|
"aliases": [],
|
|
406
406
|
"args": {},
|
|
407
|
-
"description": "
|
|
407
|
+
"description": "The CSV file must have only one column (\"Id\") and then the list of record IDs you want to delete, one ID per line.\n\nWhen you execute this command, it starts a job, displays the ID, and then immediately returns control of the terminal to you by default. If you prefer to wait, set the --wait flag to the number of minutes; if it times out, the command outputs the IDs. Use the job ID to check the status of the job with the \"<%= config.bin %> data delete resume\" command.",
|
|
408
408
|
"examples": [
|
|
409
|
-
"
|
|
410
|
-
"
|
|
411
|
-
"Attach the file to a record in the org:\n<%= config.bin %> <%= command.id %> --file path/to/astro.png --parent-id a03fakeLoJWPIA3"
|
|
409
|
+
"Bulk delete Account records from your default org using the list of IDs in the \"files/delete.csv\" file:\n<%= config.bin %> <%= command.id %> --sobject Account --file files/delete.csv",
|
|
410
|
+
"Bulk delete records from a custom object in an org with alias my-scratch and wait 5 minutes for the command to complete:\n<%= config.bin %> <%= command.id %> --sobject MyObject__c --file files/delete.csv --wait 5 --target-org my-scratch"
|
|
412
411
|
],
|
|
413
412
|
"flags": {
|
|
414
413
|
"json": {
|
|
@@ -427,7 +426,12 @@
|
|
|
427
426
|
"type": "option"
|
|
428
427
|
},
|
|
429
428
|
"target-org": {
|
|
429
|
+
"aliases": [
|
|
430
|
+
"targetusername",
|
|
431
|
+
"u"
|
|
432
|
+
],
|
|
430
433
|
"char": "o",
|
|
434
|
+
"deprecateAliases": true,
|
|
431
435
|
"name": "target-org",
|
|
432
436
|
"noCacheDefault": true,
|
|
433
437
|
"required": true,
|
|
@@ -437,77 +441,122 @@
|
|
|
437
441
|
"type": "option"
|
|
438
442
|
},
|
|
439
443
|
"api-version": {
|
|
444
|
+
"aliases": [
|
|
445
|
+
"apiversion"
|
|
446
|
+
],
|
|
447
|
+
"deprecateAliases": true,
|
|
440
448
|
"description": "Override the api version used for api requests made by this command",
|
|
441
449
|
"name": "api-version",
|
|
442
450
|
"hasDynamicHelp": false,
|
|
443
451
|
"multiple": false,
|
|
444
452
|
"type": "option"
|
|
445
453
|
},
|
|
446
|
-
"
|
|
447
|
-
"
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
"
|
|
454
|
+
"loglevel": {
|
|
455
|
+
"deprecated": {
|
|
456
|
+
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
457
|
+
},
|
|
458
|
+
"hidden": true,
|
|
459
|
+
"name": "loglevel",
|
|
451
460
|
"hasDynamicHelp": false,
|
|
452
461
|
"multiple": false,
|
|
453
462
|
"type": "option"
|
|
454
463
|
},
|
|
455
464
|
"file": {
|
|
465
|
+
"aliases": [
|
|
466
|
+
"csvfile"
|
|
467
|
+
],
|
|
456
468
|
"char": "f",
|
|
469
|
+
"deprecateAliases": true,
|
|
457
470
|
"name": "file",
|
|
458
471
|
"required": true,
|
|
459
|
-
"summary": "
|
|
472
|
+
"summary": "CSV file that contains the IDs of the records to update or delete.",
|
|
460
473
|
"hasDynamicHelp": false,
|
|
461
474
|
"multiple": false,
|
|
462
475
|
"type": "option"
|
|
463
476
|
},
|
|
464
|
-
"
|
|
465
|
-
"
|
|
466
|
-
|
|
467
|
-
|
|
477
|
+
"sobject": {
|
|
478
|
+
"aliases": [
|
|
479
|
+
"sobjecttype"
|
|
480
|
+
],
|
|
481
|
+
"char": "s",
|
|
482
|
+
"deprecateAliases": true,
|
|
483
|
+
"name": "sobject",
|
|
484
|
+
"required": true,
|
|
485
|
+
"summary": "API name of the Salesforce object, either standard or custom, that you want to update or delete records from.",
|
|
486
|
+
"hasDynamicHelp": false,
|
|
487
|
+
"multiple": false,
|
|
488
|
+
"type": "option"
|
|
489
|
+
},
|
|
490
|
+
"wait": {
|
|
491
|
+
"char": "w",
|
|
492
|
+
"name": "wait",
|
|
493
|
+
"summary": "Number of minutes to wait for the command to complete before displaying the results.",
|
|
494
|
+
"default": "0 minutes",
|
|
495
|
+
"hasDynamicHelp": true,
|
|
496
|
+
"multiple": false,
|
|
497
|
+
"type": "option"
|
|
498
|
+
},
|
|
499
|
+
"line-ending": {
|
|
500
|
+
"dependsOn": [
|
|
501
|
+
"file"
|
|
502
|
+
],
|
|
503
|
+
"name": "line-ending",
|
|
504
|
+
"summary": "Line ending used in the CSV file. Default value on Windows is `CRLF`; on macOS and Linux it's `LF`.",
|
|
468
505
|
"hasDynamicHelp": false,
|
|
469
506
|
"multiple": false,
|
|
507
|
+
"options": [
|
|
508
|
+
"CRLF",
|
|
509
|
+
"LF"
|
|
510
|
+
],
|
|
470
511
|
"type": "option"
|
|
512
|
+
},
|
|
513
|
+
"hard-delete": {
|
|
514
|
+
"description": "You must have the \"Bulk API Hard Delete\" system permission to use this flag. The permission is disabled by default and can be enabled only by a system administrator.",
|
|
515
|
+
"name": "hard-delete",
|
|
516
|
+
"summary": "Mark the records as immediately eligible for deletion by your org. If you don't specify this flag, the deleted records go into the Recycle Bin.",
|
|
517
|
+
"allowNo": false,
|
|
518
|
+
"type": "boolean"
|
|
471
519
|
}
|
|
472
520
|
},
|
|
473
521
|
"hasDynamicHelp": true,
|
|
474
522
|
"hiddenAliases": [],
|
|
475
|
-
"id": "data:
|
|
523
|
+
"id": "data:delete:bulk",
|
|
476
524
|
"pluginAlias": "@salesforce/plugin-data",
|
|
477
525
|
"pluginName": "@salesforce/plugin-data",
|
|
478
526
|
"pluginType": "core",
|
|
479
527
|
"strict": true,
|
|
480
|
-
"summary": "
|
|
528
|
+
"summary": "Bulk delete records from an org using a CSV file. Uses Bulk API 2.0.",
|
|
481
529
|
"enableJsonFlag": true,
|
|
482
530
|
"isESM": true,
|
|
483
531
|
"relativePath": [
|
|
484
532
|
"lib",
|
|
485
533
|
"commands",
|
|
486
534
|
"data",
|
|
487
|
-
"
|
|
488
|
-
"
|
|
535
|
+
"delete",
|
|
536
|
+
"bulk.js"
|
|
489
537
|
],
|
|
490
538
|
"aliasPermutations": [],
|
|
491
539
|
"permutations": [
|
|
492
|
-
"data:
|
|
493
|
-
"
|
|
494
|
-
"
|
|
495
|
-
"data:
|
|
496
|
-
"
|
|
497
|
-
"
|
|
540
|
+
"data:delete:bulk",
|
|
541
|
+
"delete:data:bulk",
|
|
542
|
+
"delete:bulk:data",
|
|
543
|
+
"data:bulk:delete",
|
|
544
|
+
"bulk:data:delete",
|
|
545
|
+
"bulk:delete:data"
|
|
498
546
|
]
|
|
499
547
|
},
|
|
500
|
-
"data:
|
|
548
|
+
"data:delete:record": {
|
|
501
549
|
"aliases": [
|
|
502
|
-
"force:data:record:
|
|
550
|
+
"force:data:record:delete"
|
|
503
551
|
],
|
|
504
552
|
"args": {},
|
|
505
553
|
"deprecateAliases": true,
|
|
506
|
-
"description": "
|
|
554
|
+
"description": "Specify the record you want to delete with either its ID or with a list of field-value pairs that identify the record. If your list of fields identifies more than one record, the delete fails; the error displays how many records were found.\n\nWhen specifying field-value pairs, use the format <fieldName>=<value>. Enclose all field-value pairs in one set of double quotation marks, delimited by spaces. Enclose values that contain spaces in single quotes.\n\nThis command deletes a record from Salesforce objects by default. Use the --use-tooling-api flag to delete from a Tooling API object.",
|
|
507
555
|
"examples": [
|
|
508
|
-
"
|
|
509
|
-
"
|
|
510
|
-
"
|
|
556
|
+
"Delete a record from Account with the specified (truncated) ID:\n<%= config.bin %> <%= command.id %> --sobject Account --record-id 00180XX",
|
|
557
|
+
"Delete a record from Account whose name equals \"Acme\":\n<%= config.bin %> <%= command.id %> --sobject Account --where \"Name=Acme\"",
|
|
558
|
+
"Delete a record from Account identified with two field values, one that contains a space; the command uses the org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --sobject Account --where \"Name='Universal Containers' Phone='(123) 456-7890'\" --target-org myscratch",
|
|
559
|
+
"Delete a record from the Tooling API object TraceFlag with the specified (truncated) ID:\n<%= config.bin %> <%= command.id %> --use-tooling-api --sobject TraceFlag --record-id 7tf8c"
|
|
511
560
|
],
|
|
512
561
|
"flags": {
|
|
513
562
|
"json": {
|
|
@@ -569,16 +618,27 @@
|
|
|
569
618
|
"deprecateAliases": true,
|
|
570
619
|
"name": "sobject",
|
|
571
620
|
"required": true,
|
|
572
|
-
"summary": "API name of the Salesforce or Tooling API object that you're
|
|
621
|
+
"summary": "API name of the Salesforce or Tooling API object that you're deleting a record from.",
|
|
573
622
|
"hasDynamicHelp": false,
|
|
574
623
|
"multiple": false,
|
|
575
624
|
"type": "option"
|
|
576
625
|
},
|
|
577
|
-
"
|
|
578
|
-
"
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
"
|
|
626
|
+
"record-id": {
|
|
627
|
+
"aliases": [
|
|
628
|
+
"sobjectid"
|
|
629
|
+
],
|
|
630
|
+
"char": "i",
|
|
631
|
+
"deprecateAliases": true,
|
|
632
|
+
"name": "record-id",
|
|
633
|
+
"summary": "ID of the record you’re deleting.",
|
|
634
|
+
"hasDynamicHelp": false,
|
|
635
|
+
"multiple": false,
|
|
636
|
+
"type": "option"
|
|
637
|
+
},
|
|
638
|
+
"where": {
|
|
639
|
+
"char": "w",
|
|
640
|
+
"name": "where",
|
|
641
|
+
"summary": "List of <fieldName>=<value> pairs that identify the record you want to delete.",
|
|
582
642
|
"hasDynamicHelp": false,
|
|
583
643
|
"multiple": false,
|
|
584
644
|
"type": "option"
|
|
@@ -590,7 +650,7 @@
|
|
|
590
650
|
"char": "t",
|
|
591
651
|
"deprecateAliases": true,
|
|
592
652
|
"name": "use-tooling-api",
|
|
593
|
-
"summary": "Use Tooling API so you can
|
|
653
|
+
"summary": "Use Tooling API so you can delete a record from a Tooling API object.",
|
|
594
654
|
"allowNo": false,
|
|
595
655
|
"type": "boolean"
|
|
596
656
|
},
|
|
@@ -608,62 +668,64 @@
|
|
|
608
668
|
},
|
|
609
669
|
"hasDynamicHelp": true,
|
|
610
670
|
"hiddenAliases": [],
|
|
611
|
-
"id": "data:
|
|
671
|
+
"id": "data:delete:record",
|
|
612
672
|
"pluginAlias": "@salesforce/plugin-data",
|
|
613
673
|
"pluginName": "@salesforce/plugin-data",
|
|
614
674
|
"pluginType": "core",
|
|
615
675
|
"strict": true,
|
|
616
|
-
"summary": "
|
|
676
|
+
"summary": "Deletes a single record from a Salesforce or Tooling API object.",
|
|
617
677
|
"enableJsonFlag": true,
|
|
618
678
|
"isESM": true,
|
|
619
679
|
"relativePath": [
|
|
620
680
|
"lib",
|
|
621
681
|
"commands",
|
|
622
682
|
"data",
|
|
623
|
-
"
|
|
683
|
+
"delete",
|
|
624
684
|
"record.js"
|
|
625
685
|
],
|
|
626
686
|
"aliasPermutations": [
|
|
627
|
-
"force:data:record:
|
|
628
|
-
"data:force:record:
|
|
629
|
-
"data:record:force:
|
|
630
|
-
"data:record:
|
|
631
|
-
"force:record:data:
|
|
632
|
-
"record:force:data:
|
|
633
|
-
"record:data:force:
|
|
634
|
-
"record:data:
|
|
635
|
-
"force:record:
|
|
636
|
-
"record:force:
|
|
637
|
-
"record:
|
|
638
|
-
"record:
|
|
639
|
-
"force:data:
|
|
640
|
-
"data:force:
|
|
641
|
-
"data:
|
|
642
|
-
"data:
|
|
643
|
-
"force:
|
|
644
|
-
"
|
|
645
|
-
"
|
|
646
|
-
"
|
|
647
|
-
"force:
|
|
648
|
-
"
|
|
649
|
-
"
|
|
650
|
-
"
|
|
687
|
+
"force:data:record:delete",
|
|
688
|
+
"data:force:record:delete",
|
|
689
|
+
"data:record:force:delete",
|
|
690
|
+
"data:record:delete:force",
|
|
691
|
+
"force:record:data:delete",
|
|
692
|
+
"record:force:data:delete",
|
|
693
|
+
"record:data:force:delete",
|
|
694
|
+
"record:data:delete:force",
|
|
695
|
+
"force:record:delete:data",
|
|
696
|
+
"record:force:delete:data",
|
|
697
|
+
"record:delete:force:data",
|
|
698
|
+
"record:delete:data:force",
|
|
699
|
+
"force:data:delete:record",
|
|
700
|
+
"data:force:delete:record",
|
|
701
|
+
"data:delete:force:record",
|
|
702
|
+
"data:delete:record:force",
|
|
703
|
+
"force:delete:data:record",
|
|
704
|
+
"delete:force:data:record",
|
|
705
|
+
"delete:data:force:record",
|
|
706
|
+
"delete:data:record:force",
|
|
707
|
+
"force:delete:record:data",
|
|
708
|
+
"delete:force:record:data",
|
|
709
|
+
"delete:record:force:data",
|
|
710
|
+
"delete:record:data:force"
|
|
651
711
|
],
|
|
652
712
|
"permutations": [
|
|
653
|
-
"data:
|
|
654
|
-
"
|
|
655
|
-
"
|
|
656
|
-
"data:record:
|
|
657
|
-
"record:data:
|
|
658
|
-
"record:
|
|
713
|
+
"data:delete:record",
|
|
714
|
+
"delete:data:record",
|
|
715
|
+
"delete:record:data",
|
|
716
|
+
"data:record:delete",
|
|
717
|
+
"record:data:delete",
|
|
718
|
+
"record:delete:data"
|
|
659
719
|
]
|
|
660
720
|
},
|
|
661
|
-
"data:
|
|
721
|
+
"data:delete:resume": {
|
|
662
722
|
"aliases": [],
|
|
663
723
|
"args": {},
|
|
664
|
-
"
|
|
724
|
+
"deprecateAliases": true,
|
|
725
|
+
"description": "The command uses the job ID returned by the \"<%= config.bin %> data delete bulk\" command or the most recently-run bulk delete job.",
|
|
665
726
|
"examples": [
|
|
666
|
-
"
|
|
727
|
+
"Resume a bulk delete job from your default org using an ID:\n<%= config.bin %> <%= command.id %> --job-id 750xx000000005sAAA",
|
|
728
|
+
"Resume the most recently run bulk delete job for an org with alias my-scratch:\n<%= config.bin %> <%= command.id %> --use-most-recent --target-org my-scratch"
|
|
667
729
|
],
|
|
668
730
|
"flags": {
|
|
669
731
|
"json": {
|
|
@@ -681,21 +743,45 @@
|
|
|
681
743
|
"multiple": false,
|
|
682
744
|
"type": "option"
|
|
683
745
|
},
|
|
746
|
+
"target-org": {
|
|
747
|
+
"aliases": [
|
|
748
|
+
"targetusername",
|
|
749
|
+
"u"
|
|
750
|
+
],
|
|
751
|
+
"char": "o",
|
|
752
|
+
"deprecateAliases": true,
|
|
753
|
+
"name": "target-org",
|
|
754
|
+
"noCacheDefault": true,
|
|
755
|
+
"summary": "Username or alias of the target org. Not required if the \"target-org\" configuration variable is already set.",
|
|
756
|
+
"hasDynamicHelp": true,
|
|
757
|
+
"multiple": false,
|
|
758
|
+
"type": "option"
|
|
759
|
+
},
|
|
684
760
|
"job-id": {
|
|
761
|
+
"aliases": [
|
|
762
|
+
"jobid"
|
|
763
|
+
],
|
|
685
764
|
"char": "i",
|
|
765
|
+
"deprecateAliases": true,
|
|
686
766
|
"name": "job-id",
|
|
687
|
-
"
|
|
688
|
-
"summary": "Job ID of the bulk job.",
|
|
767
|
+
"summary": "ID of the job you want to resume.",
|
|
689
768
|
"hasDynamicHelp": false,
|
|
690
769
|
"multiple": false,
|
|
691
770
|
"type": "option"
|
|
692
771
|
},
|
|
693
|
-
"
|
|
694
|
-
"
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
"
|
|
698
|
-
"summary": "
|
|
772
|
+
"use-most-recent": {
|
|
773
|
+
"exclusive": [
|
|
774
|
+
"job-id"
|
|
775
|
+
],
|
|
776
|
+
"name": "use-most-recent",
|
|
777
|
+
"summary": "Use the ID of the most recently-run bulk job.",
|
|
778
|
+
"allowNo": false,
|
|
779
|
+
"type": "boolean"
|
|
780
|
+
},
|
|
781
|
+
"wait": {
|
|
782
|
+
"name": "wait",
|
|
783
|
+
"summary": "Number of minutes to wait for the command to complete before displaying the results.",
|
|
784
|
+
"default": "5 minutes",
|
|
699
785
|
"hasDynamicHelp": true,
|
|
700
786
|
"multiple": false,
|
|
701
787
|
"type": "option"
|
|
@@ -706,42 +792,53 @@
|
|
|
706
792
|
"hasDynamicHelp": false,
|
|
707
793
|
"multiple": false,
|
|
708
794
|
"type": "option"
|
|
709
|
-
}
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
795
|
+
},
|
|
796
|
+
"loglevel": {
|
|
797
|
+
"deprecated": {
|
|
798
|
+
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
799
|
+
},
|
|
800
|
+
"hidden": true,
|
|
801
|
+
"name": "loglevel",
|
|
802
|
+
"hasDynamicHelp": false,
|
|
803
|
+
"multiple": false,
|
|
804
|
+
"type": "option"
|
|
805
|
+
}
|
|
806
|
+
},
|
|
807
|
+
"hasDynamicHelp": true,
|
|
808
|
+
"hiddenAliases": [],
|
|
809
|
+
"id": "data:delete:resume",
|
|
810
|
+
"pluginAlias": "@salesforce/plugin-data",
|
|
715
811
|
"pluginName": "@salesforce/plugin-data",
|
|
716
812
|
"pluginType": "core",
|
|
717
813
|
"strict": true,
|
|
718
|
-
"summary": "
|
|
814
|
+
"summary": "Resume a bulk delete job that you previously started. Uses Bulk API 2.0.",
|
|
719
815
|
"enableJsonFlag": true,
|
|
720
816
|
"isESM": true,
|
|
721
817
|
"relativePath": [
|
|
722
818
|
"lib",
|
|
723
819
|
"commands",
|
|
724
820
|
"data",
|
|
725
|
-
"
|
|
726
|
-
"
|
|
821
|
+
"delete",
|
|
822
|
+
"resume.js"
|
|
727
823
|
],
|
|
728
824
|
"aliasPermutations": [],
|
|
729
825
|
"permutations": [
|
|
730
|
-
"data:
|
|
731
|
-
"
|
|
732
|
-
"
|
|
733
|
-
"data:
|
|
734
|
-
"
|
|
735
|
-
"
|
|
826
|
+
"data:delete:resume",
|
|
827
|
+
"delete:data:resume",
|
|
828
|
+
"delete:resume:data",
|
|
829
|
+
"data:resume:delete",
|
|
830
|
+
"resume:data:delete",
|
|
831
|
+
"resume:delete:data"
|
|
736
832
|
]
|
|
737
833
|
},
|
|
738
|
-
"data:
|
|
834
|
+
"data:create:file": {
|
|
739
835
|
"aliases": [],
|
|
740
836
|
"args": {},
|
|
741
|
-
"description": "
|
|
837
|
+
"description": "This command always creates a new file in the org; you can't update an existing file. After a successful upload, the command displays the ID of the new ContentDocument record which represents the uploaded file.\n\nBy default, the uploaded file isn't attached to a record; in the Salesforce UI the file shows up in the Files tab. You can optionally attach the file to an existing record, such as an account, as long as you know its record ID.\n\nYou can also give the file a new name after it's been uploaded; by default its name in the org is the same as the local file name.",
|
|
742
838
|
"examples": [
|
|
743
|
-
"
|
|
744
|
-
"
|
|
839
|
+
"Upload the local file \"resources/astro.png\" to your default org:\n<%= config.bin %> <%= command.id %> --file resources/astro.png",
|
|
840
|
+
"Give the file a different filename after it's uploaded to the org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --file resources/astro.png --title AstroOnABoat.png --target-org my-scratch",
|
|
841
|
+
"Attach the file to a record in the org:\n<%= config.bin %> <%= command.id %> --file path/to/astro.png --parent-id a03fakeLoJWPIA3"
|
|
745
842
|
],
|
|
746
843
|
"flags": {
|
|
747
844
|
"json": {
|
|
@@ -760,12 +857,7 @@
|
|
|
760
857
|
"type": "option"
|
|
761
858
|
},
|
|
762
859
|
"target-org": {
|
|
763
|
-
"aliases": [
|
|
764
|
-
"targetusername",
|
|
765
|
-
"u"
|
|
766
|
-
],
|
|
767
860
|
"char": "o",
|
|
768
|
-
"deprecateAliases": true,
|
|
769
861
|
"name": "target-org",
|
|
770
862
|
"noCacheDefault": true,
|
|
771
863
|
"required": true,
|
|
@@ -775,122 +867,77 @@
|
|
|
775
867
|
"type": "option"
|
|
776
868
|
},
|
|
777
869
|
"api-version": {
|
|
778
|
-
"aliases": [
|
|
779
|
-
"apiversion"
|
|
780
|
-
],
|
|
781
|
-
"deprecateAliases": true,
|
|
782
870
|
"description": "Override the api version used for api requests made by this command",
|
|
783
871
|
"name": "api-version",
|
|
784
872
|
"hasDynamicHelp": false,
|
|
785
873
|
"multiple": false,
|
|
786
874
|
"type": "option"
|
|
787
875
|
},
|
|
788
|
-
"
|
|
789
|
-
"
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
"
|
|
793
|
-
"name": "loglevel",
|
|
876
|
+
"title": {
|
|
877
|
+
"char": "t",
|
|
878
|
+
"name": "title",
|
|
879
|
+
"required": false,
|
|
880
|
+
"summary": "New title given to the file (ContentDocument) after it's uploaded.",
|
|
794
881
|
"hasDynamicHelp": false,
|
|
795
882
|
"multiple": false,
|
|
796
883
|
"type": "option"
|
|
797
884
|
},
|
|
798
885
|
"file": {
|
|
799
|
-
"aliases": [
|
|
800
|
-
"csvfile"
|
|
801
|
-
],
|
|
802
886
|
"char": "f",
|
|
803
|
-
"deprecateAliases": true,
|
|
804
887
|
"name": "file",
|
|
805
888
|
"required": true,
|
|
806
|
-
"summary": "
|
|
807
|
-
"hasDynamicHelp": false,
|
|
808
|
-
"multiple": false,
|
|
809
|
-
"type": "option"
|
|
810
|
-
},
|
|
811
|
-
"sobject": {
|
|
812
|
-
"aliases": [
|
|
813
|
-
"sobjecttype"
|
|
814
|
-
],
|
|
815
|
-
"char": "s",
|
|
816
|
-
"deprecateAliases": true,
|
|
817
|
-
"name": "sobject",
|
|
818
|
-
"required": true,
|
|
819
|
-
"summary": "API name of the Salesforce object, either standard or custom, that you want to update or delete records from.",
|
|
889
|
+
"summary": "Path of file to upload.",
|
|
820
890
|
"hasDynamicHelp": false,
|
|
821
891
|
"multiple": false,
|
|
822
892
|
"type": "option"
|
|
823
893
|
},
|
|
824
|
-
"
|
|
825
|
-
"char": "
|
|
826
|
-
"name": "
|
|
827
|
-
"summary": "
|
|
828
|
-
"default": "0 minutes",
|
|
829
|
-
"hasDynamicHelp": true,
|
|
830
|
-
"multiple": false,
|
|
831
|
-
"type": "option"
|
|
832
|
-
},
|
|
833
|
-
"line-ending": {
|
|
834
|
-
"dependsOn": [
|
|
835
|
-
"file"
|
|
836
|
-
],
|
|
837
|
-
"name": "line-ending",
|
|
838
|
-
"summary": "Line ending used in the CSV file. Default value on Windows is `CRLF`; on macOS and Linux it's `LF`.",
|
|
894
|
+
"parent-id": {
|
|
895
|
+
"char": "i",
|
|
896
|
+
"name": "parent-id",
|
|
897
|
+
"summary": "ID of the record to attach the file to.",
|
|
839
898
|
"hasDynamicHelp": false,
|
|
840
899
|
"multiple": false,
|
|
841
|
-
"options": [
|
|
842
|
-
"CRLF",
|
|
843
|
-
"LF"
|
|
844
|
-
],
|
|
845
900
|
"type": "option"
|
|
846
|
-
},
|
|
847
|
-
"hard-delete": {
|
|
848
|
-
"description": "You must have the \"Bulk API Hard Delete\" system permission to use this flag. The permission is disabled by default and can be enabled only by a system administrator.",
|
|
849
|
-
"name": "hard-delete",
|
|
850
|
-
"summary": "Mark the records as immediately eligible for deletion by your org. If you don't specify this flag, the deleted records go into the Recycle Bin.",
|
|
851
|
-
"allowNo": false,
|
|
852
|
-
"type": "boolean"
|
|
853
901
|
}
|
|
854
902
|
},
|
|
855
903
|
"hasDynamicHelp": true,
|
|
856
904
|
"hiddenAliases": [],
|
|
857
|
-
"id": "data:
|
|
905
|
+
"id": "data:create:file",
|
|
858
906
|
"pluginAlias": "@salesforce/plugin-data",
|
|
859
907
|
"pluginName": "@salesforce/plugin-data",
|
|
860
908
|
"pluginType": "core",
|
|
861
909
|
"strict": true,
|
|
862
|
-
"summary": "
|
|
910
|
+
"summary": "Upload a local file to an org.",
|
|
863
911
|
"enableJsonFlag": true,
|
|
864
912
|
"isESM": true,
|
|
865
913
|
"relativePath": [
|
|
866
914
|
"lib",
|
|
867
915
|
"commands",
|
|
868
916
|
"data",
|
|
869
|
-
"
|
|
870
|
-
"
|
|
917
|
+
"create",
|
|
918
|
+
"file.js"
|
|
871
919
|
],
|
|
872
920
|
"aliasPermutations": [],
|
|
873
921
|
"permutations": [
|
|
874
|
-
"data:
|
|
875
|
-
"
|
|
876
|
-
"
|
|
877
|
-
"data:
|
|
878
|
-
"
|
|
879
|
-
"
|
|
922
|
+
"data:create:file",
|
|
923
|
+
"create:data:file",
|
|
924
|
+
"create:file:data",
|
|
925
|
+
"data:file:create",
|
|
926
|
+
"file:data:create",
|
|
927
|
+
"file:create:data"
|
|
880
928
|
]
|
|
881
929
|
},
|
|
882
|
-
"data:
|
|
930
|
+
"data:create:record": {
|
|
883
931
|
"aliases": [
|
|
884
|
-
"force:data:record:
|
|
932
|
+
"force:data:record:create"
|
|
885
933
|
],
|
|
886
934
|
"args": {},
|
|
887
935
|
"deprecateAliases": true,
|
|
888
|
-
"description": "
|
|
936
|
+
"description": "You must specify a value for all required fields of the object.\n\nWhen specifying fields, use the format <fieldName>=<value>. Enclose all field-value pairs in one set of double quotation marks, delimited by spaces. Enclose values that contain spaces in single quotes.\n\nThis command inserts a record into Salesforce objects by default. Use the --use-tooling-api flag to insert into a Tooling API object.",
|
|
889
937
|
"examples": [
|
|
890
|
-
"
|
|
891
|
-
"
|
|
892
|
-
"
|
|
893
|
-
"Delete a record from the Tooling API object TraceFlag with the specified (truncated) ID:\n<%= config.bin %> <%= command.id %> --use-tooling-api --sobject TraceFlag --record-id 7tf8c"
|
|
938
|
+
"Insert a record into the Account object of your default org; only the required Name field has a value:\n<%= config.bin %> <%= command.id %> --sobject Account --values \"Name=Acme\"",
|
|
939
|
+
"Insert an Account record with values for two fields, one value contains a space; the command uses the org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --sobject Account --values \"Name='Universal Containers' Website=www.example.com\" --target-org my-scratch",
|
|
940
|
+
"Insert a record into the Tooling API object TraceFlag:\n<%= config.bin %> <%= command.id %> --use-tooling-api --sobject TraceFlag --values \"DebugLevelId=7dl170000008U36AAE StartDate=2022-12-15T00:26:04.000+0000 ExpirationDate=2022-12-15T00:56:04.000+0000 LogType=CLASS_TRACING TracedEntityId=01p17000000R6bLAAS\""
|
|
894
941
|
],
|
|
895
942
|
"flags": {
|
|
896
943
|
"json": {
|
|
@@ -952,27 +999,16 @@
|
|
|
952
999
|
"deprecateAliases": true,
|
|
953
1000
|
"name": "sobject",
|
|
954
1001
|
"required": true,
|
|
955
|
-
"summary": "API name of the Salesforce or Tooling API object that you're
|
|
956
|
-
"hasDynamicHelp": false,
|
|
957
|
-
"multiple": false,
|
|
958
|
-
"type": "option"
|
|
959
|
-
},
|
|
960
|
-
"record-id": {
|
|
961
|
-
"aliases": [
|
|
962
|
-
"sobjectid"
|
|
963
|
-
],
|
|
964
|
-
"char": "i",
|
|
965
|
-
"deprecateAliases": true,
|
|
966
|
-
"name": "record-id",
|
|
967
|
-
"summary": "ID of the record you’re deleting.",
|
|
1002
|
+
"summary": "API name of the Salesforce or Tooling API object that you're inserting a record into.",
|
|
968
1003
|
"hasDynamicHelp": false,
|
|
969
1004
|
"multiple": false,
|
|
970
1005
|
"type": "option"
|
|
971
1006
|
},
|
|
972
|
-
"
|
|
973
|
-
"char": "
|
|
974
|
-
"name": "
|
|
975
|
-
"
|
|
1007
|
+
"values": {
|
|
1008
|
+
"char": "v",
|
|
1009
|
+
"name": "values",
|
|
1010
|
+
"required": true,
|
|
1011
|
+
"summary": "Values for the flags in the form <fieldName>=<value>, separate multiple pairs with spaces.",
|
|
976
1012
|
"hasDynamicHelp": false,
|
|
977
1013
|
"multiple": false,
|
|
978
1014
|
"type": "option"
|
|
@@ -984,7 +1020,7 @@
|
|
|
984
1020
|
"char": "t",
|
|
985
1021
|
"deprecateAliases": true,
|
|
986
1022
|
"name": "use-tooling-api",
|
|
987
|
-
"summary": "Use Tooling API so you can
|
|
1023
|
+
"summary": "Use Tooling API so you can insert a record in a Tooling API object.",
|
|
988
1024
|
"allowNo": false,
|
|
989
1025
|
"type": "boolean"
|
|
990
1026
|
},
|
|
@@ -1002,64 +1038,62 @@
|
|
|
1002
1038
|
},
|
|
1003
1039
|
"hasDynamicHelp": true,
|
|
1004
1040
|
"hiddenAliases": [],
|
|
1005
|
-
"id": "data:
|
|
1041
|
+
"id": "data:create:record",
|
|
1006
1042
|
"pluginAlias": "@salesforce/plugin-data",
|
|
1007
1043
|
"pluginName": "@salesforce/plugin-data",
|
|
1008
1044
|
"pluginType": "core",
|
|
1009
1045
|
"strict": true,
|
|
1010
|
-
"summary": "
|
|
1046
|
+
"summary": "Create and insert a record into a Salesforce or Tooling API object.",
|
|
1011
1047
|
"enableJsonFlag": true,
|
|
1012
1048
|
"isESM": true,
|
|
1013
1049
|
"relativePath": [
|
|
1014
1050
|
"lib",
|
|
1015
1051
|
"commands",
|
|
1016
1052
|
"data",
|
|
1017
|
-
"
|
|
1053
|
+
"create",
|
|
1018
1054
|
"record.js"
|
|
1019
1055
|
],
|
|
1020
1056
|
"aliasPermutations": [
|
|
1021
|
-
"force:data:record:
|
|
1022
|
-
"data:force:record:
|
|
1023
|
-
"data:record:force:
|
|
1024
|
-
"data:record:
|
|
1025
|
-
"force:record:data:
|
|
1026
|
-
"record:force:data:
|
|
1027
|
-
"record:data:force:
|
|
1028
|
-
"record:data:
|
|
1029
|
-
"force:record:
|
|
1030
|
-
"record:force:
|
|
1031
|
-
"record:
|
|
1032
|
-
"record:
|
|
1033
|
-
"force:data:
|
|
1034
|
-
"data:force:
|
|
1035
|
-
"data:
|
|
1036
|
-
"data:
|
|
1037
|
-
"force:
|
|
1038
|
-
"
|
|
1039
|
-
"
|
|
1040
|
-
"
|
|
1041
|
-
"force:
|
|
1042
|
-
"
|
|
1043
|
-
"
|
|
1044
|
-
"
|
|
1057
|
+
"force:data:record:create",
|
|
1058
|
+
"data:force:record:create",
|
|
1059
|
+
"data:record:force:create",
|
|
1060
|
+
"data:record:create:force",
|
|
1061
|
+
"force:record:data:create",
|
|
1062
|
+
"record:force:data:create",
|
|
1063
|
+
"record:data:force:create",
|
|
1064
|
+
"record:data:create:force",
|
|
1065
|
+
"force:record:create:data",
|
|
1066
|
+
"record:force:create:data",
|
|
1067
|
+
"record:create:force:data",
|
|
1068
|
+
"record:create:data:force",
|
|
1069
|
+
"force:data:create:record",
|
|
1070
|
+
"data:force:create:record",
|
|
1071
|
+
"data:create:force:record",
|
|
1072
|
+
"data:create:record:force",
|
|
1073
|
+
"force:create:data:record",
|
|
1074
|
+
"create:force:data:record",
|
|
1075
|
+
"create:data:force:record",
|
|
1076
|
+
"create:data:record:force",
|
|
1077
|
+
"force:create:record:data",
|
|
1078
|
+
"create:force:record:data",
|
|
1079
|
+
"create:record:force:data",
|
|
1080
|
+
"create:record:data:force"
|
|
1045
1081
|
],
|
|
1046
1082
|
"permutations": [
|
|
1047
|
-
"data:
|
|
1048
|
-
"
|
|
1049
|
-
"
|
|
1050
|
-
"data:record:
|
|
1051
|
-
"record:data:
|
|
1052
|
-
"record:
|
|
1083
|
+
"data:create:record",
|
|
1084
|
+
"create:data:record",
|
|
1085
|
+
"create:record:data",
|
|
1086
|
+
"data:record:create",
|
|
1087
|
+
"record:data:create",
|
|
1088
|
+
"record:create:data"
|
|
1053
1089
|
]
|
|
1054
1090
|
},
|
|
1055
|
-
"data:
|
|
1091
|
+
"data:bulk:results": {
|
|
1056
1092
|
"aliases": [],
|
|
1057
1093
|
"args": {},
|
|
1058
|
-
"
|
|
1059
|
-
"description": "The command uses the job ID returned by the \"<%= config.bin %> data delete bulk\" command or the most recently-run bulk delete job.",
|
|
1094
|
+
"description": "Use this command to get the complete results after running one of the CLI commands that uses Bulk API 2.0 to ingest (import, update, upsert, or delete) large datasets to your org, such as \"data import bulk\". The previously-run bulk command must have completed; if it's still processing, run the corresponding resume command first, such as \"data import resume.\" Make note of the job ID of the previous bulk command because you use it to run this command. \n\nYou can also use this command to get results from running a bulk ingest job with a different tool, such as Data Loader, as long as you have the job ID. For information on Data Loader, see https://developer.salesforce.com/docs/atlas.en-us.dataLoader.meta/dataLoader/data_loader_intro.htm. \n\nThis command first displays the status of the previous bulk job, the operation that was executed in the org (such as insert or hard delete), and the updated Salesforce object. The command then displays how many records were processed in total, and how many were successful or failed. Finally, the output displays the names of the generated CSV-formatted files that contain the specific results for each ingested record. Depending on the success or failure of the bulk command, the results files can include the IDs of inserted records or the specific errors. When possible, if the ingest job failed or was aborted, you also get a CSV file with the unprocessed results.",
|
|
1060
1095
|
"examples": [
|
|
1061
|
-
"
|
|
1062
|
-
"Resume the most recently run bulk delete job for an org with alias my-scratch:\n<%= config.bin %> <%= command.id %> --use-most-recent --target-org my-scratch"
|
|
1096
|
+
"Get results from a bulk ingest job; use the org with alias \"my-scratch\":\n<%= config.bin %> <%= command.id %> --job-id 7507i000fake341G --target-org my-scratch"
|
|
1063
1097
|
],
|
|
1064
1098
|
"flags": {
|
|
1065
1099
|
"json": {
|
|
@@ -1077,45 +1111,21 @@
|
|
|
1077
1111
|
"multiple": false,
|
|
1078
1112
|
"type": "option"
|
|
1079
1113
|
},
|
|
1080
|
-
"target-org": {
|
|
1081
|
-
"aliases": [
|
|
1082
|
-
"targetusername",
|
|
1083
|
-
"u"
|
|
1084
|
-
],
|
|
1085
|
-
"char": "o",
|
|
1086
|
-
"deprecateAliases": true,
|
|
1087
|
-
"name": "target-org",
|
|
1088
|
-
"noCacheDefault": true,
|
|
1089
|
-
"summary": "Username or alias of the target org. Not required if the \"target-org\" configuration variable is already set.",
|
|
1090
|
-
"hasDynamicHelp": true,
|
|
1091
|
-
"multiple": false,
|
|
1092
|
-
"type": "option"
|
|
1093
|
-
},
|
|
1094
1114
|
"job-id": {
|
|
1095
|
-
"aliases": [
|
|
1096
|
-
"jobid"
|
|
1097
|
-
],
|
|
1098
1115
|
"char": "i",
|
|
1099
|
-
"deprecateAliases": true,
|
|
1100
1116
|
"name": "job-id",
|
|
1101
|
-
"
|
|
1117
|
+
"required": true,
|
|
1118
|
+
"summary": "Job ID of the bulk job.",
|
|
1102
1119
|
"hasDynamicHelp": false,
|
|
1103
1120
|
"multiple": false,
|
|
1104
1121
|
"type": "option"
|
|
1105
1122
|
},
|
|
1106
|
-
"
|
|
1107
|
-
"
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
"
|
|
1111
|
-
"summary": "
|
|
1112
|
-
"allowNo": false,
|
|
1113
|
-
"type": "boolean"
|
|
1114
|
-
},
|
|
1115
|
-
"wait": {
|
|
1116
|
-
"name": "wait",
|
|
1117
|
-
"summary": "Number of minutes to wait for the command to complete before displaying the results.",
|
|
1118
|
-
"default": "5 minutes",
|
|
1123
|
+
"target-org": {
|
|
1124
|
+
"char": "o",
|
|
1125
|
+
"name": "target-org",
|
|
1126
|
+
"noCacheDefault": true,
|
|
1127
|
+
"required": true,
|
|
1128
|
+
"summary": "Username or alias of the target org. Not required if the `target-org` configuration variable is already set.",
|
|
1119
1129
|
"hasDynamicHelp": true,
|
|
1120
1130
|
"multiple": false,
|
|
1121
1131
|
"type": "option"
|
|
@@ -1126,43 +1136,33 @@
|
|
|
1126
1136
|
"hasDynamicHelp": false,
|
|
1127
1137
|
"multiple": false,
|
|
1128
1138
|
"type": "option"
|
|
1129
|
-
},
|
|
1130
|
-
"loglevel": {
|
|
1131
|
-
"deprecated": {
|
|
1132
|
-
"message": "The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored.\nSet the log level using the `SFDX_LOG_LEVEL` environment variable."
|
|
1133
|
-
},
|
|
1134
|
-
"hidden": true,
|
|
1135
|
-
"name": "loglevel",
|
|
1136
|
-
"hasDynamicHelp": false,
|
|
1137
|
-
"multiple": false,
|
|
1138
|
-
"type": "option"
|
|
1139
1139
|
}
|
|
1140
1140
|
},
|
|
1141
1141
|
"hasDynamicHelp": true,
|
|
1142
1142
|
"hiddenAliases": [],
|
|
1143
|
-
"id": "data:
|
|
1143
|
+
"id": "data:bulk:results",
|
|
1144
1144
|
"pluginAlias": "@salesforce/plugin-data",
|
|
1145
1145
|
"pluginName": "@salesforce/plugin-data",
|
|
1146
1146
|
"pluginType": "core",
|
|
1147
1147
|
"strict": true,
|
|
1148
|
-
"summary": "
|
|
1148
|
+
"summary": "Get the results of a bulk ingest job that you previously ran.",
|
|
1149
1149
|
"enableJsonFlag": true,
|
|
1150
1150
|
"isESM": true,
|
|
1151
1151
|
"relativePath": [
|
|
1152
1152
|
"lib",
|
|
1153
1153
|
"commands",
|
|
1154
1154
|
"data",
|
|
1155
|
-
"
|
|
1156
|
-
"
|
|
1155
|
+
"bulk",
|
|
1156
|
+
"results.js"
|
|
1157
1157
|
],
|
|
1158
1158
|
"aliasPermutations": [],
|
|
1159
1159
|
"permutations": [
|
|
1160
|
-
"data:
|
|
1161
|
-
"
|
|
1162
|
-
"
|
|
1163
|
-
"data:
|
|
1164
|
-
"
|
|
1165
|
-
"
|
|
1160
|
+
"data:bulk:results",
|
|
1161
|
+
"bulk:data:results",
|
|
1162
|
+
"bulk:results:data",
|
|
1163
|
+
"data:results:bulk",
|
|
1164
|
+
"results:data:bulk",
|
|
1165
|
+
"results:bulk:data"
|
|
1166
1166
|
]
|
|
1167
1167
|
},
|
|
1168
1168
|
"data:export:bulk": {
|
|
@@ -3166,5 +3166,5 @@
|
|
|
3166
3166
|
]
|
|
3167
3167
|
}
|
|
3168
3168
|
},
|
|
3169
|
-
"version": "4.0.
|
|
3169
|
+
"version": "4.0.90"
|
|
3170
3170
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-data",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.90",
|
|
4
4
|
"description": "Plugin for salesforce data commands",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"homepage": "https://github.com/salesforcecli/plugin-data",
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
"o11yUploadEndpoint": "https://794testsite.my.site.com/byolwr/webruntime/log/metrics",
|
|
125
125
|
"dependencies": {
|
|
126
126
|
"@jsforce/jsforce-node": "^3.10.14",
|
|
127
|
-
"@oclif/multi-stage-output": "^0.8.
|
|
127
|
+
"@oclif/multi-stage-output": "^0.8.36",
|
|
128
128
|
"@salesforce/core": "^8.28.1",
|
|
129
129
|
"@salesforce/kit": "^3.2.6",
|
|
130
130
|
"@salesforce/sf-plugins-core": "^12.2.6",
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
"csv-stringify": "^6.6.0",
|
|
136
136
|
"form-data": "^4.0.5",
|
|
137
137
|
"terminal-link": "^3.0.0",
|
|
138
|
-
"undici": "^7.24.
|
|
138
|
+
"undici": "^7.24.7",
|
|
139
139
|
"zod": "^4.3.6"
|
|
140
140
|
},
|
|
141
141
|
"devDependencies": {
|
|
@@ -274,7 +274,7 @@
|
|
|
274
274
|
"exports": "./lib/index.js",
|
|
275
275
|
"type": "module",
|
|
276
276
|
"sfdx": {
|
|
277
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/4.0.
|
|
278
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/4.0.
|
|
277
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/4.0.90.crt",
|
|
278
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-data/4.0.90.sig"
|
|
279
279
|
}
|
|
280
280
|
}
|