Category Archives: VIew

Improved list view threshold sharepoint 2016

Improved list view threshold sharepoint 2016

Advertisements
Advertisements

Improved list view threshold sharepoint 2016

So as to increase the performance of large lists, new timer job is introduced which can be associated with particular WebApp. In particular list if threshold is increased to more than 2500 list items & auto indexing is enabled for the list then it creates auto index based on List view filter column.

It works as shown in following flow diagram.

Large list column index management Timer Job

This PowerShell script helps to start this timer job.

  • $webapp= Get-WebApplication -Name “Web Application Name”
  • Get-SPTimerJob -WebApplication $webapp -Identity job-list-automatic-index-management
  • Start-SPTimerJob -Identity job-list-automatic-index-management

Enable Auto Indexing for SharePoint List or Library

Auto indexing can be enabled from the list settings or with Powershell as below.

This is the script for enabling the automatic indexing with PowerShell.

  • $web = Get-SPWeb http://webUrl
  • $list = $web.Lists["List Name"]
  • $list.EnableManagedIndexes = $false
  • $list.Update()
  • $list.Fields | Select Title, Indexable
Advertisements
Advertisements
Advertisements

Ribbon missing on SharePoint List or Library page SharePoint 2013

This article is related to below post where user reported missing ribbon issue after migration from SharePoint 2007 to 2013 version.

https://social.technet.microsoft.com/Forums/en-US/628b9f7b-b1e7-4bb1-b01d-fcb11b252862/ribbons-missing-after-migration

Scenario:

Ribbon not visible on SharePoint List/Library page load. Mostly reported after site migration from 2007 to 2010/2013 version. Also if you have added a content editor web part on this page.

RibbonMissing

01.<scripttype="text/javascript"src="https://code.jquery.com/jquery-1.11.3.min.js "></script>
02.<scripttype="text/javascript">
03.$(document).ready(function(){
04.var elem = document.getElementById("MSOZoneCell_WebPartWPQ2");
05.           if(elem != null) {
06.                var dummyevent = new Array();
07.                dummyevent["target"] = elem;
08.                dummyevent["srcElement"] = elem;
09.                WpClick(dummyevent);
10.                _ribbonStartInit("Ribbon.Browse", true)
11.            }
12. });
13.</script>