jQuery Library for SharePoint Web Services: Lots ‘o New Stuff Coming in v0.4.7

I’ve been banging away on new features and functionality for the next version of the jQuery Library for SharePoint Web Services, so my blogging has fallen by the wayside a bit.  v0.4.7 is shaping up nicely, in large part because the stuff that I’ve been adding has been driven to a large degree by the community of people using it.  I think it’s time to settle into testing mode now that I’ve gotten some things into the library that I know people are starting to use already.  It’s great that the community is expanding because it means that there’s more testing, and it is real world testing: the best kind IMHO.

Community driven feature set tested by the community.  Sweetness!

If you haven’t been following the details (and why would you unless you were waiting for something specific – right Lisa?), here’s what’s been going on.  The current alpha is v0.4.7ALPHA7.

Note: Changes listed below are cumulative.

ALPHA1
Added options to SPDisplayRelatedInfo:

numChars: 0, // If used on an input column (not a dropdown), no matching will occur until at least this number of characters has been entered
matchType: "Eq", // If used on an input column (not a dropdown), type of match. Can be any valid CAML comparison operator, most often "Eq" or "BeginsWith"

These options should be used carefully if columnName is a dropdown/multi-select, as unexpected results may occur.

ALPHA2
Fix for issue 4971: The & sign causes problem

ALPHA3
Actually fixes what ALPHA2 was supposed to fix, but didn’t, because I was lame.

ALPHA4

  • Added support for secondary relationship lists in SPCascadeDropdowns (issue 5010)
  • Improved debug mode in SPDisplayRelatedInfo when relatedList column doesn’t exist.
  • Improved formatting for calculated columns in SPDisplayRelatedInfo by removing leading value type indicator (e.g., string;#, float;#, datetime;#) (issue 5011)
  • Added a completefunc option to SPCascadeDropdowns, SPDisplayRelatedInfo, SPLookupAddNew, and SPRequireUnique (issue 5012)

ALPHA5

  • Tightened up the completefunc code described above after testing. You can pass your completefunc in either of these two ways:
completefunc: function() {
  ...do something...
},

or

completefunc: doSomething,   // Where doSomething is the name of your function

In SPCascadeDropdowns and SPDisplayRelatedInfo, the completefunc will be called each time there is a change. In SPLookupAddNew and SPRequireUnique, completefunc is simply called when all else is done. Potential uses for the completefunc: consistent default formatting overrides, additional lookup customizations, image manipulations, etc.

ALPHA6

New Operations

Web Service Operation Options MSDN Documentation
Meetings AddMeeting organizerEmail, uid, sequence, utcDateStamp, title, location, utcDateStart, utcDateEnd, nonGregorian Meetings.AddMeeting Method
  CreateWorkspace title, templateName, lcid, timeZoneInformation Meetings.CreateWorkspace Method
  RemoveMeeting recurrenceId, uid, sequence, utcDateStamp, cancelMeeting Meetings.RemoveMeeting Method
  SetWorkspaceTitle title Meetings.SetWorkspaceTitle Method

ALPHA7
Added support for multi-select parent columns in SPCascadeDropdowns.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.