Announcement

Collapse
No announcement yet.

How to add a custom filter with custom enum field values?

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

  • #16
    custom/Espo/Custom/Resources/metadata/clientDefs/Lead.json
    with your content
    Code:
    {
        "filterList": [
            {
                "name": "newLeads"
            }
        ]
    }
    And I have this filter in the list. Did you clear the cache?

    Comment


    • rabii
      rabii commented
      Editing a comment
      Hey Tanya,

      Could you please help, i am trying to achieve the following :

      i have created 3 entities : Clients - Services - Projects

      - Client Has Many Projects
      - Client Has Many Services
      - Projects Has Many Services

      I would want to create new project and once i choose the client for this projects then when selecting services for the projects i want to get only services of the client selected for current project, just like the existing relation between call - contacts and account. In the call entity when creating new call for a specific account then in the contacts field you can choose only contacts that belong to this current account. please see attached screenshot.

      this is the link to the question i put on the forum but had not response yet.

      Hi all, i have created 3 entities : Clients - Services - Projects - Client Has Many Projects - Client Has Many Services - Projects Has Many Services I would want to create new project and once i choose the client for this projects then when selecting services for the projects i want to get only services of the client


      can you please help

      Many thanks

  • #17
    Figured out why it was not working. The reason was browser cache. Once I did reload with

    Code:
    Ctrl + Shift + r
    it started working. Thanks for the quick response tanya . Helped me a lot.

    Comment

    Working...
    X