Skip to main content

Posts

Showing posts from February, 2022

Add a Custom Attribute to the General External Link Field in Sitecore

Add a Custom Attribute to the General External Link Field in Sitecore I have a requirement where I want to add a custom attribute on the External Link popup just like the below image:    Below are the steps which we need to done: Core DB: Go to in core DB Go to this location “/sitecore/system/Field types/Link Types/General Link/Menu/External link” In a message field by default value is “contentlink:externallink(id=$Target)” which we need to update with this “contentlink:externallinkextend(id=$Target)”    Now click on General Link and update the “Control” field with this “content:ExtendLinks”     Create New Message Handler  using Sitecore; using Sitecore.Diagnostics; using Sitecore.Shell.Applications.ContentEditor; using Sitecore.Text; using Sitecore.Web.UI.Sheer; namespace SampleProject.Services { public class ExtendLinks: Link { public override void HandleMessage(Message message) { Assert.ArgumentNotNull((object)message, nameof(mess

Sitecore 10.2 - “Failed to start service ‘Sitecore Marketing Automation Engine’” on Windows 11

Sitecore 10.2 - “Failed to start service ‘Sitecore Marketing Automation Engine' ” on Windows 11 Today I started to install Sitecore 10.2 using Sitecore Instance Manager on Windows 11 and I got this issue “Failed to start service ‘Sitecore Marketing Automation Engine' ” . Error : On event viewer it was showing the below error: I also tried to run ‘ Sitecore.MAEngine.exe ’ like this C:\Windows\system32>C:\inetpub\wwwroot\sclocal102xconnect.dev.local\App_Data\jobs\continuous\AutomationEngine\Sitecore.MAEngine.exe Which was throwing below error: Starting Marketing Automation Engine... 2022-01-29 22:21:11 ERR Error initializing XConnect client. System.AggregateException: One or more errors occurred. ---> Sitecore.XConnect.XdbCollectionUnavailableException: An error occurred while sending the request. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The underlying connection was closed: An unexpected err