Announcement

Collapse
No announcement yet.

Adding content to a new tab

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

  • Adding content to a new tab

    Hello everyone,

    I'm customizing EspoCRM (wich is very powerfull) to implement it in my company as an intranet with an extra feature : a map widget from 'Awesome Table'.
    The widget looks like this :

    (The goal is to enable users to locate their colleagues)

    To do this, I created in Espo a new tab named 'Map'.
    And this is what I want to obtain :

    (delete the search bar and everything that is around and replace it by the map widget)

    that can be simply rendered by implementing a piece of code :


    I'm a beginner in programming so...I'm lost... ^^'

    Can someone help me ?
    Thanks a lot !
    Leo
    Attached Files
    Last edited by Leo; 07-06-2016, 11:57 AM. Reason: bigger photos

  • #2
    Hi,

    Search view (sub view) is initiated in client/src/views/list.js file. You can define a custom view for a certain entity type in clientDefs.

    EspoCRM can be tough for beginners. It requires understanding things like AMD, SPA.

    Comment


    • #3
      Thanks for your reply,

      I know it can be tough but I need to implement this widget for my internship (and it's also a challenge haha)

      Can you please help me ? I need to know how and where I can implement this piece of code

      Comment


      • #4
        I'm very busy. I mentioned where to look into.

        In clientDefs file you need to specify custom list view:
        ...
        {
        "views": {
        "list": "custom:views/my-entity/list"
        }
        }

        Custom list file:
        client/custom/src/views/my-entity/list.js

        Comment


        • #5
          Thanks

          Comment

          Working...
          X