Category: sharepoint

Hit Shift-Enter in a SharePoint multiline text-field to insert a new line instead of two

At my customer, we created a solution where users can fill in some comments in a SharePoint multiline text-field. Unfortunately, every time they entered some lines, they appeared a little bit too far from each other. Looking at the code, SharePoint adds a “p” or double “div”’s around the line. After some testing, the simple …


What is your SharePoint Business Model: Governance basics

Ben McMann from Tribridge talks in this presentation about the SharePoint Business Model. In my view, any project ( not just SharePoint) should start with making up such a thing. This should be the basis of your governance, the start on why and how you are going to manage things.


Microsoft Productivity Hub is a Quick Win for Training and Governance

The Microsoft Productivity Hub 2010 is a customizable, on-premise training solution for technology products. Developed by RedTech for Microsoft, the Productivity Hub is based on SharePoint 2010. Code for the Productivity Hub’s Sliverlight components and other add-ons can be found here. The Microsoft Productivity Hub can help improve information worker productivity by giving users the …


Rename item in order to work when you create a new item based on the title

Quite a title this time 🙂 Let me explain: I have a list where people can add items to: requests for a ticket. Those tickets are ( if approved ) getting into a workflow: every ticket becomes a folder in a list, where we can have actions as list items. The problem was that my …


add a PreSaveAction on the SharePoint "input type=button"

My previous blogpost was about how you could replace the SharePoint:SaveButton with a input type=Button in order to add a redirect after you have filled in the form. Today I wanted to add the PreSaveAction() functionality and it didn’t work. After some research and testing I found out that the input type=Button does not have …


Add a redirect on a custom newitem form after you hit the "SharePoint:SaveButton"

At a client, I am building a custom formin SharePoint via a custom newform. One of the requests was that after the form is submitted, users have to be redirected to a “thank you” page. If you insert a dataview, you get a normal “input type=button” which you can customize like I described here. With …


How to check for attachments or limit the number of attachments in SharePoint via jQuery

A client had a business requirement that if someone added an attachment to an item in a list, a metadata field had to be filled in. So I put on my jQuery glasses (they are quite special, looking a bit like Dame Edna’s) I ended up with following code which uses the PreSaveAction, a default …


Get the field value from dispform.aspx in SharePoint 2010 – 2013 via jQuery

I was trying to find a quick way to get the field value from dispform.aspx in SharePoint. Apparently, the internet is filled with .. let us say “less-interesting methods” to get that value


SharePoint loses attachment when trying to save without filling in mandatory fields

If you save a SharePoint item with an attachment while a mandatory field is blank, the page will error. But the attachments are gone! Here is a solution!


2 ways for Multiple filters on a (external) list without typing the whole thing – SharePoint 2007 / 2010

I am building a solution for a client where they can pick an item in an external list and they get to see a page with the rest of the data. The selection table, where you can pick the item, has 5 fields. All fields have to be able to be filtered in order to …