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)

SharePoint Online redirect to another page programmatically

sharepoint 2013 redirect page to another page

In this SharePoint tutorial, we will discuss SharePoint Online redirect to another page programmatically. Here we will discuss various ways to redirect a user to another page in SharePoint 2013/2016 or SharePoint Online using JavaScript or jQuery. SharePoint 2013 redirect page to another page is a very common requirement where users will be redirected to …

Read moreSharePoint Online redirect to another page programmatically

Working with file modification time and date using PowerShell

How to find files modified before certain date from folder in PowerShell

In this PowerShell SharePoint tutorial, we will discuss how to work with file modifications time and date using PowerShell. Here we will discuss the below things: How to find files modified in last 24 hours from a folder using PowerShell? How to find files modified in last 7 Days from a folder using PowerShell? How …

Read moreWorking with file modification time and date using PowerShell

Remove-SPOSite Access denied You do not have permission to perform this action or access this resource

POowerShell online Remove-SPOSite Access denied

In this post, we will discuss how we can resolve the below issue which comes when tries to delete a SharePoint online site using PowerShell. I was trying to delete a site collection from SharePoint by using PowerShell. Below is the command which I was using. Import-Module Microsoft.Online.SharePoint.PowerShell -DisableNameChecking Connect-SPOService -Url https://onlysharepoint2013-admin.sharepoint.com -credential [email protected] Remove-SPODeletedSite …

Read moreRemove-SPOSite Access denied You do not have permission to perform this action or access this resource

You cannot change moderation status and set other item properties at that same time SharePoint online

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 we need to …

Read moreYou cannot change moderation status and set other item properties at that same time SharePoint online

The file filename is not checked out. You must first check out this document before making changes.

The file fileaname is not checked out

In this SharePoint tutorial, we will discuss how we can resolve the below issue which comes while uploading files using CSOM (Client side object model (Microsoft.SharePoint.Client.dll)). The error comes as The file filename is not checked out. You must first check out this document before making changes. Were trying to upload a few files to …

Read moreThe file filename is not checked out. You must first check out this document before making changes.

Hide content type field in edit form in SharePoint Online/2013/2016

sharepoint 2013 hide content type in edit form

This SharePoint customization tutorial, we will discuss, how to hide the content type drop-down which comes in edit form inside SharePoint online task list. The same way we can hide content type field in edit form in SharePoint 2016 or SharePoint 2013. Recently we were working in a visual studio 2015 workflow, there we have …

Read moreHide content type field in edit form in SharePoint Online/2013/2016

PSConfig Microsoft.SharePoint.Administration.SPUpdatedConcurrencyException Issue in SharePoint

sharepoint 2013 psconfig an update conflict has occurred

This SharePoint PowerShell tutorial, we will discuss, how to solve psconfig an update conflict has occurred issue in SharePoint. The issue was coming when I am running the PSConfig file in SharePoint 2013. SharePoint 2013 psconfig an update conflict has occurred Issue “PSConfig Microsoft.SharePoint.Administration. SPUpdatedConcurrencyException” When I was running PSConfig after installing the patches I …

Read morePSConfig Microsoft.SharePoint.Administration.SPUpdatedConcurrencyException Issue in SharePoint

Recycle IIS Application pool: The local SharePoint server is not available

recycle iis application pool sharepoint error

This SharePoint tutorial, I would like to discuss one of the SharePoint solution deployment issue using visual studio 2015/2017. The error comes as Error occurred in deployment step ‘recycle iis application pool’: the local SharePoint server is not available. Check that the server is running and connected to the SharePoint farm. As part of my …

Read moreRecycle IIS Application pool: The local SharePoint server is not available

>