Unit test SharePoint list with TypeMock Isolator

Posted on

Testing your code can be a time consuming business with SharePoint. You’ll to F5 Build. Deploy, And test. This cycle is extremely slow and you don’t want to do this often. Then there’s unit testing. But SharePoint is a complex system. It needs loads of infrastructure to get anywhere. The best to speed up is […]

Show All Draft Documents with Content Query WebPart

Posted on

SharePoint has the capability to show all checkout page of web. Manage Content and Structure has several built-in filters like: All Draft Documents and Checked Out to Me. This filter options can be extended by defining a CAML query in the list Content and Structure Reports list. However this has drawbacks. It is not possible […]

Enable Browser File Handling for Flash with Powershell

Posted on

Browser File Handling was introduced into SharePoint 2010 as a security feature and the same applies to SharePoint 2013. When a user requests a file within SharePoint, the web server (IIS) will respond including the “X-Download-Options: noopen” HTTP Response Header if Browser File Handling is set to Strict and the file (MIME) type accessed is […]

How to add icon to represent PDF documents

Posted on

We have a website with a lot of PDF documents. In content hyperlinks are made to these documents. The design that is given us, says we need to show a PDF icon in front the hyperlink. SharePoint has an option with hyperlinks to show a pictogram in front of a hyperlink. But there’s no default […]

Custom asset picker with Enhanced URLField

Posted on

Working on a SharePoint 2010 WCM site I had the requirement to deliver a more content editor friendly SharePoint. Especially when it becomes to url fields. Content editors are asked to copy-paste urls in SharePoints out-of-the-box url fields. In contrast to the Publishing Content Field, the url field does not come with an asset picker.