Tree with may-to-many relation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Zuzz
    Member
    • Nov 2023
    • 42

    Tree with may-to-many relation

    Please, I want to set many-to-many relation to tree entiry and table entity.
    Regulary tree uses inCategory where type.
    In SelectManager.php it defined many where types.
    What where type I have to use to select within many-to-many relation ?
  • Zuzz
    Member
    • Nov 2023
    • 42

    #2
    The solution.
    In list.js it's enough to set categoryField: 'TREE_ENTITY_RELATION_NAME',

    Espocrm is excelent. It's most logically harmonious system​ i've ever seen.

    Comment

    • yuri
      Member
      • Mar 2014
      • 8471

      #3
      Might be also needed in the backend: https://github.com/espocrm/espocrm/b...tegory.php#L37

      Note that SelectManager.php is deprecated for long. What exactly you defined there? It should be moved to another place to ensure it will be working in the future versions.
      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

      Working...