Posts

Showing posts from 2025

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....

Export Sitecore Content Hub Collection Items

Image
Sitecore Content Hub provides a feature to export Content items in Excel, and we can customize the export profile according to our requirements. You can find the blog post here: Custom Export Profile in Sitecore Content Hub Export User Profile in Sitecore Content Hub In this blog post, I am explaining how to export the Collection items in Sitecore Content Hub. If you go to the collection pages, you will not be able to find the export to Excel option. Find a screenshot. To enable this feature, perform the following steps: Step 1: Click on the manage gear icon and click on the pages. Step 2: In the left panel, scroll down to the collection and click on the collection. Step 3: In the right panel, choose the selection component. If it is not enabled, then click on the user icon and enable it. Step 4: Now enable the Export to Excel radio button to have one more additional tab. Step 5: Click on the Add Definition button, sig...