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
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
Syntax:
extendLookup({markasReadOnly
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
});
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/
LHS = RHS. hence proved. :)
ReplyDelete