Office Development MVP / Microsoft 365 & Azure Development

Elio Struyf is an independent Engineering Lead working for Valo Intranet, Blogger, and Speaker on a mission to share his tried-and-true wisdom with as many IT developers as possible.

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

August 3, 2011

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

August 1, 2011

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

July 29, 2011

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

July 27, 2011

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.

Read more

Change the Active Directory User Password Through SharePoint

July 12, 2011

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