Skip to main content

Posts

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! 😊
Recent posts

Sitecore Exception: Input string was not in a correct format.

The Problem While working on Sitecore on my local, I started getting an exception like this -    [FormatException: Input string was not in a correct format.] Here is the snapshot of the exception -  The Solution I found that I was publishing the debug and release versions of a config by mistake. They had placeholder text which needed to be replaced during transformation step in release pipelines. Since no transformation was occurring at my local instance, the config xml was broken and hence erroring out. Hope it helps you guys!

Advanced Image with Focal Point in Sitecore 10.1

In this blog, I am sharing details on an approach used for Image cropping based on focal points. Even though, there are lots of blogs talking about how to use it, but none of them shared the technical details about how it actually works, what is the idea behind building the functionality and what each configuration, code or item in Sitecore does. So I decided to share these details with the community. The Problem  In Sitecore, content authors are responsible for creating, managing, and publishing digital content across websites and digital platforms. They are also responsible for managing the images in Sitecore media library. Managing image resolutions for different devices involves creating and serving images that look sharp and load efficiently across various screen sizes and resolutions requires images to be uploaded in different resolutions cropped such that the focal point is always in center.  Content authors wanted the ability to upload a single image in an agreed up (lets say 1

Sitecore.Caching.Generics.CustomCache - Sitecore Caching Updates

 The Problem If you are involved in an upgrade project where you were still on an older version of Sitecore like 8.2 and have a personalized cache implementation relying on Sitecore CustomCache, it is possible that you are utilizing the Sitecore.Caching.CacheManager.FindCacheByName(string name) method. This particular method assists in retrieving a cache object based on the cache name (key). You may encounter issues with the FindCacheByName(string name) method no longer functioning, which is a result of the modifications Sitecore has made in implementing cache logics. The Analysis Sitecore has implemented generics within its site caching framework. Further details can be found at the following link:  https://doc.sitecore.com/xp/en/developers/82/sitecore-experience-platform/cache-api-changes.html#changes-in-the-cachemanager-class.  As a result of this update, when utilizing the FindCacheByName() method, it is necessary to indicate the type of key, as demonstrated in the example below. S

Sitecore headless Error: Invalid src prop on `next/image`, hostname is not configured under images in your `next.config.js`

 The Problem While trying to render an Image field in next js app, I got the below error on - The Solution To fix this, navigate to next.config.js in your next js app in VS Code and add the following entry in highlighted area in snapshot  -   {         protocol: 'https',         hostname: '<your hostname here>',         port: '',       }, Hope it helps you!