AnjLab Sharepoint 2010 RichControls

Overview


AnjLab Sharepoint RichControls is a library that provides enhanced lookup control for Sharepoint 2010 lookup fields. This is open beta release. The software is provided "as is", without warranty of any kind. The source
code you cand find here.

Features

  • No Sharepoint dropdowns and preloaded data
  • Quick data finding and selecting using autocomplete
  • Select fields you would like to see in autocomplete box
  • Supports single-selection and multi-selection modes
  • Customizable title, description fields, look and behavior
  • Filter lookup data using CAML queries at server side!
  • Adds button to create new item in lookup list
  • Use RichControl with Sharepoint 2010 lookup fields
  • Supports languages (English and Russian included)
  • Uses JQuery library
  • Delivered as Sharepoint Solution Package (WSP)

Video & Screenshots

The video presentation:

Lookup Rich Control in closed state:
Lookup Rich Control in opened state:
Searching using Lookup Rich Control:
Multi-selection mode in Lookup Rich Control:

Installation

To install AnjLab Sharepoint 2010 RichControls open Sharepoint 2010 Management Shell (you can find it at Start menu) and execute two commands:
  • Add solution to Sharepoint:
    Add-SPSolution -LiteralPath 'path_to_wsp_file'
  • Install solution to web application:
    Install-SPSolution -Identity AnjLab.Sharepoint.RichControls.wsp -GACDeployment
    -WebApplication 'http://your_web_app'
  • To check that solution is successfully deployed:
    Get-SPSolution AnjLab.Sharepoint.RichControls.wsp

Setup

Go to List Settings and add new field. Select 'Rich lookup' type:
Now you can setup the control:
  • Title field - type field display name that will be title in autocomplete box.
  • Value field - type field display name that will be value of selected row in autocomplete (in most cases it is Title field, so leave it blank).
  • Description fields - type additional field display names in comma-separated form that will be visible in autocomplete row. Description fields and Title field are searchable.
  • Min Length - the minimum number of characters a user has to type before the autocomplete activates.
  • Max Rows - the maximum number of rows that can be returned from server.
  • Max Height - the maximum height of autocomplete dropdown. Useful in situations when autocomplete drop down cropped by add/edit form.
  • Filter CAML - type CAML string that filters result at server. Example of correct filter CAML: <Contains><FieldRef Name="Continent"/><Value Type="Text">europe</Value></Contains>

Setup control to work with Sharepoint 2010 lookup field

Releases

Official releasesDateSizeLinksStatus
1.2.2-beta-12011-Sep-01114.89 KBRecommended for Sharepoint 2010This is currently the recommended release for Sharepoint 2010.