Category Archives: Geen categorie

SharePoint 2010 – Create Page Layout based on a custom Content Type in Visual Studio 2010

I will describe how I created a Page Layout based on a custom Content Type with SharePoint 2010 (beta2).   Content Type First thing to do is to define a content type.I will call my Content Type: PicturePageContentType To do … Continue reading

Posted in Geen categorie | 4 Comments

SharePoint 2010 change page content data through Object Model / API – Console Application

This took me some time on google / msdn sdk to find out, I like to share it. It is supposed to programmatically change content to existing pages. First make a console application, set it to .NET Framework 3.5 and … Continue reading

Posted in Geen categorie | Leave a comment

SharePoint 2010 user login check

Check if a user is logged in If you want to know if a user is logged in or not you can check it with the CurrentUser object from the SPWeb. Here’s how you do it in an example: using … Continue reading

Posted in Geen categorie | Leave a comment

SharePoint 2010 custom masterpage with code behind file – Part 2

In part 2 I will tell how I eventually got a code-behind file working on the custom master-page that I deployed trough Visual Studio. To be clear I don’t use SharePoint Designer to customize my master pages so I cannot … Continue reading

Posted in Geen categorie | 29 Comments