Querying List Items from Large Number of Sites in SharePoint
When scouting the web for working with SharePoint Large Lists, you can find many articles which deal with fetching a huge number of items from one particular list. But very little data when you want to...
View ArticleWorking with Taxonomy and JavaScript in SharePoint 2013
SharePoint 2013 has introduced some nice new features, one of which is the ability to manipulate managed metadata with the JavaScript Object Model. Unlike SharePoint 2010, we can now do a variety of...
View ArticleSharePoint 2013: Authenticating .NET Client Object Model in Office 365
The process of authenticating the .NET Client Object Model in SharePoint Online has been greatly simplified in the 2013 version. Earlier (2010), you had to go through a lot of steps for doing the exact...
View ArticleSharePoint 2013: Elevate User Access with App Only Policy
In SharePoint 2013 Apps, the authorization is handled by a 2 part mechanism. Along with the current user's permissions, the app permissions are also taken into account. User permissions and app...
View ArticleSharePoint 2013: Working with User Profiles & JavaScript CSOM
SharePoint 2013 has added a variety of functionality to the Client API. One of them is the ability to fetch User Profile data. Now you can directly query the user profiles and get the required data...
View ArticleSharePoint 2013: Provision AppPart/ClientWebPart to Page
Along with Apps, SharePoint 2013 has introduced App Parts (ClientWebParts) which give you the functionality of placing the app inside and iframe on a page. This way, you can view your app as a part of...
View ArticleSharePoint 2013: Provision AppPart/ClientWebPart through Elements.xml
In my last post, we saw how we can add an app part to page by directly adding the app part code in our .aspx pages. Here is a link to my last post for those interested:...
View ArticleSharePoint 2013: Modify Navigation Settings with JavaScript CSOM
One of the new additions in the JavaScript Client Object Model in SharePoint 2013 is the Publishing Navigation API. Some of the other additions are the UserProfile API and the Taxonomy API which I have...
View ArticleModify Search Center Settings with JavaScript Client Object Model
Although there is currently no API in the JavaScript CSOM which lets you change the search center url directly, SharePoint stores the search settings in the Property Bag of the root SPWeb object in a...
View ArticleConvert a SharePoint WebApplication from Classic authentication to Claims
Here is a quick Powershell script to convert a SharePoint WebApplication from Classic (Windows) Authentication to Claims Authentication. This script is tested in SharePoint 2010 only.When working with...
View ArticleBatch Operations using the JavaScript Client Object Model
To improve performance and to reduce the time taken for data to travel over the wire, we can do batch operations using the Client Object Model in SharePoint. This can really help in reducing load time...
View ArticleInclude Caching in jQuery getScript
While going through some MSDN documentation on SharePoint 2013, I noticed that Microsoft has suggested to use the jQuery.getScript method to load the SP.Runtime.js and the SP.js files on the page.For...
View ArticleSharePoint 2013: Get UserProfile Properties with REST API
In my last post about SharePoint 2013 user profile properties, we saw how to get them using the JavaScript Client Object Model. In this post lets have a look at how to get them using the REST API. Here...
View ArticleKnockout.js Simplified
Knockout is a fantastic JS library for data binding and dynamically generating complex HTML. It helps a lot in developing applications which are loosely coupled and where there is minimum dependency...
View ArticleSet UserProfile Picture using Client APIs in SharePoint 2013
With the SharePoint 2013 Client APIs, you can only read the User Profile Properties but not modify them. However the only property you can modify is the Current User's profile picture. Source article:...
View ArticleCreate Site Collections with CSOM in SharePoint Online
With the SharePoint Conference 2014, a lot of code samples and articles where recently released. I was most impressed by the Office App Model Samples found here: http://officeams.codeplex.com/Within...
View ArticleView Tenant (ULS) Logs in SharePoint Online using CSOM
Update (14th Sep 2014): Even though the classes exist in the CSOM, the Microsoft Office 365 Engineering team has confirmed that this is something which is not possible right now. It is also something...
View ArticleManaging SharePoint 2013 Workflows with CSOM
As you might have heard many times, the Workflow Architecture in SharePoint 2013 was entirely changed from what it was in SharePoint 2010. Instead of the Workflows running on the SharePoint server,...
View ArticleUsing the SharePoint 2013 Workflow Interop Service in CSOM
In my previous post, I briefly introduced the SharePoint 2013 Workflow Architecture and also showed how to programmatically manage the SharePoint 2013 Workflows via the Workflow Services in the Client...
View Article