Twitter Facebook LinkedIn
Win prizes like Hard Disk, Pen drives, T-Shirts etc. Click here for more information


SharePoint Articles By Category: SharePoint Object Model (104)



How to create list from custom list template in SharePoint online using csom?
Posted By Bhawana
16-Sep-2017 6:21 PM
Views 414
In this post we will see how we can create list from custom list template using .Net managed object model code (CSOM) in SharePoint online office 365. Here we have customized a list in SharePoint online site and we saved the list as a template. Now our requirement is to create a list usin...

You cannot change moderation status and set other item properties at that same time SharePoint online
Posted By Bhawana
10-Sep-2017 7:18 AM
Views 257
In this post we will discuss how we can resolve the below issue which comes when trying to update the Approval status column as well as some properties of the list item in SharePoint online using csom ( .Net managed object model code).Recently we were working on a SharePoint project where...

How to create index in SharePoint online list using CSOM .Net managed object model code?
Posted By Bijay Kumar
05-Sep-2017 4:16 PM
Views 275
In this post we will discuss how we can create index in SharePoint online list using csom .Net managed object model code. Here we will do this inside a console application and we will try to connect to SharePoint online site.To work with .Net managed object model code we need to add below...

How copy items from one list to another list using csom .Net managed object model code in SharePoint online?
Posted By Bhawana
04-Sep-2017 6:02 PM
Views 289
Here we will discuss how to copy items from one list to another list using csom .Net managed object model code in SharePoint online. Here we will do this inside a console application and we will try to connect to SharePoint online site.To work with .Net managed object model code we need t...

How to retrieve site url based on site title using .Net managed object model code in SharePoint online?
Posted By Bhawana
20-Aug-2017 8:02 AM
Views 666
In this post we will discuss how we can retrieve site url based on site name using .Net managed object model (csom) code in SharePoint online Office 365. Here we will work in a console application and we will try to connect to SharePoint online site.Here in this example, we are checking w...

How to retrieve list name from guid using .Net managed object model code in SharePoint online?
Posted By Bhawana
07-Aug-2017 3:03 AM
Views 802
Here we will discuss how we can get the list name from list Guid by using .net managed object model (csom) code in SharePoint online. Here we will do everything using console application and we will connect to SharePoint online site. Here we will pass a Guid of a list and it will return t...

How to check if current site is root site using .net managed object model code csom in SharePoint online?
Posted By Bhawana
04-Aug-2017 3:19 AM
Views 857
Here we will discuss how we can check if current site is a root site using .Net managed client object model code in SharePoint online. Here I have a site url and I want to check if the site is a root site using csom (.net managed object model code).Here we will check in a console applicat...

How to check if user belongs to SharePoint group using C#.Net managed object model code for SharePoint online?
Posted By Bijay Kumar
04-Aug-2017 3:14 AM
Views 392
In this post we will discuss how we can check if a particular user belongs to a SharePoint group or not using .Net managed object model code (csom). Here we will pass email id of the user and the function will return if the user is presented in the group or not. We are trying inside a con...

How to retrieve root web site url from site collection url in SharePoint online using .Net managed object model code?
Posted By Bhawana
02-Aug-2017 5:53 PM
Views 661
Here we will discuss how we can retrieve root web site url and title from site collection url using .Net managed object model (csom) code in SharePoint online. We will do this inside a console application using .Net managed object model code (CSOM).Here we need to load context.Site.RootWe...

Steps to retrieve all sites excluding SharePoint add-in sites using .Net managed object model code in SharePoint online
Posted By Bijay Kumar
02-Aug-2017 5:48 PM
Views 535
Here we will discuss how we can retrieve all sites excluding add-in web sites from a SharePoint online site using .Net managed code in SharePoint Online. This thing we will try inside a console application and will retrieve sub sites from a SharePoint online site collection.Whenever you w...

The property or field Id has not be initialized. It has not been requested or the request has not been executed error in SharePoint online csom
Posted By Bhawana
01-Aug-2017 2:52 AM
Views 225
Recently I was working with csom (.net managed object model) code for SharePoint online sites. There our requirement was to retrieve web Id. So we have developed a console application which was communicating to SharePoint online sites.In the code I was writing below to retrieve the web si...

How to retrieve the exact site url from the ServerRelativeUrl in SharePoint online?
Posted By Bhawana
28-Jul-2017 5:34 PM
Views 450
In this post we will discuss how we can retrieve the exact site url from the ServerRelativeUrl in SharePoint online using .Net managed object model code (C#.Net). Here we are doing in a console application and we are trying to connect to SharePoint online site.Also you can read:- Step by ...

How to retrieve all users from SharePoint group using C#.Net object model code in SharePoint online?
Posted By Bijay Kumar
28-Jul-2017 5:30 PM
Views 280
Here we will discuss how we can retrieve all users from a SharePoint group using .Net managed object model code in SharePoint online. We have a SharePoint group which has few users in it, the below code will display all the user's email id in comma separated string.We are doing everything...

An unhandled exception of type Microsoft.SharePoint.Client.ServerException ocurred in Microsoft.SharePoint.Client.Runtime.dll Cannot complete this action
Posted By Bhawana
25-Jul-2017 2:00 AM
Views 343
Recently while working in a web api project for SharePoint online, I found the below error while trying to check if document is exists using document name using .Net Managed code. The error comes as:ServerException was unhandled.An unhandled exception of type Microsoft.SharePoint.Client.S...

How to add lookup column programmatically using csom in SharePoint online Office 365?
Posted By Bhawana
09-Jul-2017 8:21 AM
Views 755
Hi folks today we are going to see how we can add lookup column programmatically using csom in SharePoint 2016 or SharePoint 2013 and SharePoint online. There are two lists where from one we need to get Title as a lookup field display name and in second list we need to show the title fiel...

Go to Page:       

SharePoint MVP Bijay









Write SharePoint Product Review Advertise SharePoint Products in EnjoySharePoint.com
SharePoint Online Training Write SharePoint Articles in EnjoySharePoint.com
SharePoint Consulting Office 365 Consulting




SharePoint Tag Cloud