Change field type

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • homeempire
    Senior Member
    • Sep 2014
    • 181

    Change field type

    How can I change field type of "name" in contact - from personName to Varchar?
  • yuri
    Member
    • Mar 2014
    • 8801

    #2
    Create custom/Espo/Custom/Resources/metadata/entityDefs/Contact.json

    PHP Code:
    {
        
    "fields": {
            
    "name": {
                
    "type""varchar"
            
    }
        }

    Rebuild.

    I've not tested it. Not sure if it won't cause problems.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • homeempire
      Senior Member
      • Sep 2014
      • 181

      #3
      Thank You, it's working

      Comment

      Working...