

Instructions on how to modify the solution will be provided in the repository. The solution deploys a custom action on your site collection, it validates if you are visiting a SharePoint calendar and if you are it automatically gets the LIST_GUID and the EVENT_ID to build the link to download the ICS file.Īs always, I made the solution available on GitHub and you are welcomed to contribute to improve it, due to the fact I lost the Visual Studio Project I’m sharing just the WSP files. This solution supports the following views: To use this solution, you just need to open the calendar and over the item as exemplified in the animation below. Once the activation process finishes the solution is ready to be used by all calendars of the site collection. On the root site of your site collection go to Settings Site Settings Solutions.If you are using SharePoint Online to accomplish the steps bellow you will need to enable the custom scripts on your tenant, here you have the instructions on how to do it. This solution is provided as declarative Sand Box solution (read more about this type of solutions here) and it works on SharePoint 20 On Premises and SharePoint Online classic sites, this solution will not work on modern sites. It also adds an extra field to the event detail with a direct link to the ICS file. Getting the LIST_GUID and the EVENT_ID is not straight forward for most users and with that in mind I decided to build a custom solution that adds a small download button on top of each event when the user hovers it. EVENT_ID – The identifier of the calendar event.LIST_GUID – The unique identifier of your calendar list.SITE_URL – The URL to the site where the calendar is hosted.SITE_URL/_vti_bin/owssvr.dll?CS=109&Cmd=Display&List=&CacheControl=1& ID=EVENT_ID&Using=event.ics They only way to get the file is by using a structured URL in the following format. SharePoint has the possibility to generate ICS files from calendars since SharePoint 2007, however it never had this functionality available through the graphical user interface.
OUTLOOK 2016 WILL NOT OPEN .ICS CALENDAR CODE
This discovery also reminded me that I once started a project to provide this exact same functionality on classic SharePoint calendars but never finished it.Īfter spending a while searching for the code I finally found it, finished the project and I’m sharing it with all of you guys in this article.ĭownload ICS file from SharePoint calendar event manually The other day while playing with SharePoint modern Events web part with my colleague Francisca Peixoto we realized that it includes a feature to download an ICS file to then be added to an Outlook calendar. Download ICS files from SharePoint calendarsīy João Ferreira Office 365, SharePoint 8 Comments
