As I have explained in one of my earlier post that, there are 2 REST APIs to retrieve items from SharePoint: –
- Items – GET request and,
- GetItems – POST request. CAML query in the body.
In this post, I’ll be discussing about the latter.
Read More »
As I have explained in one of my earlier post that, there are 2 REST APIs to retrieve items from SharePoint: –
In this post, I’ll be discussing about the latter.
Read More »
In my, previous post, I had demonstrated how to get List Items using SharePoint REST API. In this post, we will see how to retrieve the following fields:
In one of my previous post I had demonstrated how to, Download Large Files from SharePoint Online. While the file download is working perfectly fine, but, I was constantly getting the following error while trying to load/access it’s properties,
Value was either too large or too small for an Int32
It’s pretty easy now to get your Office 365 tenant ID. Here, I will demonstrate three ways, by which you can retrieve your tenant ID :-
In this post, I’ll be retrieving a SharePoint site’s TimeZone using CSOM.
var context = SP.ClientContext.get_current(); var timeZone = context.get_web().get_regionalSettings().get_timeZone(); context.load(timeZone); context.executeQueryAsync(successHandler, errorHandler);
using (ClientContext ctx = new ClientContext("siteUrl")) { ctx.Credentials = new SharePointOnlineCredentials("userId", secureStringPassword); Microsoft.SharePoint.Client.TimeZone sharePointTimeZone = ctx.Web.RegionalSettings.TimeZone; ctx.Load(sharePointTimeZone); ctx.ExecuteQuery(); }
The output, in both the cases, will be:
Read More »