Posts

Sitecore Bulk Uploading Data Between Identical Databases

  Introduction In the scenario where there were issues observed within Analytics reporting after upgrading from Sitecore 9.3 to 10.3, the decision to keep the old 9.3 system alive alongside the new 10.3 environment led to the need for migrating data between identical databases. This blog post aims to discuss the process of bulk uploading data from the Sitecore 9.3 compatible database to the Sitecore 10.3 database, addressing the challenges and providing a solution in the form of a C# class for efficient data migration.   Understanding the Scenario After the upgrade, it was identified that data existed in both the Sitecore 9.3 and 10.3 environment shards. To resolve this, the Sitecore 9.3 database had to be made compatible with the Sitecore 10.3 version by following the guidelines outlined in the upgrade guide. This involved taking a backup of the 9.3 database and running the necessary scripts to ensure compatibility with the new version.   Challenges Faced Dur...

Risk to Avoid while upgrading from 9.3 to 10.3

Introduction: When upgrading from Sitecore 9.3 to 10.3, there are several risks that should be taken into consideration to ensure a smooth and successful upgrade process. Here are some risks to be aware of and steps to avoid them:   1. Incompatibility Issues: Risk: Third-party modules or custom code might not be compatible with the new version. Avoidance :  Ensure all custom code and modules are compatible with Sitecore 10.3 by checking for updates or contacting the respective vendors. Conduct thorough testing to identify any compatibility issues early in the process. 2. Data Loss: Risk: Data loss can occur during the upgrade process, affecting content , configurations , or user data . Avoidance:  Perform a full backup of the Sitecore databases, content, and configurations before initiating the upgrade. Implement a robust rollback strategy in case of unexpected issues during the upgrade. 3. Performance Degradation: Risk : Upgrading without consid...

Upgrading from Sitecore 9.3 to 10.3: A Practical Guide

Image
Introduction Upgrading to the latest version of Sitecore brings a multitude of benefits, including enhanced features, improved performance, and strengthened security. In this practical guide, we'll explore the step-by-step process of upgrading from Sitecore 9.3 to 10.3, discussing the key considerations and best practices for a successful upgrade. Understanding the Upgrade Process     1.  Assessment of Current Environment Gather detailed information about your existing Sitecore 9.3 environment, including the databases, custom code, modules, and integrations. Check the compatibility of your custom code, modules, and third-party integrations with Sitecore 10.3.     2. Backup Your Data Before initiating the upgrade process, ensure that you have a robust backup strategy in place for all databases, files, and configurations.     3. Evaluate System Requirements Review the system requirements for Sitecore 10.3, including supported operating systems, databases...

Creating Sitecore RSS Feed

Image
Introduction:  In this blog we will try to setup RSS Feed step by Step. I did try to set up using Sitecore RSS Setup Link   but there are challenges you might come across during the Setup journey. I have tried my best to consolidate all the relevant errors with their solution.  Explanation: the very first thing we do is create RSS Item. Right click on Home Item and select Insert from template as shown below. fig. 1 Select System -> Feeds -> RSS Feed   as shown below. fig. 2 For the newly created RSS Feed Item, under Data -> Items, click on Insert Link  a popup opens up, Select the Collection you want to keep an eye on in RSS feed. Remember to select the Parent as a sample please check below Image. fig. 3 Click on the any Item in your collection (I assume all the Items are of same template, else select at least one of each type and repeat the below activity ). Click on   Presentation -> Design. A popup will open, select the Fields you w...

Sitecore Dependency Injection Part - 1

Image
Introduction: In this Article we will try to see how we can implement Dependency Injection with examples. We will continue building on the the glass mapper sample created in our Previous blog. With Inheritance and Interface, we achieve loose coupling, but dependency injection (DI) take it one step ahead. in summary DI takes away all the mapping (which Interface will create which instance) at configuration level. Implementation: 1 -  Setup IServicesConfigurator: First thing to do is create a IServicesConfigurator. At this point it is a bit tricky part. If this is for the first time you are adding " IServicesConfigurator ", You will get first error message stating reference need to be added for " Sitecore.DependencyInjection " after this, the warning Quigley line will still remain on " IServicesConfigurator ". If you hoverover it, you will see it states "needs   Microsoft.Extensions.DependencyInjection   to work but not installed". Here is the catc...

Sitecore Glass mapper ReferenceField (DropLink)

Image
   Introduction: In this post we will see how we can leverage ORM concept in Sitecore as well. We will start with simple project and introduce Glass mapper. Reference Field will be our main focus in the post.  Background: We have updated sitecore Home Page with our Layout and Controller Rendering. Given below is the pictorial view. Layout : Under Layout Section in Content Editor fig-1 Create a mvc Layout. My layout just contain a Place holder as shown below fig-2 for this post we will just be using Static place holder i.e "smain" Rendering: We will be creating a rendering and data source for the same. Under Feature folder create new rendering folder -> than create Controller Rendering. The Controller field will contain , Name Space + Controller Class and with comma separated, we mention which dll contain this class. Action contains Method to hit in the Controller. fig-3 Add the layout and rendering to Home Item as shown below. By This time I hope we all know how to add...