Category: CAML Query

SharePoint list’s or document library’s: Primary key in selected field

· Alexander Bautz · CAML Query, Javascript, SharePoint, Utilities · 10 comments

05.01.2010 Small update to hide the “OK-button” if the “keyIsNotUniqueCount” is greater than 0. 25.11.2009 Small update to the script for placing the image correctly when used with the headings script. In this article I will give you a solution for adding “primary key support” to a list or a document library with JavaScript. This […]

Add HTML mouseover tooltip

· Alexander Bautz · CAML Query, Javascript, SharePoint, Utilities · 72 comments

28.12.2009: Updated the code in line 38 and 41 and added “stop(true,true)” to prevent animation from looping when mouse is rapidly hovered in and out. In a previous post i described how to add a custom tool-tip on mouse-over a SharePoint field. This was using the “title-property” of a DOM element and therefore limited to […]

Get variables in a script from another list

· Alexander Bautz · CAML Query, Javascript, SharePoint · 2 comments

This one is a follow-up on the two previous posts on manipulating form labels, but the technique can be used for many other scenarios. I will show you how to use entries from another list as “resources” for a script by querying the “resources-list” for variables to use in the script. Because i use the […]

Show Workflow history in Workflow status column in list view

· Alexander Bautz · CAML Query, Javascript, List view modification, SharePoint, Workflow · 5 comments

In this post i will show you how to display the workflow history log in the workflow status column instead of just “In Progress” or “Completed”. The default behavior is like this: The status is “Completed”, but what did it do? A click on “Completed” brings up the workflow history log: I think that is […]

Cascading dropdowns

· Alexander Bautz · CAML Query, Form modification, Javascript, SharePoint · 81 comments

14.06.2010 A new version of this script is released Cascading dropdowns in SharePoint text fields – populated by lookup in another list (version 2) I recommend using the new version. Updated 14.08.2009 This script “converts” singleline textfields to lookup-dropdowns. One dropdown filteres the next. You can have 2-5 connected dropdowns in each “collection”. You can […]