Category: Utilities

Showing or hiding form fields based on membership in a SharePoint group

· Alexander Bautz · Form modification, Javascript, SharePoint 2007, SharePoint 2010, User information, Utilities · 33 comments

This solution will let you control the visibility of individual fields in NewForm, DispForm and EditForm based on membership in a specific SharePoint group. This is an updated version of this post. I have updated it to support newer versions of jQuery, and to use spjs-utility.js. Note: If you plan to hide empty fields in […]

Form Field Tooltip for SharePoint 2007 and SharePoint 2010

· Alexander Bautz · Form modification, Javascript, SharePoint, SharePoint 2007, SharePoint 2010, Utilities · 89 comments

27.01.2013 Updated to v1.5 and added MUI support. 30.04.2012 Updated the solution to Move the tooltip image to the formlabel field and ensured all fields are visible when entering “fftsetup=1”. 26.02.2012 Updated the solution to prevent cutting the top of large tooltip containers. I have previously posted a solution for adding HTML tooltip for selected […]

List view: Preview item on hover – SharePoint 2010

· Alexander Bautz · List view modification, SharePoint, SharePoint 2010, Utilities · 153 comments

03.12.2013: New version found here 14.06.2012 I forgot something in v2.2 – to avoid confusion i add another version v2.3 with support for mixed setup with calendars and lists in one page. 14.06.2012 v2.2 adds support for calendar day and week view, and adds an optional “Edit item” button. See updated CEWP code and description […]

SPJS Charts for SharePoint v3.x

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

10.12.12 I introduced a new bug in v3.3.7 that broke the filter if you did NOT use “filterAdditionalCharts”. This should be fixed in v3.3.8. 13.11.2012 Updated to v3.3.7 to fix a bug regarding “filterAdditionalCharts” in the Custom CAML filter setup. This was broken in v3.3.6 – thanks to Paul Brown for notifying me. Please note […]

Dynamic Forms for SharePoint

· Alexander Bautz · Form modification, Javascript, SharePoint, SharePoint 2007, SharePoint 2010, Utilities · 105 comments

29.05.2012 I have published a production release here You can no longer leave comments in this article. Please post any comments or questions in the one linked above. 29.01.2012 I have done some work during this weekend, and i see that i have underestimated the complexity dealing with other than “is equal to” in this […]

Approve multiple documents or list items in one operation with client side code

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

You find an updated version here: https://spjsblog.com/2015/05/18/approve-or-reject-list-items/ I got this request from Larry: Good day A, Have a question. Is there an easy way to add to the SP 2010 ribbon an approve all button. I hate having to select each item and manually approve each one. I have found some script but they are […]