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
36 votes
2 answers
6k 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 ...
user avatar
  • 16.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 ...
user avatar
9 votes
2 answers
488 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 ...
user avatar
8 votes
1 answer
2k 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 ...
user avatar
  • 4,259
7 votes
2 answers
7k 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 ...
user avatar
7 votes
3 answers
6k 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 ...
user avatar
  • 953
7 votes
1 answer
302 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-...
user avatar
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 ...
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?
user avatar
  • 1,755
6 votes
2 answers
5k 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 ...
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 ...
user avatar
  • 5,636
6 votes
1 answer
550 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 (...
user avatar
  • 550
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 ...
user avatar
  • 856
5 votes
2 answers
402 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' ...
user avatar
5 votes
2 answers
271 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 ...
user avatar
5 votes
1 answer
445 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-...
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 ...
user avatar
  • 856
5 votes
1 answer
1k 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="...
user avatar
  • 255
5 votes
1 answer
840 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 ...
user avatar
  • 1,125
5 votes
1 answer
507 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 ...
user avatar
4 votes
1 answer
947 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 ...
user avatar
  • 591
4 votes
2 answers
309 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 ...
user avatar
  • 5,052
4 votes
1 answer
3k 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 ...
user avatar
4 votes
1 answer
309 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 ...
user avatar
  • 43
4 votes
2 answers
668 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 ...
user avatar
  • 861
4 votes
4 answers
3k 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\...
user avatar
3 votes
1 answer
106 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 ...
user avatar
3 votes
2 answers
4k 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/...
user avatar
  • 4,259
3 votes
3 answers
1k 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 ...
user avatar
3 votes
1 answer
578 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 ...
user avatar
  • 475
3 votes
1 answer
211 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 ...
user avatar
3 votes
1 answer
920 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 ...
user avatar
  • 535
3 votes
1 answer
624 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 ...
user avatar
  • 379
3 votes
1 answer
459 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 ...
user avatar
3 votes
0 answers
432 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 ...
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 ...
user avatar
  • 1,313
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 ...
user avatar
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 ...
user avatar
  • 73
2 votes
1 answer
210 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 ...
user avatar
  • 21
2 votes
1 answer
960 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 ...
user avatar
2 votes
1 answer
784 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?
user avatar
  • 861
2 votes
2 answers
1k 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
user avatar
2 votes
1 answer
113 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 ...
user avatar
  • 1,125
2 votes
1 answer
728 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 ...
user avatar
  • 23
2 votes
2 answers
1k 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' ...
user avatar
2 votes
1 answer
136 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 ...
user avatar
2 votes
0 answers
110 views

Cloned Items does not give change information when original item is updated through Unicorn Sync

I am using Sitecore 9 Update 2 I created the site and serialized it using Unicorn. I also created a clone of this site. Based on the documentation here https://doc.sitecore.com/users/92/sitecore-...
user avatar
  • 379
2 votes
1 answer
843 views

Sitecore Habitat Unicorn Sync Issue

I'm getting an error during the gulp step to sync Unicorn while trying to set up Habitat. Here is the error in the unicorn console: ERROR: Object reference not set to an instance of an object. (...
user avatar
  • 2,457
1 vote
2 answers
1k views

Where are the access rights stored for security roles in serialized files?

When we create security roles and assign access rights, corresponding serialized files for role get created. But when we look at the files we don't see any data related to access rights. So just ...
user avatar
  • 572
1 vote
2 answers
50 views

Error while running Export-UnicornConfiguration cmdlet in the Sitecore PowerShell script

I am triggering an SPE script from the code. SPE script contains a few checks but finally has Export-UnicornConfiguration $configurationName. The script runs without any errors when it is triggered ...
user avatar