Oct 31 2016 03:46 AM - edited Nov 04 2016 12:34 AM
Hi All
We are currently using the PnP extension method SetThemeByUrl() that applies all themes by iterating through every web of a site collection, starting with the root web. This approach takes a fair amount of time and can endup in nasty timeouts.
Until Nov 2014 there was a property that could be set with CSOM (ThemedCssFolderUrl) that was significantly faster than the above approach.
There is a User Voice request that is currently requesting this to come back. Does anybody have any information how long this will take to come back (or not)? We are currently thinking of writing our own solution to fix that problem. What I can see in their code, the Dev PnP team is also waiting for this. @Vesa Juvonen @Erwin van Hunen
Nov 03 2016 10:54 AM
We don't have yet timeline or even confirmed use case for this, but it might arrive as part of the monthly releases we do for SharePoint Online. With on-premises situation is slightly more complex and I doubt that this woudl be arriving for the CSOM. It's not optimal - absolutely get that.
Nov 04 2016 12:34 AM
Thanks for the response Vesa. Not the answer we wanted to hear though. Working on our on solution then.
Nov 23 2016 11:26 PM
Some updated news on this. We will push out November 2016 release of SharePoint Online NuGet packages this week and "ThemedCssFolderUrl" property will be included with this release. Hopefully this helps with your customization requirements.
Nov 24 2016 12:02 AM
Thanks for this update Vesa! This will help us a lot. Looking forward for the release.
Nov 24 2016 04:54 AM
SolutionJust to close up this - NuGet package is now out - https://dev.office.com/blogs/new-sharepoint-csom-version-released-for-Office-365-november-2016.
Nov 24 2016 04:54 AM
SolutionJust to close up this - NuGet package is now out - https://dev.office.com/blogs/new-sharepoint-csom-version-released-for-Office-365-november-2016.