Does SharePoint 2010 support the iCalendar format?

后端 未结 4 658
深忆病人
深忆病人 2021-02-14 18:05

Sounds like a very silly question, but I tried, and it isn\'t too easy to find a simple answer to this simple question on google.


The longer story:

Before

4条回答
  •  说谎
    说谎 (楼主)
    2021-02-14 18:47

    SharePoint does support iCalanders. I am currently using on an events list so people can save to their outlook.

    You can download the .ics based on the url like so:

    http://yoursite/_vti_bin/owssvr.dll?CS=109&Cmd=Display&List=%7BListID%7D&CacheControl=1&ID=1&Using=event.ics
    

    Replacing yoursite with your host name, ListID with the ID of your list with the events and the ID=1 with whatever list item number you want.

    In SharePoint designer you can implement into the page as a hyperlink like the following example:

    http://yoursite/Marketing/_vti_bin/owssvr.dll?CS=109&Cmd=Display&List=%7BA742AAC4%2D2654%2D4E64%2D9280%2D7813D2A343A2%7D&CacheControl=1&ID={$thisNode/@ID}&Using=event.ics
    

    I'm not sure about a direct web service to retrieve the iCal if you want to use pragmatically but i'm sure you can just use this URL and a stream reader to save or manipulate.

提交回复
热议问题