Add custom fields to contact resource on Hubspot-Node (#893)

This commit is contained in:
Ricardo Espinoza
2020-08-27 02:20:29 -04:00
committed by GitHub
parent 9fd69bb350
commit d26cc64163
2 changed files with 68 additions and 0 deletions

View File

@@ -171,6 +171,41 @@ export const contactFields = [
type: 'string',
default: '',
},
{
displayName: 'Custom Properties',
name: 'customPropertiesUi',
placeholder: 'Add Custom Property',
type: 'fixedCollection',
typeOptions: {
multipleValues: true,
},
default: {},
options: [
{
name: 'customPropertiesValues',
displayName: 'Custom Property',
values: [
{
displayName: 'Property',
name: 'property',
type: 'options',
typeOptions: {
loadOptionsMethod: 'getContactCustomProperties',
},
default: '',
description: 'Name of the property.',
},
{
displayName: 'Value',
name: 'value',
type: 'string',
default: '',
description: 'Value of the property',
},
],
},
],
},
{
displayName: 'Date of Birth',
name: 'dateOfBirth',