Hello SharePointers, Below are the powershell script to set the SharePoint list as hidden in SharePoint 2010,2013, 2016 and Office 365 $spWeb = Get-SPWeb “http://sp/mysites/empeng” $spList = $spWeb.Lists[“Vendors”] $spView = $spList.Views[“Enquiry”] $spView.Hidden=$true $spView.Update() Happy SharePointing Folks!!
Hello SharePointers, Below is the Powershell script to update the status of the workflow task column in SharePoint. $site = Get-SPSite(“http://myssharepointsite”) $web = $site.RootWeb $list = $web.Lists[“CloudEnablement”] $item = $list.GetItemById(20) $task = $item.Tasks $ht = new-object Hashtable $ht[“TaskStatus”] = “Approved” [Microsoft.SharePoint.Workflow.SPWorkflowTask]::AlterTask($task, $ht, $false) Happy SharePointing Folks 🙂
Hello SharePointers, Below is the Powershell script to check if the list level Throttling is enabled or not. Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue $webApplicationURL = Read-Host “Enter SharePoint Web Application URL” $reportPath = Read-Host “Enter full Path URL in the format” $webapplication = Get-SPWebApplication $webApplicationURL $sites = $webapplication.Sites Write-Output “SharePoint List URL” | Out-File $reportPath […]
How to move all the items in recycle bin stage 1 to recycle bin stage 2 in SharePoint Online/Office 365/Sharepoint 2010/2013/2016?
Hello SharePointers, Below are the powershell script to move recycle bin items from stage1 to stage 2. This would come to us in handy in case if we can to move it on our own rather than depending on the job. $ctx=New-Object Microsoft.SharePoint.Client.ClientContext($Url) $ctx.Credentials = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($Username, $Password) $ctx.ExecuteQuery() $ctx.Load($ctx.Web) $recyclebin=$ctx.Web.RecycleBin $ctx.Load($rb) $ctx.ExecuteQuery() Write-Host $ctx.Web.Url […]
Hello SharePointers, The call out in document library will let you to do share , edit or follow the specific item. In case, if you want to do your custom call out functionality such as adding a new button and opening up a new URL . Her is the source code to achieve the same. […]
How to resolve An error occurred while retrieving data from “”. Administrators, see the server log for more information. in SharePoint Online?
Hello SharePointers, If you face the below issue while using external data type column in your project to fetch information from external system “An error occurred while retrieving data from ResourceHub-Prod. Administrators, see the server log for more information” Here is the resolution for you. This is security/Permission issue you need to set navigate to […]
Why My SharePoint Alerts are not working in some of List/Library Views in Office 365, SharePoint 2010/2013/2016?
Hello SharePointers, In case if you are wondering why alerts emails are not triggered on any changes in the SharePoint List /View, here is a little catch, the alerts will work only on the few column types. Below are the column types that work on alerts on views with filters: Single line Multiple line Choice […]