JSOM Provisioning: Creating SharePoint artifacts without declarative XML
The recent guidance from Microsoft regarding the provisioning of SharePoint artifacts is pretty clear. The recommendation is to completely move away from declarative creation of Site Columns, Content...
View ArticleModify Regional and Language settings with JSOM and JavaScript
Recently, the ability to modify the Regional and Language settings of a site has been added to the client APIs in SharePoint 2013 and SharePoint Online. While the support for SharePoint 2013 was added...
View ArticleAvoid customizing the SharePoint Online root site collection
I had an interesting decision to make recently: Should the root site collection of the SharePoint Online tenant be used to host the main intranet landing site? A very common requirement for a...
View ArticleUpdate user language and regional settings with CSOM
Following my previous post around multilingual aspects of SharePoint Online: Modify Site Regional and Language settings with JSOM and JavaScriptHere is a bunch of CSOM code which will update the...
View ArticleInstall and Update Sandbox Solutions with CSOM
So recently, I was working on a SharePoint Online project and was looking for a way to automate the installation and update of a No Code Sandbox Solution (NCSS).I was aware that you can install and...
View ArticleCustom multilingual text in SharePoint Online using Taxonomy and JSOM
I have been working on an Office 365 global intranet which will be rolled out to about 55,000 users worldwide. Naturally, one of the core requirements of the solution is that it should be multilingual....
View ArticleUsing Office 365 Connectors for Groups in ASP.NET MVC
At Connect(); 2015, a new feature for Office 365 Groups called custom connectors was launched. With custom connectors, a new conversation can be started within an Office 365 Group programmatically,...
View ArticleSearch a Taxonomy term in a TermSet using JSOM
Here is some code I put together to search a term within a term set. This is for scenarios when you have a large term set and need to efficiently find a term with a specific label.In this code, I am...
View ArticleSimple bundle, minify and upload JS to SharePoint using Gulp
I recently started playing around with Gulp and was not really impressed until I came across the gulp-spsave plugin. This plugin will let you upload your JS/CSS files directly to SharePoint right from...
View ArticleMinify custom SharePoint themable CSS with Gulp
The ability to create your own themable CSS has been present in SharePoint for a long time:How to: Make custom CSS files themable in SharePoint 2013Working with the SharePoint Theming EngineYou can...
View ArticleAdd TermStore Managers and Contributors using CSOM
A new version of CSOM was released today for SharePoint Online. You can find more information about that here:...
View ArticleIdentify Office 365 Tenants using a custom logo
I came across something really simple but equally useful recently.It is quite well known that Office 365 allows you to set a custom image as a logo for your organisation. This logo then appears in the...
View ArticleSharePoint Online: Get UserProfile Properties with REST API Batching
In my previous post SharePoint 2013: Get UserProfile Properties with REST API, we saw how to fetch SharePoint UserProfile properties with the REST API.The only thing missing in that post was, at the...
View ArticleSharePoint Online: Write User Profile Properties with REST API
In my previous posts, we saw how to Set user profile properties using JSOM & JavaScript and Set another user's profile properties with CSOMNow, here are some code snippets I have put together to...
View ArticleGetting started with TypeScript, Browserify and Gulp in SharePoint
In my previous post Simple bundle, minify and upload JS to SharePoint using Gulp we saw how Gulp tasks can be used to simplify our JavaScript development experience in SharePoint. I am really impressed...
View ArticleUpload changed display templates to SharePoint using Gulp
Here is a quick tip which might be helpful when working with display templates. A typical SharePoint solution can have a large number of display templates but while working with them, you might me...
View ArticleFirst SPFx webpart: Get/Set a single value userprofile property in SharePoint
So the Developer preview of the SharePoint Framework was released last week and I decided to get my hands dirty right away. This is a webpart I created just to get a hang of things and to learn the key...
View ArticleMaking a POST request to SharePoint from an SPFx webpart
Following up on my previous post First SPFx webpart: Get/Set a single value userprofile property in SharePoint, in this post I have separately documented how to make an HTTP POST request from your SPFx...
View ArticleSharePoint Framework: Validating properties in the Web part property pane
Yup, you read it right. Validations can be added to the properties in the web part property pane of an SPFx webpart. The validation function can be Synchronous as well as Asynchronous. This means that...
View ArticleBatch REST requests in SPFx using the ODataBatch preview
This is one of my favorite things in the SharePoint Framework right now. The ability to easily batch REST API calls and send them to SharePoint in a single request.There is a new class called...
View Article