If you're looking for an API endpoint implementation that can take a dynamic path from a query string to revalidate page cache and force page regeneration, you've come to the right place. The biggest challenge with using statically generated sites is the difficulty of pushing content updates quickly in urgent situations. You can't set the … Continue reading Next.js API Route for On-Demand Cache Revalidation using pages or app folder
Author: Zaheer Tariq
Sitecore PowerShell Export Items to List, CSV, Excel, HTML, Json and XML
Sitecore is one of the best content management systems. One powerful feature is Sitecore PowerShell Extensions (SPE), which lets you automate tasks and manage the platform easily. Exporting data from Sitecore using PowerShell is simple and very useful for administrators and developers. Here’s a quick guide to show how easy it is to export item … Continue reading Sitecore PowerShell Export Items to List, CSV, Excel, HTML, Json and XML
Find Duplicate Items Fast Through Sitecore PowerShell
In my previous posts, I discussed common issues encountered when deploying with Sitecore CLI, specifically focusing on avoiding and resolving duplicate items. I proposed two solutions: Identifying Duplicates with Sitecore PowerShell: This method, while effective, is slow and resource-intensive. Running a Database Query to Find Duplicates: This approach is very fast but requires direct access … Continue reading Find Duplicate Items Fast Through Sitecore PowerShell
Sitecore Error discovering identity provider
I was getting this weird error on my local Sitecore Docker setup setting up from scratch. The funny thing was the Sitecore and login page was working fine in the browser but not from PowerShell/Command Prompt as I was getting this error D:\Projects\STB\Source>dotnet sitecore login --authority https://id.stbcom.localhost --cm https://cm.stbcom.localhost --allow-write true Error discovering identity provider. … Continue reading Sitecore Error discovering identity provider
Sitecore Buckets: A Brief Overview
Sitecore buckets are a powerful feature that allows you to manage large numbers of items within the content tree. Essentially, an item bucket acts as a container where you can hide a multitude of items while still being able to retrieve and work with them efficiently. Let’s dive into the pros and cons of using Sitecore … Continue reading Sitecore Buckets: A Brief Overview