How can i delete the default filters in a module

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ashif Malayil
    Senior Member
    • Dec 2023
    • 197

    How can i delete the default filters in a module

    Click image for larger version  Name:	image.png Views:	0 Size:	11.9 KB ID:	116001
    I want to remove the default Planned, Held, Today's filters from this custom module? How can i achieve this?
    Last edited by Ashif Malayil; 03-18-2025, 06:02 AM.
  • emillod
    Active Community Member
    • Apr 2017
    • 1456

    #2
    You can override list of filters in clientDefs clientDefs - EspoCRM Documentation

    Comment

    • Ashif Malayil
      Senior Member
      • Dec 2023
      • 197

      #3
      emillod, I have changed { "name": "held", "style": "success" }, to { "name": "Completed", "style": "success" },
      Path: /application/Espo/Modules/Crm/Resources/metadata/clientDefs/Meeting.json

      But I am getting a error, Error 400: Bad request No primary filter 'Completed' for 'Meeting'. Also Clear cache and Rebuild done.

      This Completed status i have in entityDefs Status field options. Then why i am getting this error? Can you please help me to figure out this?
      Last edited by Ashif Malayil; 03-19-2025, 06:07 AM.

      Comment

      • emillod
        Active Community Member
        • Apr 2017
        • 1456

        #4
        That's because filter Completed is not configured. If you only want to change a name of the held filter, to not be held, but completed, without changing conditions, go to translations and change translation for this filter.

        Comment

        Working...