custom edit to Contact.json

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ryan_WHR
    Member
    • Feb 2016
    • 37

    #1

    custom edit to Contact.json

    i need to edit the contact.json how do i do this in the custom area so its upgrade safe?

    https://github.com/espocrm/espocrm/b...S/Contact.json
    "options": {
    "opportunityRole": {
    "": "--None--",
    "Decision Maker": "Decision Maker",
    "Evaluator": "Evaluator",
    "Influencer": "Influencer"


    OR point me to the right area to edit this to a custom
    Last edited by Ryan_WHR; 08-19-2016, 12:18 AM.
  • yuri
    EspoCRM product developer
    • Mar 2014
    • 9643

    #2
    custom/Espo/Custom/Resources/metadata/i18n/en_US/Contact.json

    Comment

    • Ryan_WHR
      Member
      • Feb 2016
      • 37

      #3
      Having a little Trouble

      ok so i have edited the custom/Espo/Custom/Resources/metadata/i18n/en_US/Contact.json

      and added

      "opportunityRole": {
      "": "--None--",
      "Buyer": "Buyer",
      "Seller": "Seller",
      }

      am i doing this right

      Comment

      • yuri
        EspoCRM product developer
        • Mar 2014
        • 9643

        #4
        excess comma in the end.

        Comment

        • Ryan_WHR
          Member
          • Feb 2016
          • 37

          #5
          ok i have made the changes then did a rebuild and cleared cache with no luck it still shows the defaults

          Comment

          • yuri
            EspoCRM product developer
            • Mar 2014
            • 9643

            #6
            Because you have changed only translation. Try to find where the option list is stored by using search in file contents.

            Comment

            Working...