SP 2013: Searching in SharePoint 2013 using the REST new API's

SP 2013: Searching in SharePoint 2013 using the REST new API's

Author: Tobias Zimmergren http://www.zimmergren.net | http://www.tozit.com | @zimmergren Introduction Search has always been a great way to create custom solutions that aggregate and finds information in SharePoint. With SharePoint 2013, the search capabilities are heavily invested in and we see a lot of new ways to perform our searches. In this post I’ll show a simple example of how you can utilize the REST Search API’s in SharePoint 2013 to perform a search. REST Search in SharePoint 2013 So in order to get started, we’ll need to have an ASPX Page containing some…

Read More

SP 2013: The HTTP header ACCEPT is missing or its value is invalid - solution

Author: Tobias Zimmergren http://www.zimmergren.net | http://www.tozit.com | @zimmergren Introduction So just a simple tip in case anyone bumps into the same issue as I had a while back. Going from Beta to RTM, some things changed in the way you retrieve values using REST in the SharePoint 2013 client object model. Description & Solution In the older versions of the object model, you could simply use something like this in your REST call: $.ajax( { url: SPSearchResults.url, method: "GET", headers: { "accept": "application/json", }, success: SPSearchResults.onSuccess, error: SPSearchResults.onError } ); As…

Read More

SharePoint 2013: Business Connectivity Services - Talking to your external lists using REST

SharePoint 2013: Business Connectivity Services - Talking to your external lists using REST

Introduction As most if not all of you already know, SharePoint 2013 and Office 2013 has been released to preview/beta and is available for download from Microsoft’s download centers. In this article I will briefly introduce some exciting changes that has been made to the SharePoint 2013 Business Connectivity Services framework. I’ve written a bunch of articles on BCS for SharePoint 2010, and now it’s time to continue that track and introduce the new features available in SharePoint 2013. [blockquote] Please note that this article is written for SharePoint 2013 Preview, and for the final version…

Read More

SP 2010: Uploading files using the Client OM in SharePoint 2010

Author: Tobias Zimmergren http://www.zimmergren.net | http://www.tozit.com | [@zimmergren](http://www.twitter.com/zimmergren) Introduction In this article I will guide your through the process of uploading a document to any chosen document library in SharePoint 2010 through the Client Object Model. This application has a very simple usage scenario: Type in the URL to your site where you want to upload your file Choose one of the available Document Libraries Click Upload a Document and you’ll get a browse-dialog to choose the file Example: Enter a servername and click Fetch Libraries Select the Document library…

Read More

SP 2010: Programmatically work with External Lists (BCS) using the Client Object Model

Author: Tobias Zimmergren http://www.zimmergren.net | http://www.tozit.com | [@zimmergren](http://www.twitter.com/zimmergren) Introduction **Article 3 in the small BCS-series: ** SP 2010: Getting started with the Business Connectivity Services (BCS) SP 2010: Programmatically work with External Lists (BCS) in SharePoint 2010 3. SP 2010: Programmatically work with External Lists (BCS) using the Client Object Model In my previous article in the series, I talked about how easy it is to fetch information using the standard SharePoint server API-approach. In this article I will talk about how you can access data in your BCS data source, by…

Read More

SP 2010: Getting started with the Client Object Model in SharePoint 2010

In this article I will talk about how you can get started with using the Client Object Model in SharePoint 2010. This new object model is introduced in SharePoint Foundation 2010, and does not require SharePoint Server 2010 to be installed. The Client Object Model is a new object model introduced in SharePoint 2010 which is aimed at making things easier for the developer when developing client-side applications for SharePoint 2010. Three new client APIs With the Client Object Model, Microsoft has introduced a set of new APIs to work with to ease the daily tasks of developers. .NET Managed…

Read More