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 (86)




Steps to delete sites sub sites using .Net managed object model in SharePoint online
Posted By Bhawana
22-Jun-2017 1:26 AM
Views 124
In this post we will discuss how to delete sites, sub sites using .Net managed object model in SharePoint online. Here we have taken a windows application. To work with SharePoint objects we need to add the below details:- Microsoft.SharePoint.Client- Microsoft.SharePoint.Client.Runtime- ...

Steps to create search center site in SharePoint online using .Net client object model code
Posted By Bhawana
20-Jun-2017 5:28 PM
Views 156
In this post we will discuss how to create search center site using .Net client object model code (csom) in SharePoint online. We can use console application or we can also use the windows form application. Here we will add the windows form application. To work with SharePoint objects we ...

Activate publishing feature in SharePoint Online using .Net managed client object model code
Posted By Bhawana
18-Jun-2017 6:03 AM
Views 276
Here we will discuss how we can activate publishing feature in SharePoint Online using .Net managed client object model code. Here we are going to write our code in a windows application. So first create a windows application and then add the below ddls in the reference.- Microsoft.ShareP...

Retrieve term store data including Labels using .Net managed object model in SharePoint Online
Posted By Bijay Kumar
12-Jun-2017 5:59 PM
Views 514
In this post we will discuss how we can retrieve term store data including labels using .Net managed object model in SharePoint Online. In SharePoint online term store I have made the structure like below. Here also I have added the data in Other Labels. Here we will see how we can retrie...

Activate and Deactivate SharePoint Server Publishing feature using .Net managed object model in SharePoint 2016
Posted By Bijay Kumar
05-Mar-2017 5:08 PM
Views 427
Here we will discuss how we can activate SharePoint Server Publishing feature using .Net managed object model code in SharePoint 2016. This also works for SharePoint 2013.If you are new to .Net managed object model code, we have to add the below two dlls.- Microsoft.SharePoint.Client.dll-...

Create folder and sub folder inside document library using .Net client object model in SharePoint online
Posted By Bijay Kumar
25-Jan-2017 6:31 PM
Views 658
In this post we will discuss how we can create folders and sub folders inside a document library in SharePoint online using .Net managed client object model code. Here I have a SharePoint document library and by using client side code we will create a folder and within that folder we will...

How to know which site definition being used by SharePoint 2016 site using SharePoint server object model?
Posted By Bijay Kumar
23-Jan-2017 7:09 PM
Views 542
Here we will discuss how we can retrieve site definition used by any SharePoint site using SharePoint 2016 server object model. The same code will work as is in SharePoint 2013 also. Here I am explaining in a windows application in my SharePoint server.Also you can read:- How to create si...

Create sub site using SharePoint 2016 server object model and SharePoint 2016 client object model
Posted By Bijay Kumar
04-Jan-2017 3:29 AM
Views 539
In this post we will discuss how to create a sub site using SharePoint 2016 server object model and 2016 client object model. In this example I have used a windows application to create sub sites in SharePoint 2016.SharePoint 2016 Server Object Model:Below is the code to create SharePoint...

Retrieve all site templates using PowerShell and retrieve site templates using SharePoint 2016 server object model
Posted By Bijay Kumar
03-Jan-2017 1:47 AM
Views 533
In this post we will discuss how we can retrieve all site templates in SharePoint 2016 using PowerShell and how to retrieve all site templates using SharePoint 2016 server object model.Using PowerShell:We ca run the below PowerShell command to retrieve all site templates like below:Add-PS...

How to retrieve all content database names for SharePoint 2016 web applications using SharePoint server object model?
Posted By Bijay Kumar
31-Dec-2016 4:37 AM
Views 609
Here we will discuss how we can retrieve all content database name for web applications using SharePoint 2016 server object model. In my last post we have discussed how to retrieve all web application names from SharePoint farm using server object model in SharePoint 2016.Here I have show...

Retrieve all web application names from SharePoint farm using server object model in SharePoint 2016
Posted By Bijay Kumar
30-Dec-2016 10:18 AM
Views 413
Here we will discuss how we can retrieve all web application names using server object model in SharePoint 2016. Here I have shown in a windows application. I have SharePoint 2016 installed on the same machine, so I can add Microsoft.SharePoint.dll into the windows application and can wri...

Get user permissions for a site using CSOM in SharePoint Online
Posted By Rakesh Nayak
29-Jul-2016 4:14 AM
Views 1091
Here we will discuss how we can get user permissions for a site using CSOM in SharePoint online.Pre Requisites:1. Must have SharePoint online site access2. Must have a user account and password, which has at least manage permission access to the site3. Visual studio to run the code with M...

Get all workflows from all site collections using server object model in SharePoint 2013
Posted By Bijay Kumar
07-Dec-2015 4:11 PM
Views 1630
In this post we will discuss how to get all the workflows from site collection using server object model in SharePoint 2013. Here we have written a console application which gave us the workflows presented in all the site collections.You may also read:- Get Profile picture url from User I...

Get Profile picture url from User Information List using SharePoint 2013 server object model
Posted By Bijay Kumar
05-Dec-2015 8:22 AM
Views 2084
In this post we will discuss how we can get profile picture url from User Information List using SharePoint 2013 server object model. User Information List is a hidden list maintains by SharePoint which contains one entry for every user who who accessed the site collection or explicit acc...

SharePoint 2013 SPListItem method Update SystemUpdate and UpdateOverwriteVersion
Posted By Bijay Kumar
19-Oct-2015 9:53 PM
Views 3260
In this post we will discuss about SharePoint 2013 SPListItem methods like Update(), SystemUpdate(), SystemUpdate(Boolean) and UpdateOverwriteVersion().SharePoint 2013 provides various methods to update list items while working with server object model. Let us discuss about those methods ...

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