Posts

Set Default Values in Sitecore Content Hub DAM and CMP

Image
It is the most common requirement in Content Hub to set the default values in fields. In this blog post, I will cover setting the default values in Sitecore content Hub DAM and CMP Modules.  DAM (Digital Asset Management) Module: 1. Go to the Manage icon. 2. On the Manage page click on the Pages. 3. On the Pages page in the left panel scroll down to the Create page, and from Layout choose the Creation component. 4. On the Creation Component page select Upload files and click on the Add value option 5. I am setting the default value in the Asset Description field, so I have selected the Description field and set the value 6. Now go to the Create page from the Ribbon bar navigation option and upload an Image and you will get the default value in your description field. CMP (Content Marketing Platform) Module: 1. Go to the Manage icon. 2. On the Manage page click on the Pages. 3. On the Pages page in the left panel scroll down to the Search page...

Custom Export Profile in Sitecore Content Hub

Image
By default, in Sitecore Content Hub when we export the Content Entity, the exported Excel file includes all the fields. It's quite confusing when we want to read, analyze, and perform any operation on the data. The whole process uses Export Profile in the background. To export only specific fields into the Excel files we need to create a custom Export profile into Sitecore and Sitecore provides this functionality OOTB to create Custom Export profile. The following steps describe how to create a custom export profile for Content Entity and enable that particular export profile on the selection component of the search page. Create Export Profile: 1. Click on the manage icon, in the top right corner and choose the Export Profile option. 2. On the Export profile page, click on "+ Export Profile" and in the Export profile popup fill in the details: Name: Name of the Export Profile Definition: Entity Definition used for t...

Add Components to the Content Details Page in Sitecore Content Hub

Image
In this blog post, I will guide you through the process of adding an Out-of-the-Box (OOTB) components to the content detail page. This addition will enable us to provide comprehensive details of an entity, for example, Entity History and State Flow component that will provide you information about the History of the Entity and State Flow details respectively. Add Entity State Flow Component: 1. Go to the Manage icon. 2. On the Manage page click on the Pages. 3. On the Pages page in the left panel scroll down to the Content Details page and select it. 4. On the Layout tab, scroll down and click on + component to add a new component. 5. In the next popup Enable the Visible option and change the UI visibility type It will be added to the Content Detail page You can click on the State Flow component and change or update the setting as per your requirement, I am leaving it as it is.  Add Entity History Component: 1. On the Pages page, select...

Sitecore Analytics Issues and Troubleshooting

Image
After migrating an application from the SharePoint platform to Sitecore, observed that Marketing Applications such as Experience Analytics, Experience Profile, and Path Analyzer do not display data or an error. Experience Profile: Experience Analytics: Path Analyzer: There can be multiple reasons behind this issue. Any one of these reasons could be the cause, or several might apply to your situation. In this blog post, I will discuss all the possible reasons and provide troubleshooting steps to help you capture and view the Analytics data in Sitecore. 1. Certification Issue: For a deeper exploration of this topic, I have written a separate blog post that addresses this issue in detail. You can find the blog post here: Sitecore Analytics: The Certificate was not Found 2. Experience Profile does not display Data: After addressing the Certification Issue, I can see the analytics data in my Shard0 and Shard1 databases but contact is not displaying in...

Sitecore Analytics: The Certificate was not Found

Image
One of the frequent challenges we face is the absence of Analytics data in the Sitecore Experience Profile. This issue can be quite frustrating, but there is a solution. In this blog post, I will delve into the reasons behind the "The certificate was not found" problem and explain how to resolve it using Azure Managed Cloud Service PaaS. In this case, The very first step is analyzing logs on the CD and xConnect server. I have checked the xConnect Collection server's log and it seemed to stop, which suggested that there had been some issue with xConnect trying to collect the analytics data. In this case, I have to look into the CD server. I found a lot of xDB-related errors in the CD server, with a similar stack trace as below. Error: xDB unavailable when submitting contact The nested error seems to suggest the error is related to the missing client certificate required for xConnect and xDB communication. The amount of Submit Qu...

Add New Member Option Missing on Content Hub Schema Page

Image
The Add New Member option is missing from the Schema page. I have been investigating one of the issues in our Content Hub environment. I tried to recall the steps when I encountered a similar issue, but it resolved itself automatically after some time. Here are the steps I performed: Go to the M.content schema using the Schema option from the dashboard. Select the Settings option from the three-dot menu at the top right corner. Enable the Taxonomy-enabled definition. After enabling this option, the Add new member button disappears, along with the Settings option, making it impossible to disable the setting again. The above screenshot I have taken from different CH environments to elaborate on the issue. Workaround: 1. As a preliminary step, I recommend that you try discarding any changes to the M.Content schema. After doing so, verify if the new members become visible. 2. If it's still not resolved, then this issue belongs to the C...

Get a List of all Content Entities of the Same Content Type in Sitecore Content Hub

Image
While working on the Content Hub project I received the requirement to get all the Content Entities of a specific Content Type from the Content Hub. For instance, if your Content Hub contains various types of content entities such as a Blog, Article, and News type and there are multiple entities of each content type. Here I am taking an example of retrieving all the Content Entities of the Blog type. To get the list of all the content types, you can use  Web Client SDK , there is a method to retrieve the single entity using the  Get entities method. Solution: 1. Create a sample console/web application in Visual Studio and add a reference to the Web Client SDK NuGet package (Stylelabs.M.Sdk.WebClient) to your project.  2. Before beginning to write the logic, you should have the Parent ID of the Content Entities that represent the ID of the Content-Type. To find the Content Type ID or Parent ID of a content entity from the Conten...

Sitecore 10.4 Installation Authenticode Issuer

Image
While installing Sitecore 10.4, I encountered an error about the Authenticode issuer and SitecoreInstallFramework version. The error message is about Sitecore Install Framework conflicts. To investigate more about it and to check the version I executed the following command in PowerShell and I have SIF version 2.3: Get-Module SitecoreInstallFramework –ListAvailable As stated in this error Sitecore 10.4 version requires SIF version 2.4 and to install it Sitecore suggested in error that use the -SkipPublisherCheck parameter, so to install this, execute the following command: Install-Module SitecoreInstallFramework -SkipPublisherCheck -Force After execution if you get the following error: Then Execute the following command to register repositories and register as trusted. Register-PSRepository -Name SitecoreGallery -SourceLocation https://nuget.sitecore.com/resources/v2 Set-PSRepository -Name SitecoreGallery -InstallationPolicy Trusted ...

Mention a Content Hub User Group in an Annotation

Image
Sitecore Content Hub provides an Annotation feature, that you can use to review content, provide feedback and collaborate with others.  To mention a Content Hub user in an Annotation, Select the text in Content Entity, enter @ followed by a username, and select as many people as you want. When you mention a user, they receive an email with your comment and a link to the content entity. The issue is Sitecore Content Hub Provides a feature that you can mention the User but if there is a User group and you want any of them can review, approve, or take action on the entity so no such option we have in Sitecore to mention a User Group in an annotation.  I have checked with Sitecore and Sitecore submitted a feature request for the Content Hub product so that it can be considered for future versions of the product. To track the future status of this request, please use the reference number " FRM-2121 ". See the Sitecore documentation for How ...