Hi,
I want to create field Name in Contact for Custom entity.
I tried with adding code from contact "application/Espo/Modules/Crm/Resources/metadata/entityDefs/Contact.json" to my custom entity.
But It doesn't help me at all.
Please advice.
I want to create field Name in Contact for Custom entity.
I tried with adding code from contact "application/Espo/Modules/Crm/Resources/metadata/entityDefs/Contact.json" to my custom entity.
Code:
"name": {
"type": "personName",
"isPersonalData": true
},
"salutationName": {
"type": "enum",
"options": ["", "Mr.", "Ms.", "Mrs.", "Dr."]
},
"firstName": {
"type": "varchar",
"maxLength": 100,
"default":"",
"trim": true
},
"lastName": {
"type": "varchar",
"maxLength": 100,
"required": true,
"default":"",
"trim": true
},
Please advice.

Comment