Waldek Mastykarz - Innovation Matters | SharePoint Server MVP | ISSN 2210-9390

Removing unwanted properties from imported Document Library contents with XSLT

, , , , No Comments »

Snippet of an XSLT file opened in Visual Studio 2010
In my previous post I showed you how you can import contents of a Document Library into your SharePoint Project for repeatable deployment. In this article I will show you how to remove all unwanted properties from the generated Element Manifest and keep it tidy. Read more »

Programmatically configuring menu items in SharePoint 2010

, , , , , 22 Comments »

Global Navigation Settings window with a few menu items hiddenUsing structured and repeatable deployment in SharePoint 2010 solutions allows you to deliver your solution in a predictable fashion and save some time. With the SharePoint 2010 API you can script the deployment process to deliver your solution already preconfigured. Unfortunately there are some limitations in the SharePoint API that make it impossible to configure some pieces of the solution, like configuring the menu items. It turns out that it is possible after all. Find out how to programmatically configure menu items in SharePoint 2010. Read more »

Automatically publishing files provisioned with Sandboxed Solutions

, , , , 10 Comments »

List of images checked out in a SharePoint 2010 Document Library.
Sandboxed Solutions are a new capability of SharePoint 2010 that make it possible to run custom code in a safe manner. The Sandbox isolation has unfortunately some trade offs and consequences, one of which is the fact the every file you provision with a Sandboxed Solution is checked out by default. Find out how you can work around this default behavior and automatically check in all your files without too much manual effort. Read more »

Inconvenient ASP.NET cookies

, , , , , , , 2 Comments »

Cookie
Recently I’ve been working on a SharePoint solution that was persisting some state information. Originally this solution was relying on Session State but because of some extra configuration complexity that using Session State with SharePoint requires we decided to replace the Session State with cookies. Although both approaches are not exactly the same they were both sufficient in the scope of the solution. And although you might expect no rocket science when working with ASP.NET cookies there are a few things that keeping in mind might save you some painful hours. Read more »

Inconvenient Content Query Web Part and provisioning it to the right place

, , , , , , , 4 Comments »

XML snippet that provisions an instance of the Content Query Web Part.
Content Query Web Part is one of the most frequently used Web Parts available out of the box with SharePoint Server 2010. Thanks to its flexibility, great performance and rich configuration possibilities it’s a great solution for aggregating content. Because the presentation layer of the CQWP is based on XSLT, the possibilities are virtually unlimited, but as soon as you start using custom XSLT stylesheets some strange things start to happen. Read more »

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS
Copyright © 2007 - 2012 Waldek Mastykarz

Creative Commons License