Know REST For the Query – SharePoint Saturday Phoenix 2014
Thank you for all who attended my session, below is the video. Big thanks to Becky Bohanon for enhancing the audio! The slide deck is available here: Slide Deck The JavaScript file that was used to do all of the REST calls is available here: demo.js
Read a SharePoint list using JavaScript
There are countless ways to read data from a SharePoint list, and also myriad methods to do this in JavaScript, but I’m going to document this one way as a place to get started, and a published function I can refer back to if needed! First consider the following: Reading SharePoint list data using JavaScript requires the SP.js file to be loaded already. So, we should be putting this function inside of a $(document).ready(function())}; and if needed inside an ExecuteOrDelayUntilScriptLoaded(functionName,…
SSRS 2008 functionality in IE9, IE10
Seems lately browsers update faster than the web solutions, or at least faster than we can update the web solutions to keep up with the browser changes. Maybe it’s just me… Regardless, my company very heavily relies upon custom reporting. Since there were numerous changes in the way IE9 and IE10 render JavaScript DOM objects and other elements, things like SSRS and SharePoint start “breaking”. I recently handled an update enterprise-wide to IE9 by having to modify SharePoint 2010’s compatibility…
SharePoint 2010 compatibility in IE9
SharePoint 2010 is not fully compatible with IE9. To the best of my knowledge this is due to SharePoint’s heavy dependency upon DOM expandos and other features which were available through IE8, but are all removed from IE9. Controls like the Rich TextBox and People Picker tend to render improperly, throw errors on postback, etc. Fortunately, M_Olson posted a JavaScript mod that worked perfectly for me! It looks like this: function ConvertEntityToSpan(ctx, entity) {ULSGjk:; if(matches[ctx]==null) matches[ctx]=new Array(); var key=entity.getAttribute(“Key”); var…