Announcement

Collapse
No announcement yet.

EspoCRM and New Views

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

  • EspoCRM and New Views

    I haven't tried this but does EspoCRM support views with completely different names (aside from create, edit, details, list, list-item, kanban)?

    For example, could I have a new view called tree-view or block-diagram which would give me a totally different view of my data (obviously, via a custom impemetation)?

    Or are there a few restricted "hard-coded" view types?

  • #2
    Only for a specific entity type .

    You can create a custom controller action (frontend controller) for a specific controller (controller name usually is the same as entity type name). This is needed for an access by url like #MyEntityType/blockDiagram/id, where blockDiagram is an action name of MyEntityType controller.

    That controller will render your custom view.

    Comment


    • #3
      Perfect, thank you.

      Comment


      • #4
        You need to define a custom route in metadata: https://github.com/espocrm/espocrm/b...rc/app.js#L285

        Router: https://github.com/espocrm/espocrm/b.../src/router.js

        Also need to define a new custom controller in clientDefs. That controller will extend existing one.

        Comment

        Working...
        X