Number field in Entity Manager
Or if you need auto-increment only (the visible difference is only number field type has defined length, AI - is simple number without '0' on the beginning) , you need to add field manually (see an example https://github.com/espocrm/espocrm/b...s/Case.json#L8)
Display ID On Account Page
Collapse
X
-
Thank you, I successfully added ID to the layout. However, I am looking for something that will auto number. Is there a field that already does this? Is there an existing field in Customer table(s) that could be used?
ScottLeave a comment:
-
Hello,
add ID to the layout. This field is hidden from Layout Manager.
If you have any customization in Account layout, you need to modify the file custom/Espo/Custom/Resources/layouts/Account/detail.json
If you don't have this file, copy it from application/Espo/Modules/Crm/Resources/layouts/Account (you could copy and modify all needed layouts)
add row [{"name":"name"},false], into rows section (the structure is intuitive clear).
After this the field ID will be visible in Layout Manager https://www.espocrm.com/video/layout-manager/Leave a comment:
-
Display ID On Account Page
I assume that the database assigns an ID to each record created. I would like to display that ID when looking at an account. Is this a setting in customizing Espo? What is the way to do this?
TIA
Tags: None
Leave a comment: