custom view hidden filter

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hupka36@gmail.com
    Junior Member
    • Jan 2021
    • 16

    custom view hidden filter

    Hi,
    how can I make hidden default filter in custom view
    (i need not changable filter for user - for example they must select only account with inactive=false)

    examples of custom view works good, but predefined filters are first things that users see and can change

    thank you very much
    wbr .s.
  • esforim
    Active Community Member
    • Jan 2020
    • 2205

    #2
    Satish asked a similar question to you here: https://forum.espocrm.com/forum/deve...on-other-field

    See Maximus post for the how-to.

    Comment

    • hupka36@gmail.com
      Junior Member
      • Jan 2021
      • 16

      #3
      choice meeting according to selectet account in protocol and accodring to availability works fine

      Comment

      • hupka36@gmail.com
        Junior Member
        • Jan 2021
        • 16

        #4
        i need yellow zone keep working, but hidden for the users - only not show it.
        Is it some switch in "custom view" ?
        something for small list close to this:
        The idea of this thread is to create a "road map/guide" to help developers find where GUI sections or elements are defined within Espo code so customization projects can be implemented without having to spend a lot of time "finding your way around" the code (like many of us have done) whenever possible.

        Comment

        • hupka36@gmail.com
          Junior Member
          • Jan 2021
          • 16

          #5
          some idea ?!?
          in :
          custom/EspoCustom/Resources/metadata/entityDefs/Protocol.json

          "fields":
          { "meetings":
          { "type": "linkMultiple",
          "layoutDetailDisabled": false,
          "layoutMassUpdateDisabled": false,
          "view": "custom:views/project/fields/products",
          "importDisabled": false,
          "noLoad": false,
          "isCustom": true
          } }

          add something like this:
          "searchPanelDisabled": true;


          but it not work

          so I want change really only visibility of filters
          (of course only in small panel accessed from specified entity to specified entity)

          thank you

          wbr .s.

          Comment

          • eymen-elkum
            Active Community Member
            • Nov 2014
            • 472

            #6
            If you like coding you will push your filters to the collection.whereAdditional

            First you will need a custom select modal view then you will set that filters, if I had time I was to make some more details but so sorry because cannot

            I do think that searching in the code and docs can help
            CEO of Eblasoft
            EspoCRM Expert since 2014
            Full Stack Web Developer since 2008
            Creator of Numerous Successful Extensions & Projects​

            Comment

            • esforim
              Active Community Member
              • Jan 2020
              • 2205

              #7
              If you want to hide that yellow area, I think it best to do it through creating "Theme"

              Comment

              • Ashif Malayil
                Senior Member
                • Dec 2023
                • 181

                #8
                Originally posted by hupka36@gmail.com
                i need yellow zone keep working, but hidden for the users - only not show it.
                Is it some switch in "custom view" ?
                something for small list close to this:
                https://forum.espocrm.com/forum/deve...ange-something
                How you added this custom filter? I want to add this custom filter i Case module?

                Comment

                Working...