The request uses too many resources

Introduction While developing a CSOM app for SharePoint Online I encountered an error: “The request uses too many resources” My problem I got this error while removing some webparts from a wikipage through CSOM code. It was working fine on development but didn’t work on the production system. Here is my code. Solution You only […]

Azure diagnostics. How to troubleshoot your code.

Introduction Visual Studio 2013 includes a lot of great tools to make Azure development painless. But sometimes you need to diagnose, debug or troubleshoot programs installed in the actual Azure envirnoment. Here is a quick tutorial on how to enable and inspect debugging information in Azure. Follow these steps to configure logging in an Azure […]

Setting site collection sharing by code

Introduction Set the site collection sharing (capabilities) properties in SharePoint Online by using clientside code. Sharing Capabilities With SharePoint Online you can set the “Sharing properties” of a site collection to one of the following 3 properties. Don’t allow sharing outside your organization Allow external users who accept sharing invitations and sign in as authenticated […]

When to reindex your content?

When making changes in “Search Schema” of your SharePoint environment you sometimes need to restart the crawler to properly index the changes. When to reindex your content? Found a nice overview in this article: http://technet.microsoft.com/en-us/library/jj219667(v=office.15).aspx Managed property setting Action Requires a full crawl to reindex Mapping a crawled to a managed property Add/Delete mapping Yes […]

SharePoint online predefined managed properties.

The amount of refiners you can define in SharePoint online is limited. You basicaly need to link a property to a predefined managed property and set an alias. Found an overview of the predefined managed properties here: http://technet.microsoft.com/en-us/library/jj219667(v=office.15).aspx#DefaultUnusedMPs Managed property type Count Managed property characteristics Managed property name range Date 10 Queryable Date00 to Date09 […]