SharePoint 2013 features a new set of links called the Suite Bar Links that are displayed in the top right corner of every SharePoint page. By default these links include “Newsfeed”, “SkyDrive”, and “Sites”. When first seeing this links my first thought was “how do I change them?”. In exploring the master page, we can [...]
.NET
[PowerShell] Write a Custom PowerShell Cmdlet in C#
Particularly with SharePoint 2010, I have become a huge fan of Microsoft PowerShell. In addition to writing complex PowerShell scripts (.ps1 files), I have found it very useful to write my own C#-based PowerShell Cmdlets to use in my scripts. This basic tutorial illustrates how to create a basic PowerShell Cmdlet with a couple of [...]
[ASP.NET / LINQ] Access GridView DataItem Properties of Anonymous Types
I tend to use LINQ for just about everything I can. Many times this involves populating ASP.NET GridViews from code with anonymous types from LINQ. For example: The issue that I came across is that when I need to access data from that query during an OnRowDataBound event. When trying to access the item using [...]
[.NET / LINQ] Dynamic SQL-Like LINQ OrderBy Sorting Extension
Over on his blog, Adam Anderson posted a very nice helper class that allows you to use SQL-Like Sort Expressions in LINQ. I have found this to be invaluable in a number of projects and I am simply reposting his code in the hope others will find it useful. Example Usage: Helper Class (I just [...]
[ASP.NET] Multiple Command (Select, Delete, etc.) Fields in a GridView
I recently had the requirement to provide multiple select-type commands on an ASP.NET GridView that each resulted in a different action. Using an only provides you with the ability to have a single select, single delete, and single edit command. You cannot have multiples of each. I did, however, discover the . Using the you [...]
[SharePoint 2010] FIMSynchronizationService Errors After SP1 Install – Microsoft SharePoint is not supported with version 4.0.30319.235 of the Microsoft .Net Runtime
Update 2011-07-13: This issue was fixed in the re-released version of the June 2011 Cumulative Update. If you have installed the initial release of the June 2011 Cumulative Update, it is recommended to install the re-released version to ensure the issues in the first release are resolved. After installing Service Pack 1 for SharePoint 2010, [...]
[SharePoint 2010] Programmatically Add JavaScript, Meta Tags, and CSS Styles to the Header of Every Page
For SharePoint sites, particularly public-facing ones, there are times when adding JavaScript, Meta Tags, CSS Styles or other content to the page <head> section is more practical than modifying master pages. For instance, you could add the jQuery library to the head of every page. If adding tags to the page <head> section is the [...]
[SharePoint 2010] Create a Simple Custom Action Using Visual Studio 2010
Visual Studio 2010 has added a multitude of new features to make custom development on SharePoint 2010 much simpler that it was previously. Though Visual Studio 2010 does not include a simple wizard or other simpler process for creating Custom Actions, we can still take advantage of the simple packaging, debugging, and deployment features available [...]
