Let's SharePoint

November 2015

  1. HOME
  2. Monthly Archives: November 2015
November 25, 2015 / Last updated : November 25, 2015 Sethu REST API's

How to check if the SharePoint page is in Draft version or not using REST API -SharePoint 2013?

In this blog, I will give you the piece of code to check if  the sharepoint page is draft version  or not using REST API’s. Below is the piece of code to achieve the same. $.ajax({url: “/_api/web/getFileByServerRelativeUrl(‘” + pageUrl + “‘)/Level”, headers: { “Accept”: “application/json; odata=verbose” }, success: function(data) { if(data.d.level== 2) { alert(‘your page is already in Draft […]

November 25, 2015 / Last updated : November 25, 2015 Sethu REST API's

How to check if the SharePoint page is Published or not using REST API -SharePoint 2013?

In this blog, I will give you the piece of code to check if  the sharepoint page is published or not using REST API’s. Below is the piece of code to achieve the same. $.ajax({url: “/_api/web/getFileByServerRelativeUrl(‘” + pageUrl + “‘)/Level”, headers: { “Accept”: “application/json; odata=verbose” }, success: function(data) { if(data.d.level== 0) { alert(‘your page is already published’); else […]

November 21, 2015 / Last updated : November 24, 2015 Sethu Customization

How to set the Search Centre URL in SharePoint 2013 Using Javascript?

In this blog, I will give you the piece of code to set the Search Center URL in SharePoint 2013 using JavaScript. Below is the piece of code to achieve the same. var context= new SP.ClientContext.get_current(); var web = context.get_site().get_rootWeb(); var properties = web.get_allProperties(); properties .set_item(“SRCH_ENH_FTR_URL”,”/sites/search/mypages”); web.update(); context.load(web); context.executeQueryAsync(function () { alert(“Successful”)); }, function() { […]

November 20, 2015 / Last updated : November 24, 2015 Sethu Client Side Object Model

How to get Current List Item in SharePoint 2013/Office 365 using JavaScript?

In this blog, I will give you the piece of code to access the current SharePoint list item using JavaScript. Below is the piece of code to achieve the same. function getCurrentListItem(success, error) { var context = SP.ClientContext.get_current(); var web = context.get_web(); var currentList = web.get_lists().getById(_spPageContextInfo.pageListId); var currentListItem = currentList.getItemById(_spPageContextInfo.pageItemId); context.load(currentListItem); context.executeQueryAsync( function () { […]

November 18, 2015 / Last updated : November 18, 2015 Sethu Errors & Resolutions

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

Hello SharePointers, Though you are administrator or site collection administrator for the site collection if you get this error message “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”,Here is the resolution for you. 1.Make sure […]

November 14, 2015 / Last updated : November 14, 2015 Sethu Client Object Model

How to delete List view in Sharepoint 2013/Office 365 using CSOM?

In this article, we will learn  about  List view deletion in Sharepoint 2013/Office 365 using CSOM. Below is the sample CSOM code to achieve the same. ClientContext clientContext= new ClientContext(siteUrl); clientContext.AuthenticationMode = ClientAuthenticationMode.Default; clientContext.Credentials = new SharePointOnlineCredentials(userName, pwd); Web web = clientContext.Web; clientContext.Load(clientContext.Web, w => w.ServerRelativeUrl); clientContext.ExecuteQuery(); List customList = web.Lists.GetByTitle(“EmployeeList”); // Get the specific view by […]

November 13, 2015 / Last updated : November 13, 2015 Sethu PowerShell

How to add list items in a SharePoint List using PowerShell?

In this Blog, I will you give the Power Shell script to add  list items in a specific list using PowerShell Commands. This is quite helpful especially if you are dealing with huge and bulk lists. System.Reflection.Assembly]::LoadWithPartialName(“Microsoft.SharePoint”) $site = new-object Microsoft.SharePoint.SPSite(“http://mytest”) $relweburl = ”/employeesite” $web = $site.openweb($relweburl) $list = $web.Lists[“EmployeeList”] $newItem = $list.items.add() $newitem[“EmployeeName”] =”Letsharepoint” $newitem[“Employee […]

November 13, 2015 / Last updated : November 17, 2015 Sethu Client Side Object Model

How to remove Webpart in a Page in Office 365 using CSOM ?

In this article, we will talk bout the site provisioning technique which is followed in Office 365  app model. you can remove web part from a  SharePoint page using CSOM code. Below is the sample piece of code to achieve the same. Please visit my another article to add a webpart to a Sharepoint page using CSOM code. […]

November 13, 2015 / Last updated : November 17, 2015 Sethu Client Object Model

Download a document from SharePoint Document Library using CSOM 2013

Hello Readers, In this article, I will share a piece of code to download a  document from a document library using Client Side Object Model. Sharepoint is moving more towards Client Side Object model than Server side code for faster execution. As we move more towards next verison – SharePoint 2016, there is a heavy emphasis on […]

November 12, 2015 / Last updated : November 14, 2015 Sethu PowerShell

How to delete list items in a SharePoint List using PowerShell?

In this Blog, I will you give the Power Shell script to delete all the list items in a specific list using PowerShell Commands. This is quite helpful especially if you are dealing with huge and bulk lists. System.Reflection.Assembly]::LoadWithPartialName(“Microsoft.SharePoint”) $site = new-object Microsoft.SharePoint.SPSite(“http://mytest”) $relweburl = ”/employeesite” $web = $site.openweb($relweburl) $list = $web.Lists[“EmployeeList”] $listItems = $list.Items […]

Posts navigation

  • Page 1
  • Page 2
  • »

Recent posts

How to insert table in Modern Pages using PnP Powershell in Office 365/Sharepoint Online?

June 7, 2019

How to set up Access Requests in SharePoint online using Powershell?

May 11, 2019

How to change the default SharePoint suite logo in SharePoint 2013/2016/2019?

April 30, 2019

How to add metadata to Document libraries in SharePoint online using powershell.

April 27, 2019

How to get Sharepoint site details using Powershell in Office 365?

April 17, 2019

How to get alerts for a specific policy in Cloud app security using Powershell

April 16, 2019

How to get the list of custom apps in App catalog using Powershell?

April 9, 2019

How to get the list of policies in Microsoft Cloud app security using window powershell?

April 4, 2019

How to get the list of List and Document library item counts in SharePoint online using Pnp Powershell ?

April 4, 2019

How to restore subsite in a Sharepoint online site collection using Pnp Powershell

April 2, 2019

Category

  • Anonymous access
  • Client Object Model
  • Client Side Object Model
  • Customization
    • Customization
  • Designer Workflows
  • Errors & Resolutions
  • Features
  • Google Analytics
  • InfoPath
  • Item Scheduling
  • JSOM
  • Nintex worflows
  • Office 365
  • Office 365 Groups
  • PnP JS Library
  • PowerShell
  • Powershell Online
  • REST API
  • REST API's
  • Server Side Object Model
  • SharePoint 2010
  • SharePoint 2010 Search
  • SharePoint 2013
  • SharePoint 2013 Search
  • SharePoint 2013 Workflows
  • SharePoint 2016
  • SharePoint 2019
  • SharePoint Designer
  • SharePoint Framework
  • SharePoint Online
  • SharePoint Pnp
  • SharePoint Usage Analytics
  • Unique values
  • User Profile Services
  • Windows Powershell
  • Workflow Manager

Archive

  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • May 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • December 2017
  • November 2017
  • October 2017
  • June 2017
  • May 2017
  • April 2017
  • March 2017
  • February 2017
  • January 2017
  • November 2016
  • October 2016
  • September 2016
  • August 2016
  • July 2016
  • June 2016
  • January 2016
  • November 2015
  • October 2015
  • September 2015
  • August 2015
  • July 2015
  • May 2015
  • April 2015
  • March 2015

Copyright © Let's SharePoint All Rights Reserved.

Powered by WordPress & Lightning Theme by Vektor,Inc. technology.