Last weekend, I presented a session at the Office 365 Saturday held in Melbourne. I didn’t get there until lunch was being served, as I was coaching my son’s basketball team – but there was a great buzz & lots of chatter when I got there !
My session was entitled “VS, PS, CS, JS and no BS”.
If you don’t know the acronyms, it was a session about :
- VS = Visual Studio 2015
- PS = PowerShell
- CS = C#
- JS = JavaScript
- BS = well, there was none, right !?
🙂
Using Visual Studio 2015 as my IDE, I covered three main areas, with corresponding demos.
Provision a Site Collection – using PowerShell
- Connect to SPO
- Create a new Site Collection
- Regional Settings
- Activate features
- Upload files
- Create lists & pages
- Set Alt Css Url
- Welcome page
- Add JavaScript reference (JS injection)
This last point was a topic that I’ll cover in detail in another post – a way to get some good functionality into your SharePoint O365 site, without needing to change the Master Page – otherwise known by some work colleagues as ‘dentistry via the belly button’ – LOL !
Provider hosted app in Azure – using C#
Using CSOM, users can provision a sub-site (SPWeb), and have it configured with a variety of features and layout. My code even provisions a Yammer group if required.
- Activate features
- Add lists
- Create webparts
- Set security
- Create Yammer group
- Add Yammer webpart to page
- Add blog site
- Add audience targetted content editor webparts
Additional functionality – using JavaScript
Lastly, I showed some of the functions we developed using CSOM and the JSOM :
- Add footer – without Master Page update (JavaScript injection)
- Waffle
- Show dialog
- Delete sub-sites
- Get AppTiles
Much of the demo’s were fairly fast paced, and “you had to be there to see it” – but I’ve loaded the slides for your viewing – and will blog some of the items above in depth.
Let me know if you would like to see/hear more – and thanks for attending my session – if you were there on the day. (no BS, was there ?? right !!?!?)