Category Archives for "SharePoint Client Object Model"

How to get all content types using csom in SharePoint

sharepoint csom get all content types

This SharePoint tutorial explains, how to get all content types using csom in SharePoint. Before we start, you should have your own office 365 account where you have created your site collection. In the below code I have called SharePointOnlineCredentials class to authenticate the site. You have to add the Microsoft.SharePoint.client reference in your project … Read more

[Solved] Cannot set Column ‘ID’ to be null. Please use DBNull instead in SharePoint Online

.net cannot set column to be null. please use dbnull instead

In this SharePoint csom example, I will explain how to solve error “Cannot set Column ‘ID’ to be null. Please use DBNull instead” which comes while working with client side object model (csom C#.Net) in SharePoint Online Office 365. I have written some code to retrieve all the SharePoint list template and bind SharePoint list template to … Read more

[Solved] Microsoft.SharePoint.Client.IdcrlException: The sign-in name or password does not match one in the Microsoft account system error in SharePoint Online

the sign-in name or password does not match one in the microsoft account

This SharePoint Online tutorial explains how to solve error “the sign-in name or password does not match one in the Microsoft account system” which comes while working with csom in SharePoint Online. Recently I was trying to bind list templates to a dropdown list using client-side object model (csom) in SharePoint Online using visual studio … Read more

Activate Workflows can use app permissions Feature programmatically using C#.Net .net managed object model code

Here we will discuss how we can activate “Workflows can use app permissions” in SharePoint online site using client object model code (csom). We will use C#.net managed object model code (Microsoft.SharePoint.Client.dll) to activate workflows can use app permissions. “Workflows can use app permissions” is site level feature and the feature id for this feature is: … Read more

1 2 3 9
>