SharePoint Config

Ari Bakker's thoughts on customising and configuring SharePoint

Error with published links to Office client applications

with 5 comments

SharePoint allows you to publish SharePoint links so that they appear in Office ‘Save As’ dialog boxes. This is useful if you want to encourage users to save Word, Excel and other Office documents directly into SharePoint rather than the file system as this dialog is shown the first time you save a new file. It allows you to create targeted shortcuts so relevant document libraries and sites are easily accessible when saving Office documents.

office-save-as-sharepoint-sites

In SharePoint 2010 these published links are managed under the user profile service application in a page called ‘Published links to Office client applications’.

Written by Ari Bakker

June 30th, 2011 at 12:30 pm

Posted in 2010,Errors

Tagged with , , ,

SharePoint 2010 People Directory Part 2 – Table Layout

with 43 comments

I’ve had a couple of requests to extend the people directory I covered in a previous article on How to: Create a Simple SharePoint 2010 People Directory. One request was to show how to display the results in a table based layout. Displaying a basic table like the one shown below is really straightforward and simply involves some modifications to the XSL property of the search results web part.

people-search-table-layout

Written by Ari Bakker

June 12th, 2011 at 9:28 pm

Posted in 2010,Configuration,Search

Tagged with , ,

SharePoint 2010 Microsoft Office Specialist Beta Exam 77-886

without comments

Microsoft will shortly be releasing a new SharePoint 2010 exam that targets “Information Workers”. Between now and the 1st of June you have the opportunity to take the exam for free while it is in a beta testing stage. While it isn’t explicitly stated I imagine this works like most new exams and the beta period is used to evaluate the exam content but if you pass the beta exam you gain the full certification.

This exam isn’t particularly technical and is focused on power users more than developers/IT pros so is open to a wide range of people. Continue reading SharePoint 2010 Microsoft Office Specialist Beta Exam 77-886 »

Written by Ari Bakker

May 18th, 2011 at 4:00 pm

Posted in 2010

Tagged with

How to: Create a Simple SharePoint 2010 People Directory

with 96 comments

I’ve had a few clients ask for a page on their intranet that allows users to browse a list of people within the organisation without having to enter a search query. They then want to see a list of filters such as Department or Job Title to allow them to filter the results. This is really easy to set up using the default SharePoint 2010 search web parts and doesn’t require writing a single line of code. An example of what this can look like is shown below (note no query is specified, we have just clicked on the ‘people directory’ link in the top nav):

sharepoint-2010-people-directory

Written by Ari Bakker

May 16th, 2011 at 2:00 pm

Posted in 2010

Tagged with , ,

European SharePoint Best Practices Conference Slides

without comments

On the 13th of April I presented at the European SharePoint Best Practices conference 2011. The session was titled Search Driven Knowledge Management and in the session we covered some of the SharePoint features available for structuring information so content is easy to find. As this was a community track session we looked at some real world projects that had information architecture requirements that didn’t line up with the out-of-the box SharePoint features. We looked at the requirements for these projects and I showed how solutions were built using a combination of the SharePoint features and customisations built on top of the SharePoint platform. This included using a search driven architecture and automating the tagging of content using the new content management features of SharePoint 2010.

best practice slides

Written by Ari Bakker

April 15th, 2011 at 1:24 pm

Creating SharePoint 2010 search scopes programmatically

with 6 comments

Search scopes improve the SharePoint search experience by letting users search over a subset of information within an organisation. For example you can create a search scope for a specific project or a group such as Legal or Marketing. Search scopes can either be created at the search service application level and ‘shared’ by all site collections, or defined within a specific site collection.

Shared search scopes in SharePoint 2010 can easily be created using PowerShell commands such as New-SPEnterpriseSearchQueryScope. Corey Roth covers this in his article on Creating Enterprise Search Scopes with PowerShell. While the PowerShell method can also be used to create site collection related search scopes you might also want to do this programmatically in a feature receiver when the site collection is created. Another thing you might want to do programmatically is to associate a search scope with a display group such as the ‘Search Dropdown’ so it appears in options next to the search box. I’ll cover both these scenarios in this article.

custom search scope

Written by Ari Bakker

April 8th, 2011 at 2:39 pm

Issues creating SharePoint 2010 search scopes programmatically

with 4 comments

The SharePoint 2010 object model has several classes that can be used to create search scopes and display groups. These can be useful if you want to create search scopes in a feature receiver when a site collection is created. There are several things to watch out for, however, as you can run into problems if you use the SearchContext, SearchServiceApplication and SearchServiceApplicationProxy classes. This article describes these problems so you can avoid them in your code.

search scope creation error

Written by Ari Bakker

April 1st, 2011 at 9:21 am

Issues with SharePoint 2010 major versioning

with 8 comments

There are a couple of issues with major versioning in SharePoint 2010 that prevent users saving files into document libraries. Things like this can be very frustrating for a client so it is worth being aware of these when designing SharePoint solutions in the hopes they are avoided. The issues are:

  • Saving files from Office 2007 fails when a document library has major versioning enabled and contains a required field
  • Copying files using Windows Explorer fails when a document library contains a required field and column default value settings for this field

I believe these are bugs with the product and both have been raised with Microsoft support so hopefully they are fixed in future updates. In the meantime this articles covers the details and some possible workarounds in case you run into the same issues.
office file not saved

Written by Ari Bakker

March 14th, 2011 at 1:07 pm

Posted in 2010,ECM,Errors

Tagged with , , ,

Provisioning SharePoint 2010 Managed Metadata fields

with 54 comments

The first part of this two part series discussed some of the problems with provisioning SharePoint 2010 managed metadata fields. This post will cover a robust method of deploying SharePoint 2010 managed metadata columns in a way that avoids common errors and enables the columns to automatically show up in the search refinement panel.

To recap on the previous post we are aiming to avoid the following problems when creating SharePoint 2010 taxonomy fields through features:

  1. If you create a list definition that uses this site column you get the error: Failed to get value of the “{0}” column from the “Managed Metadata” field type control. See details in log. Exception message: Invalid field name. {00000000-0000-0000-0000-000000000000}.
  2. The managed metadata column does not appear in

Written by Ari Bakker

March 8th, 2011 at 11:16 am

Issues provisioning SharePoint 2010 Managed Metadata fields

with 14 comments

I’ve been working with the managed metadata functionality provided in SharePoint 2010 fairly extensively over the past few months. While it is a great feature and works well when used through the UI it has several rough edges that can cause problems when you are deploying features that use managed metadata fields. Some of these have been documented elsewhere but some of these haven’t so this will be the first of two posts covering (1) some of the potential problems using managed metadata (this post), and (2) a robust way of provisioning SharePoint 2010 managed metadata fields.

sp2010-health-critical

Written by Ari Bakker

March 7th, 2011 at 11:17 am