locked
How to increase the Calendar Overlay limit of 10 RRS feed

  • Question

  • Hi,

    Is it possible to increase the Calendar Overlay limit of 10 in sharepoint calendar.

    I have almost 20 Calendar Lists and I need to show those calendar as overlays in one Master Calendar but due to the limit of 10 , not able to achieve this functionality.

    Kindly Help.!!


    Thanks, Ali Yasir

    Thursday, July 5, 2012 5:55 AM

Answers

  • This value is hard coded to 10 in code, see:

    public ICalendarAccessor CreateAccessor(string type)
    {
        if (this.m_allIds.Count == 10)
        {
            throw new SPException(SPResource.GetString("CalendarAggregationLimit", new object[0]));
        }
        ICalendarAccessor accessor = this.CreateAccessor(type, Guid.NewGuid());
        this.m_allIds.Add(accessor.Id);
        this.m_accessorMap[accessor.Id] = accessor;
        return accessor;
    }
    
     
    
     
    


    http://sharepoint.nauplius.net

    Monday, July 9, 2012 6:30 PM
  • I've had a client or two say they wanted to go this route, but using a simple mockup we were able to talk them off the ledge. I think that 10 is a good max that Microsoft put into place, even that can get crowded and less than ideal at times. You may want to follow the same approach and see if you could maintain the limit of 10 and suggest an additional grouping calendar.
    Monday, July 9, 2012 5:43 PM

All replies

  • I've had a client or two say they wanted to go this route, but using a simple mockup we were able to talk them off the ledge. I think that 10 is a good max that Microsoft put into place, even that can get crowded and less than ideal at times. You may want to follow the same approach and see if you could maintain the limit of 10 and suggest an additional grouping calendar.
    Monday, July 9, 2012 5:43 PM
  • This value is hard coded to 10 in code, see:

    public ICalendarAccessor CreateAccessor(string type)
    {
        if (this.m_allIds.Count == 10)
        {
            throw new SPException(SPResource.GetString("CalendarAggregationLimit", new object[0]));
        }
        ICalendarAccessor accessor = this.CreateAccessor(type, Guid.NewGuid());
        this.m_allIds.Add(accessor.Id);
        this.m_accessorMap[accessor.Id] = accessor;
        return accessor;
    }
    
     
    
     
    


    http://sharepoint.nauplius.net

    Monday, July 9, 2012 6:30 PM
  • Ali Yasir

    good afternoon.

    You got this problem resoolver the calendar? as resolved?

    thank you

    Wednesday, March 6, 2013 5:35 PM
  • This is a product limitation.  You can't go above 10 overlays.

    SharePoint - Nauplius Applications
    Microsoft SharePoint Server MVP
    MCITP: SharePoint Administrator 2010

    -----------------------
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

    Wednesday, March 6, 2013 5:45 PM
  • ok, thank you.

    is there any solution for it by display or through a webpart ?

    Wednesday, March 6, 2013 5:52 PM