You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/salesforce_rest_api/actions/upsert-record/upsert-record.mjs
+26-10Lines changed: 26 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -20,16 +20,6 @@ export default {
20
20
description: "The type of object to create a record of",
21
21
reloadProps: true,
22
22
},
23
-
externalIdFieldName: {
24
-
type: "string",
25
-
label: "External ID Field",
26
-
description: "The name of the field used as the external ID. If a record exists with this field having the value specified in `External ID Value`, it will be updated, otherwise a new record will be created.",
27
-
},
28
-
externalIdValue: {
29
-
type: "string",
30
-
label: "External ID Value",
31
-
description: "The value of the external ID field specified above. If a record exists with this value, it will be updated, otherwise a new record will be created.",
content: `[See the documentation](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_${objectType.toLowerCase()}.htm) for information on all available fields.`,
53
48
},
49
+
externalIdFieldName: {
50
+
type: "string",
51
+
label: "External ID Field",
52
+
description: "The field to use as the external ID to identify the record.",
53
+
options: externalIdFieldOptions,
54
+
},
55
+
externalIdFieldValue: {
56
+
type: "string",
57
+
label: "External ID Value",
58
+
description: "The value of the external ID field selected above. If a record with this value exists, it will be updated, otherwise a new one will be created.",
59
+
},
60
+
updateOnly: {
61
+
type: "boolean",
62
+
label: "Update Only",
63
+
description: "If enabled, the action will only update an existing record, but not create one.",
0 commit comments