Let's SharePoint

February 2018

  1. HOME
  2. Monthly Archives: February 2018
February 28, 2018 / Last updated : February 28, 2018 Sethu Office 365

How to Set Item Level Permission in SharePoint 2010/2013/2016 & Online?

Hello SharePointers, In case if you want to create set level permission for a SharePoint list in way that only contributors of the group can create list item and can see only their records. Its pretty simple. Please do the below settings as below in List settings.   Then create a SharePoint group with contribute […]

February 23, 2018 / Last updated : February 23, 2018 Sethu Client Side Object Model

Unable to find type [Microsoft.SharePoint.Client.DocumentSet.DocumentSet]- SharePoint online Powershell?

Hello SharePointers, When you are trying to create a document set using Powershell in SharePoint online environment, if you miss to load the  the document set library/dlls , You will get this message “unable to find type [Microsoft.SharePoint.Client.DocumentSet.DocumentSet- SharePoint online Powershell”. Here is the instance below. Please ensure that all the below dlls are loaded […]

February 22, 2018 / Last updated : February 22, 2018 Sethu Client Object Model

Server relative urls must start with SPWeb.ServerRelativeUrl – SharePoint Online Powershell error message?

Hello SharePointers, When you user Server relative urls in sharepoint online powershell , please ensure that you provide only relative urls to the copyto function. For example For instance, If you have following piece of code      $file =$ctx.Web.GetFileByServerRelativeUrl($att.ServerRelativeUrl) Write-Host $file.Name $ctx.Load($file) $ctx.ExecuteQuery() Write-Output “Hello” $NewName=$file.Name if($DestinationLibrary.EndsWith(“/”)){} else {$DestinationLibrary=$DestinationLibrary+”/”} Write-Host “Processing ” $file.Name $file.CopyTo($DestinationLibrary […]

February 21, 2018 / Last updated : February 21, 2018 Sethu PowerShell

Get-SPOSite : The site is not properly formed.

Hello SharePointers, When you try to connect to SharePoint online, if you face the issue “Get-SPOSite : The site is not properly formed.”. That means you have not given the correct site URL. The url should of the format https://companyname-admin.sharepoint.com/sites/SiteName Incorrect format https://companyname-admin.sharepoint.com/sites/SiteName/ which gives the error message “Get-SPOSite : The site is not properly […]

February 17, 2018 / Last updated : February 17, 2018 Sethu Client Side Object Model

How to create a Promoted list in SharePoint 2010/2013/2016 or Online using PnP CSOM?

Hello SharePointers Below is the PnP CSOM script to create a promoted list in  SharePoint 2010/2013/2016 or Online using PnP CSOM Script. $ListTemplateInternalName = “PromotedList.stp” $Context = Get-PnPContext $Web = $Context.Site.RootWeb $ListTemplates = $Context.Site.GetCustomListTemplates($Web) $Context.Load($Web) $Context.Load($ListTemplates) Execute-PnPQuery $ListTemplate = $ListTemplates | where { $_.InternalName -eq $ListTemplateInternalName } if ($ListTemplate -eq $null) { Throw [System.Exception] “PnP […]

February 15, 2018 / Last updated : February 15, 2018 Sethu Office 365

How to get current logged in user on a Sharepoint list using Sharepoint Framework?

Hello SharePointers, SharePoint frameworks is most talked about the topic nowadays. In this blog,we will get the current logged in user on a SharePoint List using SPX framework. import Web from ‘sp-pnp-js’; let web = new Web(this.context.pageContext.site.absoluteUrl); let curruser = web.currentUser.get().then(function(res){ console.log(res.Title); }) Happy SharePointing Folks 🙂

February 13, 2018 / Last updated : February 13, 2018 Sethu JSOM

How to associate the global resusable workflows to SharePoint list/libraries using JSOM?

Hello SharePointers, Here are the JSOM script to associate global reusable workflow to a SharePoint list/libraries. <script type=”text/javascript”> function AddWorkflow() { var ctx = SP.ClientContext.get_current(); var site = ctx.get_web(); var templates = ctx.get_web().get_workflowTemplates(); var template = templates.getByName(“My worklows”); ctx.load(templates); ctx.load(template); ctx.executeQueryAsync(Function.createDelegate(this, function (sender, args) { var info = new SP.Workflow.WorkflowAssociationCreationInformation(); var taskList = ctx.get_web().get_lists().getByTitle(“Workflow Tasks”); […]

February 1, 2018 / Last updated : February 1, 2018 Sethu Client Side Object Model

Error while executing web part: System.Net.WebException: The operation has timed out

Hello SharePointers, When do you have a custom webpart, if its get timed out due to various data sources involved and throws the following error. “Unable to display this Web Part. For information on how to solve the problem, open this web page in an HTML editor compatible with Microsoft SharePoint Foundation, such as Microsoft […]

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.