Skip to main content

Posts

Item Bucket Settings in Sitecore SXA

Do you know when the SXA module is installed, the Item Bucket Settings from  /sitecore/system/Settings/Buckets/Item Buckets Settings are not considered This is because SXA has its own provider for buckets. You can find this defined in /App_Config/Modules/SXA/Foundation/Sitecore.XA.Foundation.Multisite.config: <setting name="BucketConfiguration.DynamicBucketFolderPath" value="Sitecore.XA.Foundation.Multisite.Buckets.SiteBucketPathProvider, Sitecore.XA.Foundation.Multisite" patch:source="Sitecore.XA.Foundation.Multisite.config"/> 

Sitecore CLI error - The request queue limit of the session is exceeded

Welcome to another short story about debugging an issue we faced recently during our production release. We use Azure DevOps build/release pipelines to release our code to higher environments. The Problem We have an Install Sitecore Items task in release pipeline to install Sitecore items on higher environments. We started facing an issue where the task failed with below errors - 2023-12-20T21:17:46.2357659Z Root config: C:\azagent\A3\_work\_tasks\InlinePowershell_31f040e5-e040-4336-878a-59a493355534\1.1.7\sitecore.json 2023-12-20T21:17:46.2383724Z [GraphQLHttpException] Unexpected HttpResponseMessage with code: InternalServerError 2023-12-20T21:17:46.2499102Z at GraphQL.Client.Http.Internal.GraphQLHttpHandler.ReadHttpResponseMessageAsync(HttpResponseMessage httpResponseMessage) 2023-12-20T21:17:46.2500367Z at GraphQL.Client.Http.Internal.GraphQLHttpHandler.PostAsync(GraphQLRequest request, CancellationToken cancellationToken) 2023-12-20T21:17:46.2501478Z at Sitecore.DevEx.Core.Client

Ghanendra Singh wins Sitecore Most Valuable Professional award

  Ghanendra Singh  wins Sitecore Most Valuable Professional award Elite distinction awarded for commitment and dedication to the Sitecore community   Noida, India — February 09, 2024 ::  Ghanendra Singh, Senior Sitecore Engineer  at Crowe Horwath IT Services LLP has been named a Most Valuable Professional (MVP) in the Technology category  by Sitecore ® , a global leader in end-to-end digital experience management software. Ghanendra Singh  was one of only 147 Technology MVPs worldwide to be named a Sitecore MVP this year. Now in its 18 th year, the MVP program recognizes professionals who actively share their knowledge and expertise with online and offline Sitecore communities to help them best utilize Sitecore products to deliver premier customer experiences. Selected from more than 16,000 certified developers and over 30,000 active community participants, the 247 MVPs are truly an elite group. This year’s MVPs were selected by a panel of Sitecore employees – ranging from d

My Contributions to Sitecore Community in 2023

Hello!! This year started with a bang for me as I got my first Sitecore MVP title. This year, I have mostly worked on Sitecore 10.1.1 as part of IT team of an accounting services organization. Due to my nature of work, I dont have exposure to different projects exploring variety of new Sitecore tools and technologies (like my other fellow MVPs have), but I have used this year to upgrade my learning and dig deeper into Sitecore XP on which I primarily work. Below are my contributions this year -  Sitecore Blogs Below are the links to all my blogs which I have published in year 2022 on Sitecore.  https://ghanendras.blogspot.com/2023/02/experience-of-first-time-sitecore-mvp.html https://ghanendras.blogspot.com/2023/02/make-sitecore-instance-faster-using.html https://ghanendras.blogspot.com/2023/03/solr-search-facet-values-limited-to-100.html https://ghanendras.blogspot.com/2023/06/testing-sitecore-with-selenium-nunit.html https://ghanendras.blogspot.com/2023/08/animated-gif-files-become-n

No root node was present (with Id 11111111-1111-1111-1111-111111111111) - Error in Sitecore Publishing service job

 The Problem I was setting up publishing service for Sitecore instance and then published a few items but my publish jobs kept failing as in snapshot below -  I found below error in publishing service logs - 2023-11-08 23:00:26.790 +05:30 [Error] There was an error performing the publish during stage: "" System.AggregateException: One or more errors occurred. (One or more errors occurred. (No root node was present (with Id 11111111-1111-1111-1111-111111111111). (Parameter 'allNodes')))  ---> System.AggregateException: One or more errors occurred. (No root node was present (with Id 11111111-1111-1111-1111-111111111111). (Parameter 'allNodes'))  ---> System.ArgumentOutOfRangeException: No root node was present (with Id 11111111-1111-1111-1111-111111111111). (Parameter 'allNodes')    at Sitecore.Framework.Publishing.Common.DataStructures.Tree.TreeBuilder`2.Build(ITreeNodeDescriptor`2[] allNodes)    at Sitecore.Framework.Publishing.ItemIndex.FullSour

Solr Service in Paused State during Sitecore installation

 The Problem I was working on Sitecore installation on a new machine. Everything was running smooth but the SOLR service always ended up in PAUSED state.  The Research I tried stopping the service and then starting it using NSSM multiple times but it did not help. Then I thought of removing and recreating the service but again no help. And then it was followed by a machine restart and the service still ended up in PAUSED state.  I started googling about this issue and found answers suggesting that may be JAVA_HOME environment variable is not set or may be JAVA is not installed. I opened my command prompt to execute  echo %java_home% to get value for JAVA_HOME environment variable and it returned a blank value. This proved there is definitely an issue with JAVA setup on my new machine. Next,  I executed  java -version in cmd prompt and I found that the new machine is using Microsoft build of openJDK   instead of JRE (snapshot below) It was found that new machine is using openJDK because

Sitecore PowerShell script to update Allowed Controls field in placeholder settings

The Problem We created a new module (or component or rendering) in Sitecore and we needed to add this rendering to Allowed Controls field in the placeholder settings in Sitecore. It is also required to allow this rendering on all the placeholders in Sitecore so that content authors have the ability to add this rendering on pages in experience editor. Below is a snapshot of the field that is used for this- If the placeholders were in limited number, it would have been an easy manual job. But we had more than 20 placeholders for different page types. And we were in a process of introducing several new modules which meant this task is going to be repetitive and time consuming. So, to save time and for accuracy, we decided that we should develop a simple PowerShell script to make this process simple. The Solution We developed below script -  $placeholders = Get-ChildItem "/sitecore/layout/Placeholder Settings/<path where your placeholders are present>" -recurse Foreach($pla