i see using this calendar library in C# that i can programatically generate an ics file with a bunch of calendar events.
but I want a solution if i a person wants to subscribe to a calendar so when future events get added or deleted that that person gets updated.
When you subscribe to a ics file on a server from outlook, it looks like outlook just gets a snapshot based on this from the outlook help file:= (i assume its the same behavior as it i sent a calendar via email)
Send a Calendar via E-mail You can send any of the calendars you own to another person in an e-mail message. This is a type of Internet Calendar called a Calendar Snapshot. The calendar appears within the body of an e-mail message. However, an Office Outlook 2007 user who receives the Calendar Snapshot can choose to open the calendar as an Outlook calendar. Doing so can display the Calendar Snapshot and the current calendar in side-by-side mode or calendar overlay mode.
is there any programmatic solution to allow a person to subscribe to a iCalendar file (or other format) that would always stay up to date with the latest changes over time?
When you import an . ics file, you get a snapshot of the events in the calendar at the time of import. Your calendar doesn't refresh the imported events automatically -- even if the calendar's owner makes an update.
Synchronize an external calendar with ICS ou iCal. A connector is available to synchronize with a Google Calendar or a Microsoft online calendar (Microsoft Office 365, Microsoft Exchange Online, Outlook.com).
Subscribing to an ICS URL These can then be subscribed to and will show in your calendar. This works well for slowly changing feeds, as calendars like Google will only check the subscribed link for updates every 6 to 48 hours.
With an ICS subscription, the recipient's calendar service chooses when to sync the ICS subscription to receive new updates. If the recipient is an Outlook.com or an Microsoft 365 user, the sync will happen approximately every three hours.
Outlook will update based on a server-based .ics file. Store the file on a web server somewhere (I have used a Wiki page successfully) and then use a webcal:// address instead of the http:// address. Outlook should pick this up automatically.
This will generally refresh as part of the "Send/Receive" but can also be configured through "Account Settings...Internet Calendars".
I have done exactly what you are looking to do, same library and all. The update worked a treat within a large organisation with many people subscribing to the calendar files.
This might help as well: http://blogs.msdn.com/b/michael_affronti/archive/2006/05/10/594986.aspx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With