Announcement

Collapse
No announcement yet.

Tree with may-to-many relation

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

  • 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 ?

  • #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


    • #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.

      Comment

      Working...
      X