Thursday, March 13, 2008

Setting Site Theme Programmatically

SPSite site = new SPSite("");
SPWeb web = site.OpenWeb();
web.ApplyTheme("");

3 comments:

Josh Norris said...

Thanks... I like the quick answers.

komal said...

I am trying to apply sharepoint breeze theme with this code.But throwing an exception that "can't open the folder Breeze".

Anonymous said...

Hi komal, try to run with elevated privileges..

AWSIoTPythonSDK.exception.AWSIoTExceptions.connectTimeoutException

Are you getting the below error when sening data to IoT Core using the "AWSIoTPythonSDK." ? Here is my error :   File "/usr/l...