background preloader

Development

Facebook Twitter

JQuery on every SharePoint page. I’ve been doing a lot of work in the sandbox over the last few days, not all of it stress-free, but that is for another post.

JQuery on every SharePoint page

Something I wanted to be able to do was bootstrap a javascript library, for example JQuery, onto every page in the site. Outside the sandbox of course, there are a few ways to do this, however inside it your options are limited. Dynamic Data. Tutoriel. Log. Camlex.NET. Cascaded Lookup Dropdowns. SharePoint Cascaded Lookup Dropdowns (SPCD) is an entirely JavaScript-based solution for creating Cascading Dropdowns in a SharePoint list form (New or Edit).

Cascaded Lookup Dropdowns

Download it from CodePlex Its main advantages are: No need for server backend deploymentNo GAC deploymentEasy setup and configurationAjax Based – no postback or nasty page reloadsNo need for any JavaScript FrameWork (jQuery, Prototype, …)Uses Entirely SharePoint’s services and DOMWorks in MOSS 2007 / WSS 3.0 and in MOS 2010 / WSFUse same JavaScript for many lists/formsCreate multiple cascaded relations in the same form. jQuery Library for SP Web Services. Impersonate Users in SharePoint.