Microsoft.SharePoint.Client.ServerException: ‘The managed path sites/SiteName is not a managed path in this tenant.’

Microsoft.SharePoint.Client.ServerException: 'The managed path

In this tutorial, let us see, how to fix errors, Microsoft.SharePoint.Client.ServerException: ‘The managed path sites/SPGuides is not a managed path in this tenant.’ Recently, I was trying to create a site collection in SharePoint Online using CSOM. There I got an error like the below: Microsoft.SharePoint.Client.ServerException: ‘The managed path sites/SPGuides is not a managed path …

Read moreMicrosoft.SharePoint.Client.ServerException: ‘The managed path sites/SiteName is not a managed path in this tenant.’

Create SharePoint site programmatically (JavaScript and Rest API)

create sharepoint online site using rest api

In this SharePoint tutorial, we will discuss how to create a SharePoint site programmatically using JavaScript and Rest API. We will learn: Create SharePoint site using rest api Create a SharePoint site using JavaScript How to delete a SharePoint Site using Rest API Create SharePoint Site using Rest API Let us see, how to create …

Read moreCreate SharePoint site programmatically (JavaScript and Rest API)

Add user to SharePoint group programmatically (JSOM, CSOM, and Rest API)

Add user to SharePoint group programmatically

In this SharePoint tutorial, we will discuss how to add user to SharePoint group programmatically using JavaScript, CSOM, and Rest API. We will discuss here the below topics: How to add a user to a SharePoint group using JavaScript How to remove a user from the SharePoint group using JavaScript How to add a user …

Read moreAdd user to SharePoint group programmatically (JSOM, CSOM, and Rest API)

SharePoint user custom actions (Designer + Programmatically)

sharepoint user custom actions

In this SharePoint tutorial, we will discuss SharePoint user custom actions. Also, we will see, how to add SharePoint user custom action using javascript and how to add custom actions using sharepoint designer 2013. We will see how to add SharePoint 2013 custom action list item menu. Add custom actions to SharePoint list item menu …

Read moreSharePoint user custom actions (Designer + Programmatically)

SharePoint Online jsom examples

SharePoint Online jsom

In this SharePoint tutorial, we will discuss a few SharePoint Online jsom examples. Here we will discuss how to use the javascript client object model in SharePoint 2013. In some other posts, we will see some jsom SharePoint 2013 examples. This is also known as ECMAScript Client Object Model (jsom) or JavaScript Client Object Model …

Read moreSharePoint Online jsom examples

SharePoint CSOM (25+ SharePoint client object model examples)

sharepoint csom

If you want to become a SharePoint developer, then you should have a good understanding of SharePoint CSOM, the client object model in sharepoint 2013 (csom sharepoint). We will try to understand on SharePoint client object model (CSOM), what are various SharePoint client object model techniques available. How to work with the client object model …

Read moreSharePoint CSOM (25+ SharePoint client object model examples)

How to get sharepoint site URL programmatically (CSOM and JSOM)

get sharepoint site url csom

In this SharePoint tutorial, we will discuss how to get SharePoint site URL programmatically using javascript object model (jsom) and client side object model (CSOM). The code we can use to get sharepoint site URL in SharePoint Online, SharePoint 2013, SharePoint 2016 and SharePoint 2019. We will also discuss: get sites URL SharePoint from SharePoint …

Read moreHow to get sharepoint site URL programmatically (CSOM and JSOM)

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 moreHow to get all content types using csom in SharePoint

Display SharePoint list data in HTML table using JavaScript

display sharepoint list data in html table using javascript

This tutorial explains, how to display sharepoint list data in HTML table using javascript. This code will work in SharePoint Online as well as SharePoint On-premise versions like SharePoint 2013/2016 or SharePoint 2019. We will discuss how to display SharePoint list items in a tabular format on page load using JSOM (JavaScript Object Model). Display …

Read moreDisplay SharePoint list data in HTML table using JavaScript

>