Overview on SPEx

SPEx - SharePoint Javascript library extended

SPEx is a Javascript library, which extends some of the existing out of box functionalities of SharePoint.

It’s in beta stage.

Its current version 0.1.0
It’s tested over SharePoint 2010.





Prerequisites

jQuery v1.4.2

SPServices-0.5.8 or greater
Pgrid



SPEx APIs

extendLookup
Syntax:
extendLookup({
WebURL: "", // Optional, for future purpose
sourceList: "", // Source list name
sourceColumn1: "", // Source Column from the source list which will be selected.
sourceColumn2: "", // Source Column from the source list to be used in search.
CAMLQuery: "", // Optional, for future purpose
numChars: 3, // Minimum number of chars to be entered for search
search: false, // Turns on/off Search
targetColumn: "" // Target column name in new or edit form
});
markasReadOnly

Syntax:

markAsReadOnly("targetColumn"); // Target column name in new or edit form 


markasDisabled

Syntax:

markAsDisabled("targetColumn"); // Target column name in new or edit form 


Known Issues

Currently, extendLookup works on non-dialog based forms.

markasReadOnly and markasDisabled works on single line of text type of columns



Download

SPEx can be downloaded from http://spex.codeplex.com/

Comments

Post a Comment