Office365 - Apply automatically custom branding to personal site (SkyDrive Pro)
Few months back I demonstrated how to apply custom branding automatically to personal sites or SkyDrive Pro sites in Office365 or on-premises using remote provisioning techniques. Example which I shared was aimed more for on-premises and I’ve received numerous emails related on how to update the app in a way that it would also work in the Office365. Thanks for Kirk Evans on helping to solve the right permissions for the app.
This example app has been now updated with few new additional capabilities, which were also asked often. Here’s the sort list of the included updates.
- Code updated to Visual Studio 2013
- Few modifications to ensure that it works properly in the Office365
- Uploading of custom Contoso theme to each personal site before applying it to the site
- Optimization of the code by storing indicator when branding has been applied, so that it’s not done numerous times for nothing
- Debugging mode switch for app part to hide or show additional information related on app processing
- Tested with Windows Azure and with accounts with only visitor permissions on site where added
Previous blog post explained the process already pretty well, so I won’t be explain the process in detailed in this post. I have however created new video recordings where the actual implementation is explained in detailed, including all the new capabilities. There’s also separate blog post which explains how to install this app to Windows Azure and shows the steps to perform for getting things up and running with Office365.
Video is available for download from my SkyDrive if needed for offline purposes.
If you need any guidance on how to setup this with Windows Azure, please check the details from my separate post, where we have video demonstrating the needed steps for installing this provider hosted to Windows Azure and to use that with your Office365 tenant.
References
Few useful links and recourses
- Code example used in video – ‘SharePoint 2013 – Contoso.PersonalSiteBranding.zip’ – SkyDrive
- Console App used in the video is also available from the SkyDrive. Named as ‘SharePoint 2013 – Contoso.SetThemeToSite.Console’
- Direct link to YouTube video – YouTube
- Offline access to video from my SkyDrive
- Customizing SharePoint 2013 personal sites using SP Apps with remote provisioning – Initial blog post from August on this topic with more details and few pictures on process.
- Setting up provider hosted app to Windows Azure for Office365 tenant – Guidance on how to setup this example to Windows Azure and connect it to Office365
- Getting started developing with social features in SharePoint 2013 – MSDN
Comments
Anonymous
November 28, 2013
Thanks for this! Any chance of putting the video on your SkyDrive videos folder?Anonymous
December 01, 2013
Hi, Thanks for the video, code and how this can be done - is there any chance you can upload the video somewhere else as it gets cut off at the end. ThanksAnonymous
December 08, 2013
Hi Terry and Alex, Thanks for you interest on this video. I've added the link to my SkyDrive for offline access. There was also indeed small hiccup while I was recording this one and I lost few minutes from the end. You should get the key point and needed steps still, so wasn't planning to re-record or add the missing pieces later.Anonymous
December 11, 2013
Hello Vesa, Just want to thank you for all the help that your post gave me.Anonymous
May 06, 2014
The comment has been removedAnonymous
May 06, 2014
The comment has been removedAnonymous
July 30, 2014
The comment has been removedAnonymous
February 26, 2015
I have tried your solution. It works for tenant admin but not other user can do that. I found this error "Access denied. You do not have permission to perform this action or access this resource."Anonymous
February 27, 2015
Hi Vishal, we have not have that problem with our customer deployments, so can't really comment on details. Would alos recommend to have a look more recent version on this from here - blogs.msdn.com/.../customizing-onedrive-for-business-sites-with-app-model.aspx