Category: User information

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

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

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

CommentBox for SharePoint

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

You find the new version for SP 2010 and 2013 here 13.08.2011 v1.2 released with these changes to the argObj: paging: Use this in conjunction with the next parameter to set the number of top level comments to display initially. topLevelCommentsLimit: The number of top level comments to display initially. showMoreCommentsText: If there are more […]

Filter a calendar view based on user profile property

· Alexander Bautz · Filter, Javascript, List view modification, Requests, User information · 22 comments

I got this request from Carel Schotborgh: Using WSS 3.0 Not have been able to find it anywhere so, since it is possible to filter a list items (in all event/task/etc view) based on membership in SharePoint group (By Alexander). I would like to request the possibility to filter an Agenda View on a single […]

Autocomplete for SharePoint people picker

· Alexander Bautz · Form modification, Javascript, SharePoint, User information, Utilities · 31 comments

26.03.2010 Updated code to be able to clear the selection It’s only the code for the file “AutocompleteForPeoplePicker.js” that has changed. Thanks to Steve for pointing out the bug. This solution adds auto complete functionality to a standard SharePoint people picker. This solution is built with the autocomplete widget from jQuery UI. The values are […]