Sunday, 21 May 2017

Enabling Resource Reservation in Calendar List SharePoint 2013 and 2016

In sharepoint 2010 we had a great feature called resource reservation in calendar list which allowed us to reserve meeting with colleagues or book resources without double booking. But the feature has been removed from 2013.





There is a work around to enable the functionality in sharepoint 2013 and 2016. The below steps works with the on-premise as I am using the powershell for doing the same.


  • Activate the feature “Group Work Lists”, the feature is hidden by default. It can be enabled with powershell.
Enable-SPFeature –Identity “9c03e124-eef7-4dc6-b5eb-86ccd207cb87” –Url “http://dev/sites/First"
     
          This will create the “Resources” libraries where your resources entries can be created.

  • Enable the “share Member’s schedule from  List Settings > List Name, description and Navigation  , set the value to “Yes” and save.
  • Now we have to enable the resource reservation , again there is UI option for this one . We will have to do it with Powershell. Run the below script
$web= Get-SPWeb -Identity "http://dev/sites/First"
$Calendar=$web.Lists["ResourceCalendar"]
$calendar.EnableResourceSelector=$true
$Calendar.Update()



  • This will enable the resource allocation on the calendar list. :)



These I have tested in sharepoint 2013 and 2016 and confirmed working.


7 comments:

  1. PS C:\wsp> $calendar.EnableResourceSelector=$true
    Property 'EnableResourceSelector' cannot be found on this object; make sure it
    exists and is settable.
    At line:1 char:1
    + $calendar.EnableResourceSelector=$true
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : PropertyNotFound

    ReplyDelete
    Replies
    1. Sorry, I have a error : can't find the 'EnableResourceSelector' property.

      Delete
    2. Hi, Saw your message very lately, which version sharepoint are you using .

      Delete
  2. Same error - SharePoint 2016

    ReplyDelete
    Replies
    1. instead of resource calendar enter your calendar name and try executing the script again

      Delete
  3. Thanks very much for this, it is an excellent tip! I was able to get this to work in SharePoint 2019, however I could only get it to work using a classic team site template. When I use a modern team site template it looks like it will work, however the Resources selector list remains blank when entering a new calendar item, even though I have items in the Resources list. Do you know if there's a way to get this to work with a modern team site?

    ReplyDelete
  4. I also get blank resource selector in 2016 on-prem. Anyone know how to tie the list to the selector like it should be?

    ReplyDelete