Convert Page
Collapse
X
-
You can do it in Administration panel as well. I'he just tested your code and get correct result1 Photo -
-
Hi tanya ,
This is what i have now,
espocrm/custom/Espo/Custom/Resources/metadata/entityDefs/Lead.json
It is still giving me thisCode:{ "convertEntityList": [ "Contact", "Opportunity" ], "convertFields": { "Contact": { }, "Opportunity": { "amount": "opportunityAmount", "leadSource": "source" } } }
I just want contact and opportunity checkbox to show up.
I have also cleared the local cacheLast edited by theBuzzyCoder; 02-26-2018, 11:34 AM.Leave a comment:
-
if I understand you well, create (look for) a file custom/Espo/Custom/Resources/metadata/entityDefs/Lead.json and leave what you need from this (got from application/Espo/Modules/Crm/Resources/metadata/entityDefs/Lead.json)
Code:"convertEntityList": [ "Account", "Contact", "Opportunity" ], "convertFields": { "Contact": { }, "Account": { "name": "accountName", "billingAddressStreet": "addressStreet", "billingAddressCity": "addressCity", "billingAddressState": "addressState", "billingAddressPostalCode": "addressPostalCode", "billingAddressCountry": "addressCountry" }, "Opportunity": { "amount": "opportunityAmount", "leadSource": "source" } },Leave a comment:
-
Thank you i understand i can edit the details of the layout but i can not remove a option altogether so i just need to remove the code. Could you point me to the right area of codeLeave a comment:
-
Hi.
You can do it even in Layout Manager
Account, Contact and Opportunity have "Convert Lead" view.
for example - {pathToEspo}/#Admin/layouts/scope=Contact&type=detailConvertLeave a comment:
-
Convert Page
I am looking for the lead convert layout page code. I need to completely remove 2 options so they are not visible in the layout
Could someone point me in the right direction i am trying to find the code to edit "preferably in a custom upgrade safe way"Tags: None

Leave a comment: