#OpenToWork Available for new opportunities! Let's build something amazing together.

Get in touch

Archive for 2011

archy

Multilingual User Interface in Page Layouts and Master Pages

On the 30th of November I went the Biwug sessions about SharePoint 2010 Multilingual User Interface. It were very interesting sessions that gave a good overview of variations, language packs, resource files, … Based on what I heard in this sessions, I wanted to make a small addition related to the branding process and MUI.

Read more

Deploying Branding Files Using a Sandbox Solution

When you want to create a SharePoint 2010 sandbox branding solution, you will notice that your files will be in draft (Checked out). This means that these files are not available yet for all users. Therefore two actions need to be done for each file: Check in the file; Approve the file.

Read more

Create a New Document Using Office Web Apps

A few days ago I moved one of my personal domains to Office 365. One of the things I noticed is that you can create new documents without the need of a client application, everything is done by the Office Web Apps. Show image Create documents This is only possible from the Home page of Office 365.

Read more

Group Items on Their Folder Name Inside a SharePoint Library

Some time ago a client asked me if you could create a view where all the documents are grouped on the folder name. The folders were used to set the permissions on documents, so they could not be removed. As you probably will know, folders could not be used in views to group documents.

Read more

Re-add the My Links Functionality as in SharePoint 2007 to Your 2010 Site

Clients that migrate from SharePoint 2007 to SharePoint 2010 may miss the old My Links functionality in their “new” environment. In SharePoint 2007, you had the option to add sites to your My Site by clicking on a link in the User Context Menu. Show image My Links Functionality in SharePoint 2007 In SharePoint 2010 this option is not there anymore.

Read more

Layout Difference Between a Dutch and an English SharePoint Site

Yesterday I worked on a Dutch SharePoint 2010 site, and noticed a layout difference between a Dutch (1043) and an English (1033) site. Show image Height difference between a Dutch and an English site. As you can see there is a height difference (s4-titlerow) between the two sites. I examined the CSS to see which attributes were causing this height difference.

Read more

User Cannot be Found When Opening List/Library Settings or Workflow Settings

Since a couple of months I have encountered the User cannot be found error a few times when accessing the List Settings or Library Settings. Show image User cannot be found In my case I encountered this error in the following scenarios: After switching the web application to Claims-based authentication; After migrating some sites to another SharePoint farm.

Read more

How to Display the Site Title and Site URL in Search Results

Recently I was restyling the search results, and one of the expectations was to display a hyperlink to the site of origin of the result. Adding the site title of the returned results is very easy, this can be retrieved from the metadata property “SiteTitle”. The web URL is a bit more difficult.

Read more

Quick Tip: VSTO Retrieve The SharePoint File Location

Visual Studio Tools for Office (VSTO) can be used to develop add-ins (and more) for an Office application. In combination with the SharePoint Client Object Model, it could be used to retrieve additional information from a SharePoint site were the file is located. You always need to specify a site URL when using the SharePoint Client Object Model.

Read more

Bug With SharePoint 2010 XSLT DateFormat Function

Yesterday I found out that there is a problem/bug using the XSLT ddwrt:DateFormat function. The problem/bug occurs when the regional settings is not set to English (United States). When a day got the value between 1 and 12, the ddwrt:DateFormat function will recognize this as the month. The month value will be used as the day.

Read more

Downgrade a SharePoint 2010 Visual Web Part to SharePoint 2007

When you need to downgrade/convert a SharePoint 2010 Visual Web Part to SharePoint 2007, you need to make the following changes to the user control to make it work for SharePoint 2007: In the Visual Web Parts User Control remove the following line: 1 <%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> Change the version number of the following lines from 14.

Read more

Change the Active Directory User Password Through SharePoint

Give the user control to manage their password through SharePoint. When you want to use form based authentication for SharePoint authentication, one of the requirements could be that users can change their passwords from within SharePoint. Because this functionality is not OOTB available, you will need to create a custom web part or application page for it.

Read more

Quick Tip: Custom Action Tokens in SharePoint 2010 Designer

SharePoint 2010 Designer allows you to create custom actions for the SharePoint ribbon or the item context menu. Show image Custom Actions in SharePoint Designer These custom actions can be used to start a workflow, navigate to a form, and navigate to a custom URL. Show image Action Types For the last option you can make use of “Tokens”.

Read more

Programmatically Setting the Fetched Properties to an Extended Search Core Result Web Part

This week I needed to extend the search core result web part to be able to do some custom filtering and search result styling. For the search result styling, additional fetched properties (columns) needed to be added programmatically to the Web Part properties. But every time I checked in the web part properties, these fetched properties were not added, and I end up with the default fetched properties.

Read more

Quick Tip: Converting SharePoint 2010 Application Page to SharePoint 2007

When you need to convert an application page from SharePoint 2010 to SharePoint 2007, these are the steps that need to be done: Change the “SharePoint.WebControls” and the “SharePoint.Utilities” assemblies version numbers from “14.0.0.0” to “12.0.0.0”; Remove the “Microsoft.Web.CommandUI” assembly line: Show image Assembly Reference to be removed Change the “DynamicMasterPageFile” attribute name to “MasterPageFile”, and replace the value with the following: Show image MasterPageFile Attribute The result should be something like this:

Read more

Pinning SharePoint 2010 Sites With IE9

Thanks to Katrien De Graeve for giving me the inspiration of this blog post. Last week on the HTML5 Web Camp session in Belgium, she talked about the site pinning functionality of IE9. She also recommended a jQuery plugin called ie9ify that makes site pinning integration much easier. The day after the session I started experimenting with the ie9ify plugin, and it was working as suspected.

Read more

Quiescing a SharePoint 2010 Farm as in SharePoint 2007

In SharePoint 2007 you had the ability to quiesce the farm inside central administration. This ability is not implemented in SharePoint 2010, you need to use the STSADM command to achieve this. 1 stsadm -o quiescefarm -maxduration minutes But, I have done some research and development to achieve the same as in SharePoint 2007.

Read more

SharePoint Designer Workflow Action: Retrieve the File Extension

This week I was a experimenting with creating SharePoint Designer workflows. After some time I noticed that it was not possible to retrieve the file extension in a SPD Reusable Workflow. Because this is a very useful action, I am going to explain it in this blog post on how to create a SharePoint 2010 Designer Workflow Action.

Read more

Creating a Sandboxed Visual Web Part from the To-do List

In my previous blog post I showed you how to create a to-do list with ECMAscript, the only problem is that you need to append the HTML and JavaScript code to a Content Editor Web Part. This isn’t very flexible and therefore I made this blog post. The purpose of this post is to show you how to add this code to a Sandboxed Visual Web Part.

Read more

Creating a To-do List with ECMAscript

In one of my previous post I created a task manager with ECMAscript. In this post I will go a step further and create a to-do list. This to-do list that enables you to add new items, delete items and mark them as completed. Show image To-do list final result Download the solution package

Read more

Adding a Subsites Navigation Level Under the Global Navigation Row

Normally subsites are displayed in a dropdown menu when the site collection publishing feature is activated. Show image Subsite navigation dropdown In this post I will show you how to display these subsites on their own navigation row. The end result is shown in the picture below. Show image Final result Hide the subsites dropdown menu First you need to hide the subsites dropdown menu from the global navigation.

Read more

Problem With List Views That Exceeds Browser Window Width

Last week a customer indicated that layout problems could arise with list views. The problem arises when the amount of data/columns that is visible, exceeds the browser width. This creates an empty space next to the title row when the user scrolls horizontally. Show image This problem occurs when loading the page, the JavaScript of SharePoint sets the browser window width to the title row element.

Read more

Task Status Manager With ECMAscript and jQuery UI

What if you could manage your task statuses by just a drag and drop action? Wouldn’t that be cool? This was the idea that a colleague and I had last week. Concept For this concept I am only going to use the following task statuses: Not Started In Progress Completed To visualise the task items, I have created three task status blocks.

Read more

Visualise SP2010 Rest Data With Google Visualization API

Some time ago I was testing out the Google Visualization API with SharePoint 2010 Rest functionality. The Google Visualization API is very handy if you want to visualize your data. My intention was to create a pie chart to visualise the task statuses. The data was consumed from the SharePoint 2010 REST service with the help of jQuery.

Read more

Minimal.master with footer

This blog post is created by a request of a commenter named Gane. He asked me how to add a footer section to the “minimal.master” master page. This master page is used for the search centers in SharePoint 2010. My previous solution for adding a footer to a master page, were based on the “v4.

Read more
Back to top