Commit a689f83
Salesforce: Make fieldsToUpdate optional in Update Record action (#18890)
* Salesforce: Make fieldsToUpdate optional in Update Record action
Update the Salesforce Update Record action to make the fieldsToUpdate
prop optional, allowing users to utilize the additionalFields prop
immediately after selecting the SObject Type without needing to
manually select fields first.
Changes:
- Made fieldsToUpdate prop optional in update-record.mjs
- Updated additionalProps() to handle empty fieldsToUpdate gracefully
- additionalFields now appears immediately after SObject Type selection
This change maintains backward compatibility with existing workflows
that use manual field selection while providing a more flexible
workflow for users who prefer to specify all fields via additionalFields.
* updates
---------
Co-authored-by: Michelle Bergeron <[email protected]>
Co-authored-by: michelle0927 <[email protected]>1 parent 466f280 commit a689f83
File tree
2 files changed
+10
-5
lines changed- components/salesforce_rest_api
- actions/update-record
2 files changed
+10
-5
lines changedLines changed: 9 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
60 | | - | |
61 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
62 | 67 | | |
63 | 68 | | |
64 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments