Is it possible to convert a lead into contact without rewrite all the "customer card" contact?
Convert lead into contact
Collapse
X
-
Tags: None
-
check this file
/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Lead.json
create (modify if exists) /custom/Espo/Custom/Resources/metadata/entityDefs/Lead.json
override section
"convertFields": { "Contact": { "{contactField}":"{leadField}" } }
-
Yes, I have done, but if I try to convert a lead into a contact I must to copy and paste all the fieldComment
-
By rebuilding espocrm the server respond to me: Bad server response with a complete white page.
This I have written in the json file:
{"convertFields": { "Contact": { "{contactField}":"{leadField}" } } }Comment
-
Now is writting this in the file
Code:{ "fields": { "convertFields": { "Contact": { "{contactField}":"{leadField}", } }
Comment
-
are you kidding?
use Account settings as example.
Code:"Account": { "name": "accountName", "billingAddressStreet": "addressStreet", "billingAddressCity": "addressCity", "billingAddressState": "addressState", "billingAddressPostalCode": "addressPostalCode", "billingAddressCountry": "addressCountry" }
Comment
-
-
Ok, but I don't understand why this feature is not set by default to convert a lead into a contact. Is it useful for all.Comment
Comment