n8n-nodes-dataverse
Version:
n8n community node for communicating to dataverse
76 lines • 2.42 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.patchOperations = void 0;
const properties_1 = require("./properties");
const operation_1 = require("./operation");
exports.patchOperations = [
{
displayName: "Record Id",
name: properties_1.Properties.PATCH_RECORDID,
type: "string",
default: "",
displayOptions: {
show: {
operation: [operation_1.Operation.PATCH],
},
},
required: true,
description: "Record Id of the record to update",
},
{
displayName: "Entity Name",
name: properties_1.Properties.ENTITYNAME,
type: "options",
typeOptions: {
loadOptionsMethod: "getEntityList",
},
default: "",
displayOptions: {
show: {
operation: [operation_1.Operation.PATCH, operation_1.Operation.POST],
},
},
required: true,
description: "Select the Dataverse entity (e.g., contacts, accounts)",
},
{
displayName: "Columns",
name: "column",
type: "fixedCollection",
typeOptions: {
multipleValues: true,
},
default: {},
displayOptions: {
show: {
operation: [operation_1.Operation.PATCH],
},
},
options: [
{
displayName: "Column",
name: "columnValues",
values: [
{
displayName: "Column Name",
name: "columnName",
type: "options",
typeOptions: {
loadOptionsMethod: "getEntityColumns",
},
default: "",
description: "Select the column to update",
},
{
displayName: "Column Value",
name: "columnValue",
type: "string",
default: "",
description: "Enter the value for the selected column",
},
],
},
],
},
];
//# sourceMappingURL=patchOperations.js.map