How to change the lock state via CSOM

PowerShell Approach Setting the lock state for a site collection has a few rules that aren’t entirely clear. You can set the lock state via PowerShell using the Set-SPOSite command: Set-SPOSite https://[tenant].sharepoint.com/sites/targetsite -LockState [NoAccess|Unlock] You can read more about that on the TechNet article for it here: http://technet.microsoft.com/en-us/library/cc263238(v=office.15).aspx Rules The site must not be one of…

1

How to change the logo in Office 365

One thing I had trouble finding was how to change the logo in my Office 365 tenant. It’s not obvious and things are changing so rapidly, so I hope this helps some folks. First, you’ll need to navigate to the Office 365 Admin Settings from the Settings gear. This will take you to the Admin dashboard…

0

How we decided to unit test the OfficeDevPnP core

Overview Unit testing the Office Developer Patterns & Practices Core solution was definitely a challenge for us. Since it was grown from community code samples, most of the testing was done by refactoring similar code so it worked across many samples. The problem is that the Core component has become more and more reliable and the…

2

So, You Want to Build an Office Mail App

Facebook, Twitter, Yammer, Pinterest, and all the other social media outlets have an amazing aptitude for communication, but the one comprehensive and reliable communication channel is still email. Email is the start and end of every business’s day–and sometimes into the wee hours of the morning. Mail apps for Office are an integration of what…

8

How-to Get and Install SharePoint 2010 Language Packs

Many organizations I’ve worked with are trying to ensure multilingual support in their SharePoint enterprise instances. What’s funny is the language packs download process doesn’t entirely make sense. In most cases, downloaders go to the language pack download page and get the English (or browser preferred language) and think that includes all the language packs. It…

3

Create a Setup Project for a 64-bit Windows Service in Visual Studio 2010

I was having a lot of trouble with this, so I’m going to share it. Visual Studio 2010 setup projects still do not fix the way you create a setup project. The problem is that Visual Studio doesn’t add the x64 version of InstallUtilLib.dll to the MSI and so you will receive a BadFormatException error…

0

Must-read articles on string comparison performance

I’ve always wondered which is the fastest technique to do a string comparison? using the StringComparison enums or ToUpper and ToLower? The following entry also answers what is fastest among the StringComparison enums. http://blogs.msdn.com/b/noahc/archive/2007/06/29/string-equals-performance-comparison.aspx This article has more detail on do’s and don’ts for stringcomparisons: http://msdn.microsoft.com/en-us/library/ms973919.aspx

0

Cannot use Visual Studio Unit Tests to test against a live SharePoint 2007 site if on a 64-bit machine

I scoured Bing (and Google) to find out why my Visual Studio unit tests will not allow me to test my SharePoint code failing with the message: Initialization method Contoso.Test.BreakingNewsTest threw exception.System.IO.FileNotFoundException: System.IO.FileNotFoundException:The Web application at http://intranet.contoso.com/ could not be found. Verify that you have typed the URL correctly. If the URL should be serving…

0

Needed to replace full hard drive with larger one – Backup/Restore

So, I had the exact same problem as Tim Heuer (New hard drive means re-install everything). 150GB drive and bought a nice 320GB 7200RPM with shock protection. I found the easiest way to get myself up and running was to use Win7’s backup/restore feature. I backed up my drive to my home server (which creates…

0

New years resolution…get back into writing

With all the microblogging I do, I’ve found myself writing less informative blogs. I started a series for SharePoint How-tos then got very bored with that. Lately, I’ve been working on learning more about MVC and cloud computing; both of which perplex me. These aren’t difficult technologies, but they do take experience to pick up….

0