Skip to main content

Questions tagged [unicorn]

Unicorn is a utility for Sitecore that solves the issue of moving templates, renderings, and other database items between Sitecore instances. All questions about the Unicorn module for Sitecore, should use this tag.

Filter by
Sorted by
Tagged with
37 votes
2 answers
7k views

What are the differences between TDS Classic and Unicorn?

Disclaimer: I'm not looking for an opinion on which is better. My assumption is that the comparison is not apples to apples but there are obvious similarities. I've not found consolidated information ...
Michael West's user avatar
  • 18.6k
10 votes
3 answers
2k views

Packaging up items from Unicorn into a Sitecore package

I have used TDS for most of my packages for deployment or creating modules for co-workers and friends. TDS is great at creating update packages. Is there a process to take all Unicorn items and ...
Chris Auer's user avatar
  • 13.2k
9 votes
2 answers
615 views

Unicorn always serializes items which have fallback enabled

We recently started using Unicorn for synchronization in our project to sync content and templates. We are using Sitecore 8.2 (rev. 161221) and Unicorn 4.0.3 The issue we are facing is that every ...
Surbhi Kochhar's user avatar
8 votes
1 answer
3k views

Handle Unicorn Deploy Once in a Production Environment

So we've been successfully using Unicorn in a development only environment for the past few months. We have Content and Media Library items synced and always deployed which obviously shouldn't be the ...
Dylan Young's user avatar
  • 4,314
7 votes
2 answers
9k views

Unicorn how to serialize parent folder and only specific children

I need to serialize some custom WFFM save actions in my solution but would like to avoid needing to store each one in its own folder on the filesystem. Is there a way to indicate that I want to ...
Matthew Dresser's user avatar
7 votes
3 answers
7k views

How to use Unicorn for continuous deployment between environments (UAT, Prod, etc.)?

We are using Unicorn as sync mechanism for items between the dev machines.Currently we are manually deploying the yml files to different environments like SIT, UAT and PROD. Is it possible to use ...
PVM's user avatar
  • 973
7 votes
1 answer
315 views

Bad IL format in Unicorn

