prev next

SharePoint Certificate errors

January 9 2012 No comments yet

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 No comments yet

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 No comments yet

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 3 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...

Publishing cross farm Managed Metadata in cross forest environment with one way trust

April 28 2011 No comments yet

Recently we ended up in a situation where there was a need to publish services from one farm to another. Basically there’s nothing special, but we needed to do that between SharePoint farms located in different forests. Only a one way trust was established.

The main idea is that Farm 2 will produce Managed Metadata Service (MMS) to be consumed in Farm 1....

Extending the SocialCommentControl

April 6 2011 5 comments

SocialCommentControl is the control, which enables commenting on a page. You can use social commenting feature with the Note Board web part (Social Collaboration > Note Board) by adding the web part onto your page. You would have to have User Profile Service Application provisioned to enable social comments. Comments are stored in the Social DB (SocialComments table) of...

Page 1 of 1512345...10...Last »