Patrick Lamber

SharePoint consultant, speaker, blogger, and geek.

I had busy times the last months due to conferences and a lot of customer projects. Unfortunately, there was not much time left for writing blog posts. Nonetheless, I am back again for blogging and start today with a solution to a problem I faced in one of my customer projects. In this project it was necessary to access managed metadata columns in a NewForm.asxp and an Editform.aspx and populate them with values. I did it by using jQuery (for simplicity) to access the desired field. It was impo... [More]

The primary and secondary site collection owners play an important role in a SharePoint 2010 environment. They are usually the primary contacts for IT with the business users. In addition, they receive important notifications such as quota expiration and automatic site deletion notifications during the lifecycle of a Team Site. Hence, it is important to ensure that the primary and secondary site collection owners are always by e-mail reachable collaborators. This works fine as long as the collab... [More]

In the same development project I mentioned in my last post we had the necessity to modify the SharePoint Team Site site icon on every Team Site located in a site collection. You can modify this manually in the Site Settings under “Title, description, and icon”. Therefore, I wanted to write a PowerShell script to update all icons in a row. Add-PSSnapin Microsoft.SharePoint.PowerShell -erroraction SilentlyContinue $siteUrl = "http://foundation" $siteLogo = "/SiteAssets/logo.pn... [More]

In one of the SharePoint development projects that I am following we are working with multilingual sites in a SharePoint 2010 Foundation environment. As you probably already know, SharePoint 2010 allows to install language packs to provide the UI in different languages. If you want to enable multilingual UI on your site, you have to do this in SharePoint 2010 Foundation by changing these settings under Site-Settings –> Languages of every Team site. Therefore, I wanted to write a PowerS... [More]

Hi, recently while passing through the Microsoft forum threads I found an interesting request coming from a forum member. He wanted to change the default values of a form field depending on the current content type selected. This works as long you use different fields with different default values in your content types. It becomes however a problem if you share common columns and want to have different default values. Therefore, I was looking for a solution to this problem and found out that t... [More]

Month List


Control panel