Announcement

Collapse
No announcement yet.

Help with filters

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

  • Help with filters

    Can someone help me how to customize filters in contact entity. At the moment I am seeing whole bunch of filter items that are irrelevant for my client:
    Click image for larger version  Name:	image.png Views:	1 Size:	123.1 KB ID:	101939
    I have tried with adding my wanted filters in custom\Espo\Custom\Resources\metadata\clientDefs\C ontact.json
    Code:
    "filterList": [
            {
                "name": "addressCity"
            },
            {
                "name": "region"
            },
            {
                "name": "municipality"
            },
            {
                "name": "addressCountry"
            }​
    but without any luck, of course after rebuild and clearing cache.
    My Contacts entity fields look like this:
    Click image for larger version  Name:	image.png Views:	1 Size:	173.8 KB ID:	101940Click image for larger version  Name:	image.png Views:	1 Size:	176.4 KB ID:	101941
    Click image for larger version  Name:	image.png Views:	1 Size:	100.1 KB ID:	101942

    Is there a way to show only a filters that is relevant for me in Contacts filters?​​
    Last edited by dnaoverride; 01-24-2024, 02:08 PM.

  • #2
    If I understand you are interested in the list of fields in the Contact entity that your client will use to create different filters for different needs.

    Click image for larger version  Name:	image.png Views:	0 Size:	77.8 KB ID:	101947

    If so, the list of required fields for these filters can be edited in Administration > Entity Manager > Contact > Layouts > Search Filters.​

    Click image for larger version  Name:	image.png Views:	0 Size:	83.3 KB ID:	101948

    Comment


    • dnaoverride
      dnaoverride commented
      Editing a comment
      Perfect, I did figured out it is dynamically populated, should looked better 🙈
Working...
X