Unicorn 3.2 Sitecore 8.2 160729 When I sync, it crashes with this error. But only on a few projects. [A] master:/sitecore/templates/Feature/Navigation/_Navigable/Navigation/LinkTitle (230de8d4-f378-...
Chris Auer's user avatar
  • 13.2k
7 votes
1 answer
2k views

Unable to cast object of type 'System.String' to type 'Unicorn.ControlPanel.Security.IUnicornAuthenticationProvider' Using automated Tool API

I am trying to run an automated Unicorn Sync on one of My Environments. I have the shared secret key in Unicorn.UI.Config after I had tried using the shared Unicorn.Sharedsecret.Config file with the ...
Jay's user avatar
  • 305
7 votes
2 answers
2k views

Using Unicorn to Generate Glass Mapper Models

How can I use Unicorn to generate Glass Mapper models for my Sitecore items?
ADH's user avatar
  • 1,775
6 votes
2 answers
6k views

Unicorn Serialized Files to Source Control?

How should I approach getting serialized items into source control? I have Unicorn sync down to my ~/App_Data/serialization/ so auto-publish does the deed, but how do you get changes if you're ...
Aaron Romine's user avatar
6 votes
1 answer
2k views

Is it possible to reserialize a single item with Unicorn?

I had this issue when syncing a configuration on one of my projects: "You can resolve this warning by reserializing the master:/sitecore/content/Modules/Links/Charts/Chart 1/Symptoms/Results item, or ...
Diego's user avatar
  • 5,698
6 votes
1 answer
619 views

Unicorn (2.0.4) issue when renaming items

We faced the following issue with Unicorn serialisation and I wanted to share it just in case someone has a better solution/workaround to it. We are using Unicorn 2.0.4 on a project where we cannot (...
Ben's user avatar
  • 570
6 votes
1 answer
2k views

Unicorn overlapping configuration issue

I have a unicorn configuration set up like this: <include name="Rules" database="master" path="/sitecore/system/Settings/Rules" > <exclude children="true"> <except name="...
Calum's user avatar
  • 392
6 votes
2 answers
3k views

Sitecore Habitat - GULP is not running sync unicorn task and neither giving any error

In Sitecore habitat project, I am running task '05-Sync-Unicorn' in VS task running explorer but it does nothing and just displays "Starting '05-Sync-Unicorn'" in console (even doesn't produce any ...
S.Kazmi's user avatar
  • 916
5 votes
2 answers
689 views

How to view history of yml files (before they have pending changes)

Is there any way in regular Visual Studio (2017) to view the history of individual yml (unicorn serialization) files? Once you have changed a serialized Sitecore item it appears under the 'Changes' ...
Matthew Dresser's user avatar
5 votes
2 answers
307 views

Does Unicorn pick up database cleanup process and reserialize?

While reading this thread, I investigated if "cleanup databases" will trigger serialization process. I checked log files and nothing related to serialization is logged? @Dmytro suggested that ...
Dheeraj Palagiri's user avatar
5 votes
1 answer
580 views

Is it possible to reserialize using powershell script? ps1

With this method https://sitecore.stackexchange.com/a/5588/1360, we can sync the content from FileSystem to Sitecore DB. Can we do the reverse? DB to FileSystem using something like "Reserialize-...
Nehemiah Jeyakumar's user avatar
5 votes
2 answers
2k views

Using Unicorn Transparent Sync

I am done with unicorn sync using gulp task provided in Sitecore habitat sample project. I need some clarification on below points. As per my understating, if transparent Sync is enabled then auto ...
S.Kazmi's user avatar
  • 916
5 votes
2 answers
926 views

Exception when running step 05-Sync-Unicorn in Habitat - HMAC provided by client: MicroCHAP.SignatureResult

I have a Habitat Solution for Sitecore 9.0 Update 1. Trying to run auto Sync "05-Sync-Unicorn". when I ran this task, getting below warning in the log file: [Unicorn-Auth] CHAP authentication ...
Jitendra's user avatar
  • 1,038
5 votes
1 answer
1k views

How to do content Staging in Sitecore when using Unicorn

I've some problems in understanding how some technologies should work together in sitecore. When I am right is unicorn only here to sync developer definition items from dev to staging to live and ...
squadwuschel's user avatar
  • 1,175
5 votes
1 answer
651 views

Unicorn does not always install media items correctly

On occasions, Unicorn does not pick up changes to media items in Sitecore correctly. e.g. after installing a package of UAT content into my local environment the other day, I noticed that some of the ...
Matthew Dresser's user avatar
5 votes
0 answers
695 views

Disable unicorn sync for a specific field

On all our environments we decided to stop synchronisation of the page tests (aka A/B test). However there is a synchronisation on each item on the field "__Content test", which links it to ...
RubenHerman's user avatar
4 votes
4 answers
3k views

Unknown connection string. Name: '$(1)' - Unicorn

I'm getting the following error in Sitecore 10.1 when Installing Unicorn Unknown connection string. Name: '$(1)' Description: An unhandled exception occurred during the execution of the current web ...
SitecorePro's user avatar
4 votes
1 answer
1k views

Error setting up Habitat instance of Sitecore with "Could not instantiate event handler." error

While setting up an instance of the Habitat demo site, I have followed all the steps as in the past but when the Sync Unicorn Gulp task begins, it exits with the following error: Could not ...
Sirius_B's user avatar
  • 601
4 votes
2 answers
467 views

Unicorn path when pushed to Azure app service

I'm doing some testing using Unicorn, working with the Helixbase NuGet project. I set up a CI build/release pipeline, and it pushed the code and content as expected, including the Unicorn ...
Ken McAndrew's user avatar
  • 5,132
4 votes
1 answer
4k views

Cannot save a Sitecore item. The error message says the parent item was not serialized

I have a really odd problem when saving a Sitecore item. Locally, everything is fine. However, when deployed to our dev environment (which uses the same db and SOLR instance), I get: The parent item ...
Michael Dickens's user avatar
4 votes
1 answer
499 views

Serializing content items - issue with childrenOfPath

We ran into a strange issue while setting up serialization for our content tree in a Sitecore 9.2 XP0 environment. Our goal is to achieve a configuration that serializes a skeleton of our content tree ...
Cyar's user avatar
  • 43
4 votes
4 answers
4k views

Unicorn: Single setting to disable unicorn synchronisation

Is there a single Unicorn setting which can completely disable unicorn synchronisation for a Sitecore instance? At the moment if I want to turn off synchronisation, I just delete the App_Config\...
Matthew Dresser's user avatar
3 votes
1 answer
292 views

Adding a patch config file ONLY to my production server

I have another question where I needed to add another target database to my sync in unicorn. However I only need the patch to take affect in my production environment since my local errors out on the ...
user1566783's user avatar
3 votes
2 answers
6k views

You cannot have a sparse serialized tree

I'm new to Unicorn, but recently we tried to add an item to a section that's been configured in Unicorn and we are getting the following error: The parent item of /sitecore/templates/Site/Foundation/...
Dylan Young's user avatar
  • 4,314
3 votes
1 answer
648 views

Remove unicorn messaging in content editor in CM

Is it possible to remove following message in the Content Editor while still allowing /unicorn.aspx to work? This item is controlled by Unicorn I don't want changes in the CM to be written down to ...
mp3duck's user avatar
  • 485
3 votes
2 answers
156 views

Pre-optimized-min file named with GUID Sitecore SXA 10.2

We use Unicorn in our project, and we are saving the pre-optimized-min.yml files in source control. Here is the exclude predicate we have for this file: <exclude childrenOfPath="/sitecore/...
Germán Merlo's user avatar
3 votes
1 answer
1k views

Clarification needed on the Rainbow.SFS.SerializationFolderPathMaxLength setting

I'm using Unicorn (v4.0.3, Rainbow v2.0). In the Rainbow.config it states the following for the Rainbow.SFS.SerializationFolderPathMaxLength property: Example: A value of "90" for this setting will ...
Paul's user avatar
  • 555
3 votes
1 answer
945 views

How to serialize a parent item and some of it's child items as new Item only

I've recently found out that you can serialize items if it's new only using <evaluator type="Unicorn.Evaluators.NewItemOnlyEvaluator, Unicorn" singleInstance="true"/> When I add this to the ...
qwert's user avatar
  • 399
3 votes
2 answers
303 views

Sitecore User Permission gets over written on deployment and Unicorn Sync

I have set permissions to users on the Sitecore security editor All those User permissions get over written on Unicorn Sync during deployments I Understand that security is controlled at Item ...
SitecoreNoob's user avatar
3 votes
1 answer
521 views

Using unicorn for manual deployment on Dev/QA environments

I am trying do manually deploy unicorn serialized yml files into my QA server. But, I am getting exception even while loading the Sitecore instance. I have copied all the feature/foundation/project ...
Suhas Shivaram's user avatar
3 votes
0 answers
62 views

Sitecore 10.4 SXA Website Appears Blank After Unicorn Sync in Higher Environment

We are working on a website built in Sitecore 10.4 using SXA. After performing a Unicorn sync on a higher environment (staging), the website appears blank, with no content being displayed. The ...
Olive's user avatar
  • 75
2 votes
1 answer
755 views

Is Unicorn obsolete with Sitecore 10?

As far as I understand, Unicorn still works with Sitecore 10.x and I understand that Sitecore 10 introduced a new Serialization format. So... does the new Serialization system of Sitecore 10 make ...
Matthew Dresser's user avatar
2 votes
2 answers
1k views

Setting up HelixBase with Sitecore 9.1 and unsure how to run Unicorn

I am trying to follow the instructions for setting up the HelixBase solution, using these instructions. https://github.com/muso31/Helixbase Unfortunately on step 5 I'm a bit lost. What do I need to ...
Jen's user avatar
  • 1,403
2 votes
2 answers
1k views

Unicorn writing to disk with Transparent Sync off

Unicorn version 3.2.0 The issue I am having is that in several environments when I update a item that is being controlled by Unicorn, it is updating the yml file on disk. The expected behavior is to ...
Chris Auer's user avatar
  • 13.2k
2 votes
1 answer
2k views

Sitecore upgrade from 9.0.2 to 9.3 issue

I have upgraded our sitecore application from Sitecore 9.0.2 to sitecore 9.3. However when i try to run my application i get the below error. I also tried try copying all the dll's from bin folder ...
Vishal's user avatar
  • 73
2 votes
1 answer
115 views

Unicorn publishes all the items under the root Sitecore item after unicorn sync

When we run the unicorn sync for limited items based on the unicorn configuration's predicate rule then in SPS we noticed that it is publishing all the items under top root sitecore {11111111-1111-...
Prashant Tomar's user avatar
2 votes
2 answers
152 views

Language sync in Sitecore with Unicorn

I've installed sitecore 9 and I am using Unicorn to sync my developer items. Do I create all my languages on my local machine an add the "/sitecore/system/Languages" to my Unicorn synchronization, so ...
squadwuschel's user avatar
  • 1,175
2 votes
1 answer
322 views

Can you enable Unicorn NewItemsOnly for specific folders?

I am using Unicorn to serialise/synchronise Sitecore items from lower environments (developer local) to higher environments (production). I would like to use the NewItemsOnly configuration (see link ...
S Prod's user avatar
  • 21
2 votes
1 answer
1k views

Unicorn Sync for Sitecore SXA site adding only new items

We are using Sitecore SXA for development. Right now we are able to sync into Sitecore everything(based on serialization configuration) using unicorn through yml files. if deleted yml file, it is ...
Erwin Paul's user avatar
2 votes
1 answer
925 views

Syncing configurations in predefined sequence

I have Helix-Habitat based solutions which contains lots of Foundation and Feature projects. I want to set a sequence / order of modules to perform Unicorn sync. Can anybody guide me here?
Jitendra's user avatar
  • 1,038
2 votes
2 answers
2k views

configuration's predicate cannot resolve any valid root items?

I'm new one to learning unicorn i have intigrate .yml files to my sitecore new instancebut getting bellow error how to resolve please suggest me
user6248's user avatar
2 votes
1 answer
997 views

Unable to sync page versions with Unicorn

While implementing workflow for our site, I stumbled upon a Unicorn issue. Creating a page works just fine, but when an editor goes to edit the page, and so creates a new version, Unicorn gives a ...
Alwin's user avatar
  • 23
2 votes
2 answers
2k views

Sync-Unicorn' errored "Cannot read property '0' of undefined at unicorn.js" error while setting up Habitat

I am setting up habitat and I was going to installation instructions. When I run “default” task from Visual Studio 2015 Task Runner Explorer, I get the following error. 00:04:18] '05-Sync-Unicorn' ...
Gowthamreddy Tirumalareddy's user avatar
2 votes
1 answer
140 views

Sync issues when Serialization (Unicorn 2.0.4) + Git + WFFM

We are using Unicorn 2.0.4 to serialize our forms (and other content). These files are then saved into our VSO Git repository. After editing several forms, with similar fields (The forms were ...
Vicent Galiana's user avatar