Useful SharePoint answers, trial and error SharePoint experience blogged

File not found for HTML or ASPX pages in SharePoint Document Library

File not found for HTML or ASPX pages in SharePoint Document Library

Create a simple HTML page with basic HTML in it, like the code snippet below. Rename it to test.aspx. The ASPX extension will allow the page to render in SharePoint as regular HTML. Lower your permissions to Member. Upload the page to a site Document Library


How to create SharePoint LinkedIn like user profile directory

How to create SharePoint LinkedIn like user profile directory

Stakeholders keep asking me how they can get people or users directory in SharePoint where they can search for users by skills, certificates, job deliverables and more. Usually they ask for Delve and how they or we can extend it, but due to lack of any updates, clear roadmap and good extensibility options for Delve, I just cannot recommend it. Here are the basics of what is needed to bring LinkedIn like experience to employees in SharePoint using the SPFx, User Profiles and Search Service.


Resize SharePoint Online image by using the Microsoft Graph APIs

Resize SharePoint Online image by using the Microsoft Graph APIs

The thumbnails Microsoft Graph API can be utilized for resizing images hosted in SharePoint in case we need one rendered in different resolution for our custom application, SharePoint Framework web part or even Microsoft Teams app. The thumbnails api can be used to get thumbnail for SharePoint site page or file stored in document library as well.


The SPListItem being updated was not retrieved with all taxonomy field

The SPListItem being updated was not retrieved with all taxonomy field

Recently me and my team deployed SharePoint site in Office 365 that is for business in Argentina. When we attempted to update list item taxonomy field using the REST API ValidateUpdateListItem we got error in return "The SPListItem being updated was not retrieved with all taxonomy fields" .


Record page hit when SPA page transitioning in modern SharePoint sites

Record page hit when SPA page transitioning in modern SharePoint sites

Recently, SharePoint page transitioning has changed from server-side page load to offline first, client-side page transitioning. There is page router component working on the client that handles the page transitioning and, in many cases, modern SharePoint site works as a single page application. This changed the state of the app customizers where onInit event of the customizer does not fire with page transition anymore. So, how we record page hit then?


The CreateCopyJobs API, copy or move SharePoint files or folders

The CreateCopyJobs API, copy or move SharePoint files or folders

This is overview on how the Office 365 CreateCopyJobs API (/_api/site/CreateCopyJobs) works from my observations. For the past months we are seeing new Copy and Move buttons on the SharePoint modern document library actions bar. The APIs behind can copy or move files or folders across different SharePoint site collections or to OneDrive for Business. Here is what I discovered about the APIs.


Create custom Display Templates in classic SharePoint Search site

Create custom Display Templates in classic SharePoint Search site

Create and deploy custom Display Template in classic SharePoint Search site that tracks URL clicks using application insights. We can take the advantage of having our own custom display templates in classic SharePoint search results page to enrich the user experience.


Create PowerShell cmdlet using PowerShell

Create PowerShell cmdlet using PowerShell

Automate devops pipeline using PowerShell cmdlet built with PowerShell instead of C#


Use PowerShell to configure SharePoint search result page tabs

Use PowerShell to configure SharePoint search result page tabs

Configure classic SharePoint search results page navigation programmatically


Analytics using Application Insights on SharePoint classic sites

Analytics using Application Insights on SharePoint classic sites

Use App Insights to track pages, monitor page load times or send custom data events in SharePoint classic site