Category: sharepoint

SharePoint Adoption Kit 2010

End user adoption is very important in every aspect of work and in the development of new technologies. For a platform like SharePoint, which can bring a huge change in the mindset of users, you can better do this the right way. The good implementation of the technology is ofcourse very important, but getting the …


Fixing select/input switch field behavior on more/less then 20 items on SharePoint 2010 dropdowns via Jquery or customized pages

Users were complaining about a slow lookupfield (shown as dropdowns) that contained over 2000 items. It was not only loading slow, they had issues with typing in values as well. I asked this question at the msdn forum and had some great responses. Jeroen Van Bastelaere told me that SP2010 dropdowns had a special behavior: …


Javascript on sharepoint page load: spBodyOnLoadFunctionNames.push( ) vs image onload( )

So you want to start customizing a SharePoint page? Let’s say, you want to load or hide something in a page. First steps include adding a content-editor-webpart on the page and adding some code on the source editor: SharePoint provides the “_spBodyOnLoadFunctionNames” array. When the body is loaded, the onload event handler executes each function …


Create document sets and documents via workflow from a list (without code)

At a customer, we had to move a legacy VB application to SP2010. The application existed of: – dossiers with about 30 metadata fields – items in those dossier, some have attachments with about 10 metadata There are about 20K dossiers, we had to migrate the data and make something in order to do archivation. …


how to get user details from your current user in SharePoint via jquery and webservices

This time we are going to look at SPServices, a great codeplex project, so freely available. The SPServices can be described as a jQuery library which abstracts SharePoint’s Web Services and makes them easier to use. To demonstrate that, let us look at the SPCurrentUser function. This SPGetCurrentUser function does an AJAX call to grab …


SharePoint 2010 date key filters are 1 day off

Strange thing on the SharePoint sites here. I am working with a long list of items and I am using key filters (metadata navigation functionality). When I search for all items with creation date on (for example, DDMMYYYY) 05/05/2010, it will show me all items with creation date 04/05/2010. So my key filters are 1 …


Build a url in xsl for a dynamic link in SharePoint results page

If you create a custom results page for your SharePoint, you may want to create a custom url. For example, if you have a specific page that displays information and you want the users to go there via the search. Or, if you want to link to the dispform for a folder instead of the …


Custom search result page in SharePoint (2007 + 2010)

Ever wanted to create your own search result page ? Just to have a layout that looks better, or more tailored to your clients needs. So where do you start ? Well, the code in this blog will show you what xml fields are passed through, so you can xsl-your way around them. Be sure …


Hide dropdown values from choice fields in SharePoint via jQuery

hide some values in a dropdown field. This is not a way to create a cascaded dropdown, but it could be helpful if you want the users to be able to not select something when a specific rule is met.


Automatically fill in fields via JQuery in SharePoint

Last time we talked about hiding fields in the editform, newform and dispform. But what if we don’t want to hide a certain field, but rather get some value and put it in? An example could be to fill in a unique number or the day of the week. Code First, add the reference to …