Posts

Create and configure xdb indexes for Solr in Sitecore

Image
When working on Sitecore personalization, sometimes we have seen the challenges related to profile interaction and personalization reports data is not correct. Here's the common issue: your xdb indexes either are not up to date or they are not configured properly. In this article I am going explain you how to create and configure xdb indexes for SOLR search.  1. Create SOLR Cores Make 2 copies of Solr _default configurations from the <SolrDirectory>\server\solr\configset\_default folder. Put the copies in the <SolrDirectory>\server\solr folder. Rename the cores  <custom_name>  and  <custom_name>_rebuild , for example: xdb and xdb_rebuild. Change your cores settings based on your required index names for SOLR xdb cors. Remove additional data inside cors data folder. Note: keep all folders inside the data folder and only remove the data. Restart your SOLR service (open services.msc >> search SOLR service >> right click and restar...
Image
Become a Sitecore learner gives you more challenges to know all basics about sitecore in initial phase. So Idea is to here giving you some highlights of Sitecore and its functionalities. In this blog post I noted down some important one liners which will be useful for new learners.  Sitecore - A fully customized CMS to provide the capability to manage and publish large content for enterprise application. Minimum required databases: Core, Master, Web Core Database - Stores settings for Sitecore CMS, user’s authentication and security related information. Master Database - Contains all versions of Sitecore content which is created/updated in Sitecore CMS. Web Database - Contains only published versions of Sitecore content. Templates - Provides the blueprints/base structure for Sitecore Items. It consists of fields for Sitecore Items. Section - Part of templates and it is used to group the related fields in a template. Inheritance - Template inherit fields from a...

Sitecore 10 - Containers and Docker

Image
Here I'll explain you some basic concepts related to containers and docker. If you look at the above diagram. you will get the basic understanding about the infrastructure requirements for Virtual machine setups. Don't get it ? Let me explain you. Virtual Machines: As per the above diagram it shows where each virtual machine has its own guest operating system which runs on top of the hosting infrastructure operating system. Hypervisor is the software used for creating virtual machines. Extra operating system per VM setup is obviously requires more space and load on Infrastructure. VM provides the hardware level process isolation where each applications run independently on virtual machines. Container:  Containers provide a lightweight and isolated runtime environment that encapsulates all the necessary components and dependencies required to run the applications. They uses host Operating system and does not need a separate OS. Containers provide OS level process isolation to r...

Sitecore 9 - Dynamic Placeholders

Image
Dynamic placeholders are useful when you want to repeat the same placeholder with different renderings/data sources.  Let's first understand the concept. Let's assume you want to use a placeholder with 2 different component on same page. I am going to create the Items based on below details. I am following the basic details, which is needed to create dynamic placeholders. - Create a Placeholder in your view.cshtml file @Sitecore().Placeholder("content-row-2-col") and publish it. - Create Rendering for your Component (component name: 2 Column Component) and publish it. - Create placeholder settings Item (settings name: 2 Column Component PS Settings) for your placeholder (placeholder key: "content-row-2-col") - Add 2 Column Component in your Placeholder Settings Allowed Controls. and publish it. - Open your page in Experience Editor - Click inside main-content placeholder >> Add Here >> Select 2 Column Component - Add data sources for Image tile...