Announcement

Collapse
No announcement yet.

Add a new field to entity that won't allow to use the field manager

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Add a new field to entity that won't allow to use the field manager

    I'm trying to add "country code" field into the phoneNumber entity that doesn't give me a link to use the field manager, so I only added the JSON file as shown in the screenshot.
    What do I need to do in order to get the phone number to split into the country code and the number itself, and display them properly on detail views of contacts/leads, like the 2nd attachment image?

    I know it's a big question but really need to know how to get the backend and frontend work for this little task.

    Thank you!

  • #2
    Let me narrow down the question: how could I add country code to the list template for phone at C:\WinNMP\WWW\EspoCRM\client\res\templates\fields\ phone\list.tpl? This only allows to show phone number by {{value}}, how can I add a value of country code which I managed to add to the database and the entityDefs JSON file.

    Comment


    • #3
      Hello,
      here you can find an example, how to override field in upgrade save way
      The single street address field provided by default is not adequate for our addressing needs so I'm looking to add a second street address field. It's easy

      Comment


      • #4
        Thank you.

        Comment

        Working...
        X