Entity Creation

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Jaguir Khan
    replied
    Thanks a lot code is working.

    Leave a comment:


  • Maximus
    replied
    Hello,
    You need to add them manually. Please investigate how these fields are defined in the ./application/Espo/Modules/Crm/Resources/metadata/entityDefs/Contact.json file. Example:
    Code:
    "emailAddress": {
                "type": "email",
                "isPersonalData": true
    },
    "phoneNumber": {
                "type": "phone",
                "typeList": ["Mobile", "Office", "Home", "Fax", "Other"],
                "defaultType": "Mobile",
                "isPersonalData": true
    },
    Add this code to the ./custom/Espo/Custom/Resources/metadata/entityDefs/Your-Entity.json file and make a system rebuild via the Administration menu. After, go to Administration -> Layout Manager and add these fields to the layout.

    Leave a comment:


  • Jaguir Khan
    started a topic Entity Creation

    Entity Creation

    In Entity creation I have to add Email and phone fields?
    It is not passable to add the Fields in base type entity creation only person type Entity creation is available Email and Phone Fields. As I am wanted Email and Phone Fields in Base Type Entity Creation
Working...