Announcement

Collapse
No announcement yet.

Can't display Event entity in calendar widget

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

  • 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:	218
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.

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

    Comment


    • #3
      Thanks for your reply !

      Yeah I added it :
      Click image for larger version

Name:	bug deplacements2.PNG
Views:	354
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


      • #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


        • #5
          Thanks a lot it worked

          Comment

          Working...
          X