prev next

SharePoint 2010 Resource File Deployment Done Easy

May 28 2012 8 comments

Deployment of resource files with SharePoint has always been a little tricky. With MOSS we used features to provision resource files. With SharePoint 2010 it was a little easier but not enough.
There are blogs with some ideas how to make it easier to deploy resources in multiple locations here, here and here....

Debugging SharePoint 2010 Server Search Crawler With Fiddler2

April 27 2012 4 comments

Every now and then you may end up in a situation where SharePoint crawler returns just one top level error or multiple errors. Probably most of us would first enable verbose logging for SharePoint search, run crawl and monitor ULS logs with ULS Viewer. This is a good beginning, but it often offers very little information and very...

SharePoint Certificate errors

January 9 2012 10 comments

This article introduces some tools and practices that I’ve seen useful for tackling SharePoint 2010 errors arising from SSL Certificates. The main reason for writing this article is the “The root of the certificate chain is not a trusted root authority” – error.

Let’s first take a look at a useful tool for solving certificate errors. Windows has built in...

Anonymous Access and Publishing Web Pages List

December 22 2011 3 comments

As You know, using PublishingWeb.GetPublishingWeb(web) method causes Access Denied exception for anonymous users. You will also get the same exception if you try to access the PublishingWeb.GetPagesListId(web) or PublishingWeb.GetPagesListName(web) methods.
There are solutions here and here and in many other blogs. These solutions use SPSecurity.RunWithElevatedPrivileges,...

Remove Keys From PropertyBag on FeatureDeactivating Override

December 13 2011 3 comments

You can add keys to spweb propertybag trough a feature using CAML:

<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <PropertyBag ParentType="Web" RootWebOnly="False">
    <Property Name="MyCustomProperty"
             Type="string" Value="MyValue" />
  </PropertyBag>
</Elements>

The property is...

SPList’s Title Property & SPField’s DisplayName not Updating

November 14 2011 8 comments

We encountered a problem which seemed really strange while provisioning our site collection with PowerShell (New-SPSite). Our provisioning contains programmatic custom list creation to our publishing webs via feature receivers. The procedure is that the feature receiver creates the list with a URL friendly Title and then changes the Title to a UI friendly...

Page 2 of 1712345...10...Last »