-
Notifications
You must be signed in to change notification settings - Fork 1
Welcome
MagicSharepoint is a code generator ala Iron Speed Designer, but designed to look at Sharepoint lists instead of SQL tables. The result is an Ajax-ified html page ready to interact with a Sharepoint list. The code was originally built around Darren Johnstone's SPAPI javascript libraries, which cleanly provides a wrapper around the WSDL presented by Sharepoint's native web services. I added callback functionality to his original SPAPI_Core library, and also added some additional folder manipulation methods to his SPAPI_Lists library.
There is much work to be done to make this foolproof, but in my environment I create a /utils folder off the root of the SP site collection, then unzip the archive into that folder.
Access /utils/magicsharepoint.htm and it should automatically pull in all sites and subsites available on your site. Scroll down and click the desired site, and a list of lists will appear on the right. Click on a list and code will be generated and displayed. Click preview, and the code will be pushed to /utils/test.htm and executed in an iframe.
To use this code, I create a new HTML page and paste the contents of the generated source into it, edit to create the presentation I want, then add a Content Editor Web Part and point it at the new HTML file. Hopefully, voila!