Author: The SharePoint FAQs Team

Improving Sharepoint Performance: 5 Key Optimization Tips

Leveraging Caching to Boost Speed Caching allows commonly accessed pages and session data to be temporarily stored, or cached, in memory for faster retrieval times. Enabling caching in SharePoint can significantly improve performance by reducing load on the database and web servers. Here are three key caching techniques to leverage: Enable output caching for commonly…

Loading Folders, Subfolders And Files With Caml Queries In Sharepoint

The Problem: Managing Large Amounts of Data SharePoint offers robust options for organizing and managing content, but loading large amounts of data can be cumbersome without the right approach. CAML queries allow you to insert, update, or delete folders, subfolders and files in bulk while avoiding throttling limits. Querying Folders and Subfolders Overview of folder…

Sharepoint 2013 – Displaying List Views Across Multiple Pages

Displaying Long Lists in SharePoint As a SharePoint site collects more data over time, the lists and libraries within can grow extremely long with thousands of items which present challenges for rendering and managing long lists. Out-of-the-box, SharePoint displays only a limited number of list items per page, usually 20 items. So when a list…

Supporting Legacy Browsers With Sharepoint Jsom

The Problem of Legacy Browser Support in SharePoint Many organizations still need to support older browsers like Internet Explorer 8 and 9 for SharePoint. Although Microsoft ended support for these legacy browsers, a considerable number of users still rely on them for various business reasons. However, these older browsers lack support for newer web standards…

Managing Sharepoint Performance At Scale

Identifying Performance Bottlenecks Analyzing usage patterns across the SharePoint infrastructure can help identify areas that experience high user loads which may cause bottlenecks. Monitoring key metrics like page load times, database query response times, and server resource utilization can pinpoint potential problems. Examining web server logs, database query profiles, and performance monitor data can provide…

Recursive Vs. Recursiveall: Understanding Caml Query Scope For Sharepoint Libraries

The Problem: Recursive vs RecursiveAll When querying items in SharePoint libraries using CAML (Collaborative Application Markup Language), a common challenge is understanding the difference between a recursive and recursiveAll query. Both retrieve items from folders within the library, but have different scope and performance implications. A recursive query retrieves items only from the current folder…

Securing Sharepoint Content With Granular Permissions

Controlling Access to SharePoint Content Microsoft SharePoint features a robust permissions model that enables granular control over access to sites, libraries, lists, folders, and individual files. By default, SharePoint applies permissions inheritance, where child sites, libraries, lists and folders inherit permissions from their parent. However, administrators can break inheritance and define custom permissions tailored to…

Efficiently Retrieving Large Sets Of List Items With Caml Query Positioning

The Problem of Large Lists As SharePoint lists grow to contain thousands or millions of items, significant performance issues emerge when trying to retrieve full sets of list data. The default SharePoint paging approaches load entire result sets into memory before applying limits, resulting in long response times and frequent timeout errors. To avoid full…

Anonymous Vs. Declared Callback Functions In Sharepoint Jsom

Definition of Callback Functions A callback function is a function that is passed as an argument to another function to be executed after an asynchronous operation completes. In JavaScript, functions are first-class objects that can be passed around and used in the same way as other objects. In SharePoint’s JavaScript object model (JSOM), many methods…

Restrictions On Custom Javascript In Sharepoint Online

What is Custom JavaScript? Custom JavaScript refers to any JavaScript code that is manually inserted into SharePoint pages to modify or enhance default functionality. This includes JavaScript inserted through content editor web parts, script editor web parts, or directly using other web parts’ script injection capabilities. Common uses of custom JavaScript in SharePoint include: Dynamically…