How to make a dropdown menu and/or custom views

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • thanassos
    Member
    • Jan 2017
    • 45

    How to make a dropdown menu and/or custom views

    Hi, noob here,
    I want to mainly use Espo as a ticket manager but I lack some features.
    For example I would like to make some custom views to have directly a link in my dashboard or menu to directly have acces to all the open tickets (and not only mine)
    Linked an example of what i look for.
    Any other ideas for ticketing are welcome
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    Hi

    Important information is here http://forum.espocrm.com/forum/devel...1-new-dashlets

    In Ticket dashlet definition file set "onlyMy" to false

    Comment

    • thanassos
      Member
      • Jan 2017
      • 45

      #3
      Thanks for the fast answer !
      I really like the dashlet view to display the tickets, is there any way to customise the tickets page to have some properties on different line (just like the dashlet) ?

      Comment


      • tanya
        tanya commented
        Editing a comment
        /client/src/views/record/list.js - the main list view
        override recordView list in clientDefs for your entity (https://github.com/espocrm/documenta...ustom-views.md) and set in new file listLayout

        Hope it helps, becouse I didn't try to do something like this
    • thanassos
      Member
      • Jan 2017
      • 45

      #4
      Stupid question is there any way to filter the dashlet by status?
      I've created seveal statuses but if I put one (or two) in the primary of the JSON nothings happens. Did I miss something?

      Ex:
      "searchData": {
      "bool": {
      "onlyMy": false
      },
      "primary": "Fermé"
      }
      Last edited by thanassos; 04-25-2017, 11:46 AM. Reason: added code

      Comment

      • tanya
        Senior Member
        • Jun 2014
        • 4308

        #5
        I am not sure you have "Fermé" defined filter.

        application/Espo/Modules/Crm/SelectManagers/Call.php
        application/Espo/Modules/Crm/Resources/metadata/clientDefs/Call.json (bottom)

        There you can see how could you define filters.

        Comment

        Working...