Can't display Event entity in calendar widget

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Leo
    Member
    • Jul 2016
    • 31

    Can't display Event entity in calendar widget

    Hello,

    I was about to choose to display an Event entity in the calendar widget from the home page but it doesn't appear in "What to display". Click image for larger version

Name:	bug deplacements.PNG
Views:	272
Size:	21.0 KB
ID:	24537





    The entities in yellow are the default ones from the Calendar, the red one is the Event entity "Déplacements" that I created and wanted to display in the widget.

    It works in the Calendar entity but not in the widget...
    Is this a bug or something I missed ? Thx
    Last edited by Leo; 10-26-2016, 11:11 AM.
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    Hello
    Did you add it to Calendar event list in the system settings?

    Comment

    • Leo
      Member
      • Jul 2016
      • 31

      #3
      Thanks for your reply !

      Yeah I added it :
      Click image for larger version

Name:	bug deplacements2.PNG
Views:	453
Size:	27.0 KB
ID:	24546
      It's the red one.

      Like I said, this Event entity named "Déplacements" appears in the Calendar entity I find no other parameter to make it appear in the Calendar widget...

      Comment

      • tanya
        Senior Member
        • Jun 2014
        • 4308

        #4
        Yes, it's a bug
        you can wait for a new version or fix now
        /client/modules/crm/src/views/dashlets/calendar.js
        replace init function
        Code:
                init: function () {
                    Dep.prototype.init.call(this);
                    this.optionsFields['enabledScopeList'].options = this.getConfig().get('calendarEntityList') ||this.getMetadata().get('clientDefs.Calendar.scopeList') || this.optionsFields['enabledScopeList'].options;
                },

        Comment

        • Leo
          Member
          • Jul 2016
          • 31

          #5
          Thanks a lot it worked

          Comment

          Working...