SharePoint – Get list items using JavaScript

Many times I've used the examples in this article to get lists items from SharePoint using JavaScript. The examples in this article are however incorrect and the collection of list Items isn't available within the onQuerySucceeded function. The corrected example code is shown below:

Advertisements

Office 365 – SharePoint Online – Out of the box is good, but sometimes not – OWS_URL

In general I try to use out of the box functionality in SharePoint but sometimes out of the box just doesn't work. Today I  created a list with URLs and I used the out of the box field URL. SharePoint created a Managed Property for me called OWS_URL. So all is still good. Then I … Continue reading Office 365 – SharePoint Online – Out of the box is good, but sometimes not – OWS_URL

SharePoint 2013 – Display the first 100 characters of a Publishing Page Content field using Display Templates

I like the usage of Display templates but every now and then there are problems that should be easy to solve that are not. Well, the problem in this article is actually  one of those easily solved problems. Once you know how. I've got a page in my Office 365 SharePoint online environment. I'm using the page … Continue reading SharePoint 2013 – Display the first 100 characters of a Publishing Page Content field using Display Templates