Can't add one more "Phone" entity

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Cabaret
    Member
    • Nov 2020
    • 36

    Can't add one more "Phone" entity

    Hello,
    I'm trying to add one more "Phone" entity type on the "Account" part but the option isn't appearing to me.
    Can someone help me?
    Thank you!
  • Maximus
    Senior Member
    • Nov 2018
    • 2731

    #2
    Hi,
    There is no such ability to create this field through UI.
    So to achieve it you need:
    1. Add a new phone field description into /custom/Espo/Custom/Resources/metadata/entityDefs/YOUR-ENTITY.json file.
    You can check how it looks in the /application/Espo/Modules/Crm/Resources/metadata/entityDefs/Account.json file.
    2. Rebuild your system (Administration -> Rebuild)
    3. Add this field to the layout (Administration -> Layout Manager -> Your entity -> Detail)

    Comment

    • Cabaret
      Member
      • Nov 2020
      • 36

      #3
      Originally posted by Maximus
      Hi,
      There is no such ability to create this field through UI.
      So to achieve it you need:
      1. Add a new phone field description into /custom/Espo/Custom/Resources/metadata/entityDefs/YOUR-ENTITY.json file.
      You can check how it looks in the /application/Espo/Modules/Crm/Resources/metadata/entityDefs/Account.json file.
      2. Rebuild your system (Administration -> Rebuild)
      3. Add this field to the layout (Administration -> Layout Manager -> Your entity -> Detail)
      Hello Maximus!
      I just did it in the Account.json file but its linking me the same number.
      The custom entity is called "numerocliente"
      What can I do?

      Comment

      Working...