How to Get Login Name and Display Name using SharePoint 2013 REST API

Wednesday, May 1, 2013

Working with REST API is quite simple and straight forward, for example when you need to fetch data from a list you can use the following JQuery Ajax code snippet: jQuery.ajax({ url: "http://YourSite/_api/web/lists/getbytitle('ListName')/items", type: "GET", headers: { "Accept": "application/json;odata=verbose" }, success: function(data, textStatus, xhr) { ...

SharePoint: Getting “This collection already contains an address with scheme http” Error When Creating a Custom WCF Service

Tuesday, April 23, 2013

Problem: The problem is caused by the fact that IIS supports specifying multiple IIS bindings per site (which results in multiple base addresses per scheme, in our case HTTP), but a WCF service hosted under a site allows binding to only one base address per scheme. Multiple addresses example (in our case two): Solution: Create a custom service factory to intercept and remove the additional unwanted base addresses that IIS was providing. A) Add the custom service factory to your Custom.svc file   <%@ServiceHost language=c# Debug="true" Service="MySolution.Services.CustomService, $SharePoint.Project.AssemblyFullName$" Factory="MySolution.Core.CustomHostFactory", $SharePoint.Project.AssemblyFullName$ %> * Don’t forget to add the assembly full name: $SharePoint.Project.AssemblyFullName$ or you’ll get “The CLR Type...
no comments

I’m Speaking at Israel JavaScript Conference 2013 (js-il)

Thursday, April 4, 2013

The Israel first JavaScript Conference - will take place on Tuesday, June 18, 2013. The topic of my session is: JavaScript UI Components As the HTML5 and JavaScript applications continues to gain incredible momentum and also the need for cross-platform development brought many companies like "Kendo UI" to realize that if they plan to stay in the game they need to re-invent them self's and offer developers a rich HTML, JavaScript framework to enhance their web development experience . In our lesson we'll discuss about why when and how we plan to use awesome UI Components like Charts, Trees, Graphs, Lists and...
no comments

How To Create A Windows 8 App For SharePoint Part 2 – The Development Stage

Sunday, September 30, 2012

  The Development Stage In my last post How To Create A Windows 8 App For SharePoint Part 1 – The Planning Stage we discussed about the reason I chose Windows 8 HTML5 as my development environment and why it’s the best and the most intuitive environment for SharePoint developers who plan to start creating Win8 apps. Today we will focus on developing our Win8 app and integrate it with SharePoint Online 2013. The app will serve as a search and use The new Search REST API to pull data from SharePoint 2013 Search engine (FAST) and display it in our app....

How To Create A Windows 8 App For SharePoint Part 1 – The Planning Stage

Saturday, September 15, 2012

The Planning Stage There’s a big buzz going on around Windows 8 app development, In my earlier post “Create a Metro Live Tile using MetroJS, JsRender and the new REST API” I showed how to create a metro live tile using html and JavaScript and today we continue exploring this subject area and create Windows 8 app that interacts with SharePoint. We will focus on Windows 8 HTML5 app, There are 4 main reasons why I chose to use HTML5 development in this example. A) SharePoint developers will feel much more comfortable around JavaScript and HTML rather then in XAML development. B) Leverage...

SharePoint 2013: Create a Metro Live Tile using MetroJS, JsRender and the new REST API

Saturday, August 11, 2012

Hi guys, One of the biggest changes made in SharePoint 2013 is the UI. And of course I’m talking about The Metro UI Style. We see it ,feel it and interact with it since Microsoft introduced Windows phone 7. and later on in Windows 8 etc... As stated on Wikipedia “A key design principle of Metro is better focus on the content of applications, relying more on typography and less on graphics ("content before chrome").” More and more websites are adopting the Metro UI Style, web sites like www.microsoft.com, www.touchality.com and www.mykindofphone.com. more examples you can find here. We will focus on the Metro...