Recently I had to copy the website home page so that we could run some tests under a test folder. I quickly realized that Sitecore does not provide an out-of-the-box way to duplicate/copy a page without its children. For most pages, you could copy everything and then manually delete what you don’t need. But for … Continue reading Copy Sitecore Page without Children (only include local Datasource Items)
PowerShell
Export all Sitecore live pages to Excel
When it comes to exporting data from Sitecore, I often get asked about the easiest and most efficient way to do it. Fortunately, Sitecore PowerShell provides a powerful interface that makes this process easier and efficient. With Sitecore PowerShell, you can quickly create or adjust a script to export data from your Sitecore instance in … Continue reading Export all Sitecore live pages to Excel
Sitecore Docker Upgrade Sitecore CLI to 6.0.23 to enable progressiveMetadataPull
We use Sitecore CLI for content serialization and pushing content changes across various environments, including production. However, we recently encountered a strange error when attempting to push content to production. After consulting Sitecore Support, we were advised to upgrade Sitecore CLI to version 6.0.23, which introduces progressiveMetadataPull, a crucial feature for handling large amounts of … Continue reading Sitecore Docker Upgrade Sitecore CLI to 6.0.23 to enable progressiveMetadataPull
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
Fix Duplicate Item Names in Sitecore
If you are using Sitecore Content Serialization (Sitecore CLI) as the serialization pull and or push command will fail without any meaningful error. Therefore, we must ensure that there are no duplicate item names under same parent ever. Unexpected HttpResponseMessage with code: BadGateway 1421 error occurred: 143 * Status: The command 'powershell -Command $ErrorActionPreference = … Continue reading Fix Duplicate Item Names in Sitecore
Avoid Duplicate Item Names in Sitecore
In Sitecore, avoiding duplicate item names is crucial to maintain a well-organized content structure and to prevent conflicts within the content management system. This becomes even more important if you are using Sitecore Content Serialization (Sitecore CLI) as the serialization pull and or push command will fail without any meaningful error. Therefore, we must ensure … Continue reading Avoid Duplicate Item Names in Sitecore