SharePoint MVP Bijay


SharePoint Articles By Category: SharePoint Object Model (116)



Retrieve Content type by Id using csom in SharePoint Online
Posted By Bhawana Rathore
13-Oct-2017 4:26 AM
Views 677
Here we will discuss how we can retrieve content type name by content type id using csom SharePoint online. We will use here C#.Net client object model code using the below dlls inside a console application.- Microsoft.SharePoint.Client.dll;- Microsoft.SharePoint.Client.RunTime.dll;You ca...

Retrieve list content types using csom in SharePoint online or SharePoint 2013
Posted By Bhawana Rathore
12-Oct-2017 5:13 PM
Views 832
In this post we will dicuss how we can retrieve content types associated with SharePoint online list using csom in SharePoint online. We will use here .Net managed object model code where we will use below dlls.Microsoft.SharePoint.Client.dll;Microsoft.SharePoint.Client.RunTime.dll;First ...

How to remove UserCustomActions from Ribbon in SharePoint online list using csom?
Posted By Bijay Kumar
10-Oct-2017 7:03 AM
Views 1114
Here we will discuss how we can remove UserCustomActions from Ribbon, FormRibbon and ECB Menu using csom .Net managed object model code in SharePoint online. We will use here C#.Net managed object model code where we will use below dlls:- Microsoft.SharePoint.Client.Dll- Microsoft.SharePo...

Delete content type from SharePoint online list using csom .net managed object model code
Posted By Bhawana Rathore
10-Oct-2017 6:08 AM
Views 655
In this post we will discuss how we can delete a content type attached to a list using csom in SharePoint online. Here we will use C#.Net managed object model code where we will use below dlls:- Microsoft.SharePoint.Client.Dll- Microsoft.SharePoint.Client.Runtime.DllHere I have a list nam...

How to retrieve ModerationStatus of document using .Net managed object model csom code in SharePoint online?
Posted By Bhawana Rathore
08-Oct-2017 7:39 AM
Views 1036
Here we will discsuss how we can retrieve ModerationStatus of document using .Net managed object model csom code in SharePoint online. The same code also will work to retrieve _moderationstatus sharepoint 2013.Here I have a document library and I want to retrieve the ModerationStatus for ...

Retrieve content type id by content type name using client object model code SharePoint online
Posted By Bhawana Rathore
07-Oct-2017 4:23 PM
Views 615
Here we will discuss how we can retrieve content type id by content type name using client object model in SharePoint online. we will use here C#.net managed object model code and we are using here Microsoft.SharePoint.Client.dll.The below method will take two parameters as: URL and conte...

Activate SharePoint Server Publishing Feature programmatically using C#.Net .net managed object model code
Posted By Bhawana Rathore
06-Oct-2017 9:36 AM
Views 557
Here we will discuss how we can activate SharePoint Server Publishing Feature programmatically using C#.Net .net managed object model code (CSOM). Due to one of the business requirment we need to activate publishing feature in our team site. To activate publishing feature we need to activ...

Add site columns to existing SharePoint online lists using .Net managed object model code
Posted By Bijay Kumar
03-Oct-2017 4:46 PM
Views 483
In this post we will discuss how we can add site columns to existing SharePoint online lists or document libraries using csom (.Net managed object model code). Recently I got one requirement to add one site column to few lists and document libraries using C#.Net (Microsoft.SharePoint.Clie...

How to retrieve Content type id by content type name using csom .Net managed object model in SharePoint online?
Posted By Bijay Kumar
03-Oct-2017 4:24 PM
Views 485
In this post we will discuss how we can retrieve content type id by content type name using csom .Net managed object model in SharePoint online. We have done these things using a console application where we have add the below dlls:- Microsoft.SharePoint.Client.dll- Microsoft.SharePoint.C...

How to retrieve list item content type name or id using .Net client object model in SharePoint online?
Posted By Bijay Kumar
25-Sep-2017 7:13 PM
Views 818
In this post we will discuss how to retrieve list item's associated content type name or id using .Net managed object model code in SharePoint online. Here we have a list which has few content type's associated with it and we have created few items using those content types. Now as per th...

How to delete a SharePoint online list using CSOM C#.Net managed object model code?
Posted By Bhawana Rathore
24-Sep-2017 3:38 AM
Views 846
In this post we will discuss how we can delete a SharePoint online list using csom c#.net managed object model in SharePoint online. We are going to do this inside a console application.Here we are retrieving the SharePoint list using the GetByTitle method. And we are deleting the list by...

How to create list from custom list template in SharePoint online using csom?
Posted By Bhawana Rathore
16-Sep-2017 6:21 PM
Views 935
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 Rathore
10-Sep-2017 7:18 AM
Views 666
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...

Go to Page:       







LinkedIn Bijay



SharePoint Product Review or Sponsor Posts or Product Reviews
SharePoint Training and Office 365 Consulting
SharePoint Youtube Channel EnjoySharePoint



SharePoint Tag Cloud