Posts

Sorry, there was an error - Sitecore 10.4 Update installation

Image
Sitecore recently launched the Sitecore 10.4 update 1 with important updates to 3rd party dependencies, and a roll-up of functional and security vulnerability fixes that includes SOLR upgrade to version 9.8.1, Sitecore Identity server on .NET 8, Security fixes and enhancements and resolved issue with Content Editor, Experience Editor, Publishing and Headless rendering, Language fallback, Performance and NuGet packaging.   To explore these features and improvements, I planned to install Sitecore 10.4 update 1 on a local developer machine. After successfully installing, when I log in to the Sitecore Identity server, instead of redirecting to the Sitecore instance, I encounter the following error: "Sorry, there was an error." I have checked the log files and have not found any logs related to it. After that, I have checked the Quick Install Guide for XP Developer Workstation , which is a Guide describing how to install the Sitecore XP Single (XP0)...

Sitecore Content Hub CKEditor Bullet Point Issue

Image
Problem Statement: While working with the CKEditor (Rich Text Editor) in Sitecore Content Hub, I have encountered one issue in which my content was listed in alphabetical order. When the author updates any content in the particular CKEditor field and saves the changes, the alphabetical list automatically changes to a numbered list.  After the author edits and updates the content, and clicks on save: Solution: It appears we are experiencing an issue in the Content Editor where nested numbered lists are displayed as alphabets in the editor:  Another example: However, after saving, the lists appear as numbers: To ensure the display is consistent, we need to add the following CSS to the Content Detail page in the page settings:  .content-field ol ol {     list-style-type: lower-latin; } For more information, please refer to the documentation for the CSS tab in the page settings: Sitecore Content Hub CSS Documentation ...

Index Recreation on Sitecore SolrCloud

Image
We perform the index rebuild option in Sitecore CMS to update the indexes. Anyhow, sometimes in a Sitecore SolrCloud, the index is outdated, and the index rebuild option from CMS does not help us to update it.  Therefore, we need to recreate the index manually through the Solr Admin UI to overcome this issue.  In this blog post, I am describing to you the steps to recreate the index manually on Sitecore_web_index. Step 1: Log into the Solr Admin UI by using the URL and authentication. Step 2: After login, in the left panel, select Collections > sitecore_web_index and then expand Shard: shard1 Step 3: Currently, there are 3 shards per index (Note: there are 3 Solr replicas, so one shard is dedicated to one Solr replica), so we should delete them all by clicking on the x icon and then clicking on the Delete Replica button Step 4: After removing the 3 old ones of sitecore_web_index, we will create 3 new ones by clicking on the a...

Apply Taxonomy on Search Component in Sitecore Content Hub

Image
In the Previous blog post, we have seen how we can create and taxonomy and connect it to the M.Asset definition. Please see the blog post for more information: Sitecore Content Hub Taxonomy and Categorization In this blog post, I will explain how to apply this taxonomy on the Search Component and use it as a facet search on the Asset Page.  Step 1: Click on the manage icon, top right corner Step 2: Navigate to the Pages Step 3: In the left panel, click on the Asset page and choose the Search component from the Right panel Step 4: Go to the Facet tabs and click on the "+" icon and add taxonomy as a new facet type: Step 5: Navigate to the Asset details page from the top navigation bar, and in the left panel, you can see the new Taxonomy added as search facets, and you can see that currently, I have tagged only Assets with the Science taxonomy: You can now filter assets based on the selected taxonomy values. Happy Sitecoreing  😊

AI Features in Sitecore Content Hub

Image
Sitecore has introduced the AI features into the Sitecore Content Hub. It's an advanced tool to provide features and functionality to content generation, virtual search, content Translation, Image tagging, and many more.  In this blog post, I am explaining a few of them and how to use them from the context of the Content Entity. But before getting started, we need to enable the AI features in Sitecore Content Hub. Enable AI features in Sitecore Content Hub: Click on the manage icon and choose the AI features option. Click on the Enable button for both Content Generation and Visual Search to enable AI features. Content Generation: After enabling AI for content creation, you can generate original content, update or enhance existing content, refine tone, summarize, and check grammar and spelling. To use these features, open any content entity in Content Hub and navigate to a single-line text, multi-line text, or CKEditor field. You’ll see a star...

Author Details Submitted for Review in Sitecore Content Hub

Image
The Sitecore Content Hub system does not display information about the author who submitted the content on the content detail page for review. To make the author’s information visible on the content detail page, we need to perform the following activities  Create a new member group with the additional Fields Create a Script, Action, and Trigger to set the values Enable the setting on the page component to display the details Create a new member group with the additional Fields: To add information about the author who submitted the item in Content Hub for review, follow these steps to configure it: Step 1: Navigate to the manage icon and choose the Schema option Step 2: On the Schema page, search for M.Content and on M.Content page, click on the “New Group” option and fill in the details, and click on the save button: Step 3: Once you create a new group, click on the New Member option and add the following new members with respective type...

PowerShell and SXA module installation on Sitecore MCS PaaS 2.0

Image
Problem Statement: I was following the article Download options for Azure AppService deployments to install Sitecore PowerShell and SXA modules on Sitecore Managed Cloud Service PaaS 2.0 instead of my local dev instance. Sitecore Version: Sitecore 10.4 XP Managed Cloud Service: PaaS 2.0 I have successfully installed both the PowerShell and SXA modules, and they appear correctly in the CM instance.  But after restarting the CM Web App, both modules disappear from the CM instance, their config file is missing from the App_Service folder, and require reinstallation to complete the setup again. Here, I have used Sitecore CM instance Development Tools -> Installation Wizard to install the modules. Solution:  To investigate this issue further, I have checked the logs generated in Application Insights to confirm the installation. Additionally checked the traces and verified that the module is installed in the correct path: However...

Experience Edge for Sitecore Content Hub and GraphQL

Image
In this blog post, I will explain the Experience Edge for Sitecore Content Hub, Experience Edge for Content Hub APIs, GraphQL IDE, and GraphQL. Experience Edge exposes data through GraphQL APIs and media through a CDN. The CDN is responsible for routing and caching queries that flow to and from the delivery platform. Whenever Content Hub detects changes to approved content or the schema, it raises an event that triggers the automatic publishing process. Refer to the document for more details about the Experience Edge:  Experience Edge for Content Hub To start with Experience Edge IDE, we need to first understand the Preview Vs Delivery APIs: Preview API: A GraphQL API that exposes a preview of your content. This API provides access to all content, including drafts and other content that is not yet approved. Delivery API: A GraphQL API that exposes your published content. This API provides access to approved and published cont...

Sitecore Content Hub Taxonomy and Categorization

Image
Sitecore Content Hub provides Taxonomy and Option list features to classify the data; both have their use case to choose the appropriate approach. At a high level  Use Taxonomy when the data contains more than 50 items. Use Taxonomy if you want to apply a security rule based on the values, as the option list does not support it. See the documentation for more information:  Choosing between taxonomies and option lists In this blog post, I will explain to you how we can create a Taxonomy, classify the data, and use the same taxonomy for search purposes.  Create a Taxonomy: Step 1: Click on the manage icon, top right corner Step 2: Navigate to the Taxonomy Step 3: Create a new Taxonomy called POC.Educational and fill in the values in the following fields. I am allowing manual sorting as it lets you manually sort taxonomy items. Step 4: It will create and open the Taxonomy management page and the Education taxonomy....