selectPrimaryFilterName -> No primary filter found

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • papermoon
    Member
    • Dec 2021
    • 32

    #1

    selectPrimaryFilterName -> No primary filter found

    Hi!

    Basically I try to follow the steps as described for example in https://forum.espocrm.com/forum/deve...current-record

    But it doesn't matter if I use the built in filter

    "selectHandler": "handlers/select-related/same-account"

    or my custom one, I always get a message telling me

    No primary filter 'handlers/select-related/same-account' for 'Contact'

    Where Contact is my entity I want to select records from.

    Looks like I miss something, but I cannot find out. Version 9.1.6



  • yuri
    EspoCRM product developer
    • Mar 2014
    • 9485

    #2
    Hi,

    Maybe the wrong key is cached – you set 'selectPrimaryFilterName' instead of 'selectHandler' earlier and it's cached.
    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

    • papermoon
      Member
      • Dec 2021
      • 32

      #3
      Originally posted by yuri
      Hi,

      Maybe the wrong key is cached – you set 'selectPrimaryFilterName' instead of 'selectHandler' earlier and it's cached.
      Probably you are right. I started from scratch again and it is working. :-) Thank you!

      Comment

      Working...