Like Us
Plus One
Follow Us
Search
 Name Vardhaman Deshpande  Blog Vardhaman Deshpande
 Location India  Category SharePoint
 Articles 79  Views 51049

Articles from Vardhaman Deshpande

s
I have just published a CLI tool to view and manage SharePoint Framework extensions:https://www.npmjs.com/package/spfx-extensions-cliMore details in the package README.Code is available on GitHub. ...
This is a topic which has been discussed quite a lot since the launch of the SharePoint Framework. The SPFx Yeoman generator is recommended to be installed globally, but what if a new version is re...
If you have been playing around with SharePoint Communication sites, you might have noticed there is commenting functionality available now on site pages. Digging deeper on how this functionality i...
I was recently working on converting my hobby project Office 365 Public CDN manager from JS, Knockout and jQuery into TypeScript, React and general ES6 code. It was a really great learning experien...
Here is some quick code I put together for using CSOM with an account which has MFA enabled. It uses the SharePoint PnP Core library which can be found here: https://www.nuget.org/package...
If you are using something like Object.assign or Promises in your ES6/TypeScript code, you will sooner or later come across the fact that IE11 does not support them natively. In such cases, the nat...
So recently, an update to the SharePoint Framework was released which introduced some cool new features including ApplicationCustomizers, FieldCustomizers and CommandSets. You can re...
In my previous post, we had a look at how to authenticate to the Microsoft Graph API in PowerShell. In this post, lets have a look at how we can use the Microsoft Graph REST API to create an Azure ...
In this post, lets have a look at how we can authenticate to the Microsoft Graph REST API through PowerShell. There are a few examples already available online but either they refer to old endpoint...
I have briefly written about building SPFx services (using ServiceScopes) in my previous post, SharePoint Framework: Org Chart web part using Office UI Fabric, React and OData batchingIn this ...
This is a quick follow up post to my previous post Using TypeScript async/await to simplify your SharePoint Framework code.Since publishing my previous post, some folks have asked how would th...
I recently learned about the Async/Await functionality in TypeScript and I was really surprised how easily you can simplify your code with it. Using Async/Await, you can get rid of spaghetti code a...
When updating list items in SharePoint with the REST API, we need to know the ListItemEntityTypeFullName of the list item we are planning to update. There are some good examples on MSDN regard...
Here is some quick code I put together to send emails in SharePoint Online to external users who have accepted sharing invitations and signed in as authenticated users.Before having look at the cod...
The SharePoint Framework Release Candidate 0 (RC0) was released recently which had some breaking changes compared to the previous drops. You can see the release notes here: https://github.com/Share...
Introducing: SharePoint Online Public CDN Manager      07-Nov-2016     303  
The Office 365 Public CDN Developer Preview was recently announced which allows static assets like images, JavaScript, CSS etc. to be hosted in a globally available CDN. Find out more about it here...
I was recently working on a SharePoint Online project where we had quite a heavy use of the External Sharing CSOM API.Here are some utility functions I have put together which might be useful in th...
Here is a SharePoint Framework web part I have put together to show an organisation chart for the current user: Code is available on GitHub as always: https://github.com/vman/SPFx-Org-Cha...
Here is some quick code I put together today to get all Suspended workflow instances on a list in SharePoint Online.This code can be used to get all instances for a given status. (Suspended, Termin...
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 OData...
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 me...
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 ...
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 hang of things and to learn the k...
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 ...
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 re...
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 ...
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 ...
Identify Office 365 Tenants using a custom logo      31-May-2016     317  
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 ...
Add TermStore Managers and Contributors using CSOM      27-May-2016     335  
A new version of CSOM was released today for SharePoint Online. You can find more information about that here: http://dev.office.com/blogs/new-sharepoint-csom-version-released-for-Office-365-m...
Minify custom SharePoint themable CSS with Gulp      23-May-2016     343  
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...
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 ri...
Search a Taxonomy term in a TermSet using JSOM      23-Mar-2016     553  
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 a...
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,...
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 multiling...
Install and Update Sandbox Solutions with CSOM      16-Nov-2015     676  
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...
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 t...
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 Share...
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 ad...
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, Conte...
In my previous post, I wrote about Getting started with the Office 365 Unified API. In that post, I introduced the new Office 365 Unified API and created a basic console application which used...
Getting started with the Office 365 Unified API      04-May-2015     667  
The Office 365 Unified API was recently launched at Build 2015. It uses Azure AD for authentication and has just one endpoint "graph.microsoft.com" which can be used to query for data from any serv...
I have come across this scenario many times where even if I am the tenant admin in my SharePoint Online tenant, it is not necessary that I will be the site collection admin of every site collection...
CSOM tip for making your code flexible      25-Mar-2015     567  
We all know that in CSOM, for any given object, we can specify certain properties to be brought back from the server. Something like this: This will only bring back the Title property of the web t...
Custom Taxonomy Picker for Provider Hosted Apps      23-Mar-2015     659  
When working with SharePoint Online or developing cloud friendly solutions, it can be tricky to replicate some functionality which is easily available on-premises. We had a scenario recently where ...
User Profile properties were recently made writable from the CSOM. Vesa Juvonen has a great post about it here . In addition to that, I have also blogged about how a Tenant admin can set the u...
Glimpse of the upcoming Office 365 Video API      24-Jan-2015     844  
A while ago, I wrote a post about getting all the video channels and videos from the Office 365 Video Service.  Shortly after that I got a word from Microsoft that there is going to be a publi...
In one of my previous posts, we saw how you can programmatically add a document to a Delve Board with the REST API. This is a follow up post to that in which we will see how to Follow or Unfollow a...
In my previous post, we saw how you can get a list of all the video channels in your Office 365 portal with the REST API. In this post, we will see how to get a list of all the videos in a particul...
In my previous post, we saw how you can get a list of all the groups in your Office 365 portal with the REST API. Now, if you are building a solution on top of the Office 365 platform and want a li...
Office 365 has introduced 3 new portals recently: Videos, Groups and Delve. Behind the scenes, the architecture of Videos and Groups is such that each Video channel is a site collection and so is e...
Delve Boards: Under the hood      09-Jan-2015     582  
Microsoft recently launched the Boards feature in Delve, with which you can create Pinterest like boards and add content to them. You can add documents from your SharePoint sites as well as OneDriv...
My Colleagues App powered by Office Graph      03-Jan-2015     493  
This will be a very short post following one of my previous posts about the Office Graph and the GQL. I have taken most of the code there and put it inside a SharePoint Hosted App.The App quer...
Set another user's profile properties with CSOM      14-Nov-2014     726  
So a while ago, writing User Profile properties via the CSOM was made possible. Vesa has a great post about it here:http://blogs.msdn.com/b/vesku/archive/2014/11/07/sharepoint-user-profile-properti...
Writing Signals into the Office Graph and Delve      03-Nov-2014     1272  
Say you are developing a custom solution in SharePoint Online and you want to integrate data from the Office Graph in it. The method of reading data from the Office Graph is pretty straightforward ...
So you must have heard about the Office Delve launch recently. I have been trying out my hands at the Office Graph which powers Delve and the Graph Query Language which can be used to get data from...
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 o...
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 so...
In the recent Office 365 Developer YamJam on the Office 365 Technical Network, there were lots of great questions asked to and answered by the Office 365 Engineering Team. You can view all the ques...
Improving REST API performance with JSON Light      13-Sep-2014     1624  
While browsing the SharePoint 2013 SP1 change log , I came across something really interesting:2817429‚Äč Minimal and no metadata are now enabled as supported JSON formats. This really caught my...
This will be a quick post to follow up on couple of my previous posts:1) Managing SharePoint 2013 Workflows with CSOM2) Using the SharePoint 2013 Workflow Interop Service in CSOMIn this p...
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...
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 Cli...
Web Development Tools & Reference      03-Jun-2014     451  
Just a list of tools and reference material which I think is really useful for Web Development:JavaScript:1) jslint : http://www.jslint.com/JSLint is a JavaScript program that looks for proble...
Managing SharePoint 2013 Workflows with CSOM      31-May-2014     475  
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,...
Knockout.js Simplified      09-Mar-2014     547  
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 dependenc...
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...
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. ...
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 artic...
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 t...
Include Caching in jQuery getScript      16-Jul-2013     876  
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 p...
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 w...
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: http://vrdmn.blogspot.in/201...
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...
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...
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 ...
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 ...
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 per...
...
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 wan...