New dashlet for new entity

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • homeempire
    Senior Member
    • Sep 2014
    • 181

    New dashlet for new entity

    Hi. I add new entity "News". How can I add dashlet to display new news?

    I create:

    application/Espo/Modules/Crm/Resources/metadata/dashlets/News.json

    and

    client/modules/crm/src/views/dashlets/news.js

    but when I add dashlet - error 500

    What i'm missing?
  • yuri
    Member
    • Mar 2014
    • 8442

    #2
    Hi

    define in json

    "view": "Crmashlets.News"



    But better to store it in custom. And then it should be with prefix Custom:
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • homeempire
      Senior Member
      • Sep 2014
      • 181

      #3
      Thanks.
      Last edited by homeempire; 03-22-2015, 08:21 PM.

      Comment

      Working...