Category: List view modification

Approve or reject list items

· Alexander Bautz · List view modification, SharePoint, SharePoint 2010, SharePoint 2013, Utilities · 20 comments

I have previously posted a JavaScript solution for approving multiple documents or list items. This is an updated version that adds two buttons in the ribbon: one for “Approve” and one for “Reject”. Refer the original solution for details, but please note that the variables for controlling the text values have changed. Use this code […]

List view: Preview item on hover

· Alexander Bautz · List view modification, SharePoint 2007, SharePoint 2010, SharePoint 2013, Utilities · 262 comments

Change log June 1, 2014 Updated to v1.38: Added “URL” and “Image” as “type” in the fieldData section of the configuration (for use with field of type Hyperlink or Image). Tidied up a few unused variables. Added id attribute “spjs_previewTable” to the main preview table for easier styling. Add style tag to the CEWP code […]

Multilingual text in a calculated column

· Alexander Bautz · Form modification, List view modification, Utilities

Have you ever wanted to have the text in a calculated column translated according to the selected language in a SharePoint sites multilingual user interface? Lets say you want to have a task list view grouped by the status of the tasks, but the statuses are in Norwegian: Ny, Under behandling and Fullført. For an […]

vLookup for SharePoint 2013 v1.5

· Alexander Bautz · DFFS Plugin, Form modification, Javascript, List view modification, SharePoint 2010, SharePoint 2013, Utilities, vLookup · 200 comments

Change log September 3, 2014 Changes in v1.730: Minor update for compatibility with DFFS v4 “direct to backend script”. June 27, 2014 Changes in v1.723: Added check for a function named “vlookupChildViewOrEditCallback” to detect open or edit of a child (in dialog only). Add a function with this name, and it will be called when […]

Remove click events and disable anchor tags in a SP2010 calendar view

· Alexander Bautz · Javascript, List view modification, Requests, SharePoint, SharePoint 2010, Utilities · 9 comments

I got a request from Larry Pfaff: …Can all the links be disabled on a calendar view and allow navigation between months for sp 2010? A bit back and forth between Larry and me produced this code: <!– refer jQuery –> <script type=”text/javascript”> $(“.ms-acal-rootdiv”).bind(“click dblclick”,function(){ return false; }); setInterval(function(){ $(“.ms-acal-item [bricked!=’1′]”).each(function(){ $(this).attr(“bricked”,”1″).bind(“click dblclick”,function(){ return false; […]

vLookup now supports SharePoint 2013

· Alexander Bautz · CAML Query, Form modification, List view modification, SharePoint 2010, SharePoint 2013, Utilities, vLookup · 39 comments

Change log June 19. 2013 Changes in v1.47 Added {currentSite} as option in “List base URL” to dynamically use the current sites base url. Use this if you plan to save the site as a template. May 15. 2013 Changes in v1.45 Numbers are now aligned right. May 14. 2013 Changes in v1.44 Added formatter […]

vLookup for SharePoint 2010

· Alexander Bautz · Form modification, Javascript, List view modification, SharePoint, SharePoint 2010, SharePoint 2010 Client Object Model, Utilities, vLookup · 195 comments

16.02.2013 Updated to v1.3 with these changes: Added more options to process the values pulled back from the query. In addition to the previous substring, you can now have prefix and suffix and additional date formatting options. Hover over the help icon to learn more. Please note that you must reconfigure any existing “substring setup” […]

Show field description in list view column header – updated version

· Alexander Bautz · List view modification, Requests, SharePoint, SharePoint 2007, SharePoint 2010, Utilities · 4 comments

I have previously posted this solution that lets you add the field description to the list view column header. By request I have updated the solution to work in a web part page with multiple lists / libraries. Put this code in a Content Editor Web Part at the bottom of your list view or […]