corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » Getting a list of events from an Office365 calendar » Post Reply

Post Reply
Who Can Post? All users can post new topics and all users can reply.
Icon:
Formatting Mode:
Normal
Advanced
Help

Insert Bold text Insert Italicized text Insert Underlined text Insert Centered text Insert a Hyperlink Insert Email Hyperlink Insert an Image Insert Code Formatted text Insert Quoted text
Message:
HTML is Off
Smilies are On
BB Code is On
[img] Code is On
Post Options: Disable smileys?
Turn BBCode off?
Receive email notification of new replies?

pow

posted on 21st Apr 15 at 21:19

:lol: Thanks Dom :lol:


Dom

posted on 20th Apr 15 at 19:02

quote:
Originally posted by Steve
Exchange 365 supports webcalendars, heres one of ours

http://outlook.office365.com/owa/calendar/b05ff4e267094dacba60c4ba97d4154b@herefordcs.com/3905f34f8b5c417fb02eb726f679282313353780616373256137/calendar.html

Could just stick it in an iframe


Would have done if it was a shared calendar but apparently that's too much hard work for everyone to keep updated, so i've got to grab events out of everyones individual calendars :facepalm:


Pow - I don't blame you :lol:


pow

posted on 20th Apr 15 at 17:13

Sacked the idea off and used the sims calendar instead. Hence the other thread lol. However it works much better :-)


Steve

posted on 20th Apr 15 at 13:19

Exchange 365 supports webcalendars, heres one of ours

http://outlook.office365.com/owa/calendar/b05ff4e267094dacba60c4ba97d4154b@herefordcs.com/3905f34f8b5c417fb02eb726f679282313353780616373256137/calendar.html

Could just stick it in an iframe


Dom

posted on 20th Apr 15 at 12:00

Did you get anywhere with pulling events out of O365 calendars? If so, what route did you go down?

I'm currently attempting to do the same for digital signage but the API looks an absolute ballache :(


Steve

posted on 8th Feb 15 at 20:18

Might need some work for that work with a o365 calendar though


Steve

posted on 8th Feb 15 at 20:18

http://blogs.technet.com/b/heyscriptingguy/archive/2011/05/24/use-powershell-to-export-outlook-calendar-information.aspx


Steve

posted on 8th Feb 15 at 20:17

If you can get the data from powershell, and I'm betting you can, just write-host it as html to a textfile.htm


Dom

posted on 8th Feb 15 at 14:08

Look at the Office 365 (calendar) API. Yet to play around with it but it seems relatively(ish) straight forward - authorise an app with O365, authenticate using Oauth2 and then drag (calendar) data out as JSON.

There's a load of documents on MSDN and you'll probably find if you Google, a class/module for accessing it in what ever language you decide to do it with.

Edit - Be interested to hear how you get on with this (using whatever method), as I've got to soon implement something similar for a digital signage project :lol:

[Edited on 08-02-2015 by Dom]


pow

posted on 8th Feb 15 at 13:22

Right, little project I've got going on over a couple of sites where I want to create some display screens for showing what's on today etc.

I'm a bit of a n00b when it comes to raw 'coding', bit of VB and HTML and PHP and I'm done. Give me a powershell script anyday :lol:

I want to basically pull a list of events for today from a calendar in office365 and print it into a nice little formatted list on a webpage:

Event 1 - All Day
Event 2 - 09:00 to 09:30
Event 3 - 10:30 to 12:30
Event 4 - 15:30 to 17:45.

I'm quite happy for the code to pass a username and password as the web server is internal only. I just have no idea how to do it or where to start! Any pointers?