Category: Javascript

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 […]

Pull user list property from people picker and write to separate textfield

· Alexander Bautz · Javascript, SharePoint, SharePoint 2007, SharePoint 2010, User information, Utilities · 26 comments

I have previously posted a solution for pulling the email address from a people picker. This is an updated version that lets you pull any user list property (this is the built in user list in SharePoint and NOT the SharePoint Server Shared Service Provider profile) from the people picker and write it to a […]

Truncate text in list view and add mouseover preview

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

Change log 19.06.2015 v1.2 for SP2007: By request fixed a bug occurring when using this in a list view with multiple web parts from the same list (same fieldinternalname), and the column position of the field is not the same for all the web parts. 19.07.2014 v1.2 for SP2010 and 2013: Small update to address […]

Compare date with today: status indicator in list view

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

Change log May 03. 2013 Changes in v1.3: Changed how the dateformat is read from “settings.dateFormat” to handle formats with four digit yyyy. 10.11.2012 Updated to v1.2 to add mouseover displaying days, hours and minutes. This update also includes the time portion of the “DueDate” in the calculation. Please note that the calculated column code […]