Category: Javascript

Status

· Alexander Bautz · Javascript · 4 comments

Hi all, I’m glad to have so many active reader! I do however have some trouble keeping up with all the comments and questions – both in the articles posted here, and to my email address. I intend to answer all comments, requests and emails, but please keep in mind that this is a one […]

Parent-child-grandchild relationship in SharePoint 2010 lists with javascript only

· Alexander Bautz · Javascript, Requests, SharePoint 2010, SharePoint 2010 Client Object Model · 31 comments

09.12.2011 I have updated the solution to v1.1 to let the user chose the icon (or no icon) before the “child” title. The code for the file “ParentChildResources.js”, and the CEWP code for “Parent DispForm” and Child DispForm” has changed. The new “argObj-property” “iconBefore” should be the path to the image to prepend to the […]

Superfish drop-down menu – built from a SharePoint list

· Alexander Bautz · CAML Query, Javascript, SharePoint, SharePoint 2007, SharePoint 2010, Utilities · 140 comments

12.01.2012 Updated to v1.4 to support anonymous access as requested by Brett Anderson. I got this request from Larry: Hey A, I have a good request for you. I would like to build a menu structure using a SP List. JQuery has a plugin called Superfish http://plugins.jquery.com/project/Superfish. looks like it can create a great menu […]

List all attachments when clicking the paperclip in a list view – updated version

· Alexander Bautz · Javascript, List view modification, SharePoint 2007, SharePoint 2010 · 71 comments

13.09.2014 v1.71 fixes a bug where the attachment have an apostrophe in the name. 05.06.2012 v1.7 adds support for jQuery v1.7.x. I have previously posted a solution for listing all attachments when clicking on the paper clip in a list view, you find it here. This is an updated version with a few new features […]

Accessing user profile information in SharePoint with javascript – updated version

· Alexander Bautz · CAML Query, Javascript, SharePoint, SharePoint 2007, SharePoint 2010, User information, Utilities · 37 comments

I have previously posted a solution for pulling user information from the built-in user information list in SharePoint (found in WSS 3.0, MOSS 2007 and SharePoint 2010 both foundation and server). This is NOT the user profile found in MOSS 2007 and in SharePoint 2010 server. You find the solution here This solution is an […]

Pull e-mail from people picker and write to a separate textfield – updated version

· Alexander Bautz · CAML Query, Form modification, Javascript, SharePoint, SharePoint 2007, SharePoint 2010, User information, Utilities · 30 comments

08.01.2012 I have published an updated version of this script here I have previously posted a solution for pulling the e-mail address from a people picker and writing it to a separate field when saving the form. You find it here. This one does the same, but i have updated the scripts and added an […]

Preview metadata in list view on mouseover – updated version

· Alexander Bautz · Javascript, List view modification, SharePoint 2007 · 145 comments

18.09.2011 I have added a bit more functionality. The CEWP code and the file “PreviewMetadata.js” has changed. Re-read this article for details. This is a remake of a previously posted solution for previewing an item in a list when hovering over the table row or a custom image. You find the code below, but first […]

Remove group label in grouped list view

· Alexander Bautz · Javascript, List view modification, Requests, SharePoint, SharePoint 2007, SharePoint 2010 · 35 comments

17.09.2011 I have updated the script to support lookup columns and people pickers. I got a request from Djamel asking for a solution for removing the group label (the field name) in a grouped list view. Add this code to a Content Editor Web Part (CEWP) in the list view. Adding a CEWP in a […]