Skip to main content

Posts

Sitecore bug 502996 - Checkbox Rendering Parameter is taking value from standard values if not checked

 The Problem In a recent project based on Sitecore 10.1.4, I encountered an intriguing issue with Sitecore’s rendering parameters. Specifically, I was working with a rendering parameter template that included Checkbox fields. The standard values for these fields were set to “checked”  Observed Behavior When reading these values for a page rendering, I noticed the following behavior: Unchecking the Checkbox: The value remained “1”. Unchecking the Checkbox and adding another rendering parameter with a value: The checkbox value became null (as expected). This led me to question why the checkbox value remained “1” when unchecked, unless a value was added to the one of the rendering parameter field. The Analysis Upon further investigation and raising a support ticket with Sitecore, it was confirmed that this behavior is indeed a bug in the current Sitecore version. The checkbox rendering parameter appears to read from the standard value if unchecked, which is not the expected behav...

Sitecore Solr Error - KeeperErrorCode = Session expired for /aliases.json

 The Problem We use SOLRcloud for SOLR with Zookeeper. While performing my routine development activities, I encountered that my local SOLR instance is giving a weird error as shown in snapshot below -  The Solution We checked SOLR logs and could see error like below repeating continuously -  2024-11-10 22:31:31.216 ERROR (zkConnectionManagerCallback-7-thread-1-EventThread) [   ] o.a.s.c.LeaderElector node exists => org.apache.zookeeper.KeeperException$NodeExistsException: KeeperErrorCode = NodeExists for /overseer_elect/leader at org.apache.zookeeper.KeeperException.create(KeeperException.java:126) org.apache.zookeeper.KeeperException$NodeExistsException: KeeperErrorCode = NodeExists for /overseer_elect/leader at org.apache.zookeeper.KeeperException.create(KeeperException.java:126) ~[zookeeper-3.5.5.jar:3.5.5] at org.apache.zookeeper.KeeperException.create(KeeperException.java:54) ~[zookeeper-3.5.5.jar:3.5.5] at org.apache.zookeeper.ZooKeeper.create(...

Cannot find options for the 'SitecoreIdentityJwtBearer' authentication type

The Problem We needed to disable identity server in Sitecore 10.4 instance. We followed the instructions mentioned on Sitecore portal here When we activated the \App_Config\Include\Examples\Sitecore.Owin.Authentication.IdentityServer.Disabler.config.example, we got  this error:  Cannot find options for the 'SitecoreIdentityJwtBearer' authentication type. The Solution We found that we also need to set the  authentication type  as  empty  for  GraphQL , through below configuration, when you disable the  identity server  in Sitecore. <?xml version="1.0" encoding="utf-8" ?> <configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:role="http://www.sitecore.net/xmlconfig/role/"> <sitecore role:require="Standalone or ContentManagement"> <authoring> <graphql> <tokenValidator> <param desc="authenticationType"> <patch:delete/> ...

Links DB in Sitecore not consistent

  The Problem The Links DB, found by going to Content Editor - Navigate - Links menu, in our environments was rarely up-to-date even after full site publishes and deploys. Content authors worked on an archival project and removed many links to the page item and republished those pages but the links still kept showing up under the Links menu. The Links menu was consistently found to be unreliable when it comes to identifying where a page is linked. It made it very difficult to know when a page can be archived.  The Research - The process for accessing items under the 'Links' icon.  There are two sections in Links menu - 'Items that the selected item refer to' and 'Items that refer to the selected item' Each of these operate differently. 'Items that the selected item refer to' - retrieves data from the fields of the item in the 'Items' table of the Master database using the Sitecore.Shell.Applications.ContentManager.Galleries.Links.GalleryLinksForm...

XM cloud instance on Sitecore Demo portal

 Hello, Welcome to Our Sitecore XM Cloud Instance Walkthrough! Are you ready to explore the powerful capabilities of Sitecore XM Cloud? In this video, we’ll take you on an in-depth tour of the Sitecore Demo Portal, showcasing how to set up and navigate a Sitecore XM Cloud instance. Whether you’re a seasoned developer or just starting out, this walkthrough will provide valuable insights and tips to help you make the most of Sitecore’s robust features. Join us as we dive into the world of Sitecore XM Cloud and discover how it can transform your digital experience management! Happy coding! 😊