n8n-nodes-dataverse
Version:
n8n community node for communicating to dataverse
58 lines • 1.85 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.entityLookupOperations = void 0;
const operation_1 = require("./operation");
const properties_1 = require("./properties");
exports.entityLookupOperations = [
{
displayName: "Entity Name",
name: properties_1.Properties.ENTITYNAME,
type: "options",
typeOptions: {
loadOptionsMethod: "getEntityList",
},
default: "",
displayOptions: {
show: {
operation: [operation_1.Operation.ENTITY],
},
},
required: true,
description: "Select the Dataverse entity (e.g., contacts, accounts)",
},
{
displayName: "Id column",
name: properties_1.Properties.ENTITY_ID,
type: "options",
typeOptions: {
loadOptionsMethod: "getEntityColumns",
loadOptionsDependsOn: [properties_1.Properties.ENTITYNAME],
},
displayOptions: {
show: {
operation: [operation_1.Operation.ENTITY],
},
},
required: true,
default: "",
description: "Select the column that contains the id",
},
{
displayName: "Name column",
name: properties_1.Properties.ENTITY_NAME,
type: "options",
typeOptions: {
loadOptionsMethod: "getEntityColumns",
loadOptionsDependsOn: [properties_1.Properties.ENTITYNAME],
},
displayOptions: {
show: {
operation: [operation_1.Operation.ENTITY],
},
},
required: true,
default: "",
description: "Select the column that contains the name",
},
];
//# sourceMappingURL=entityLookupOperations.js.map