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
34
votes
2answers
4k 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 ...
10
votes
3answers
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 ...
9
votes
2answers
297 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 ...
7
votes
2answers
4k 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 ...
7
votes
1answer
265 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-...
7
votes
1answer
1k 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 ...
7
votes
1answer
1k 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 ...
7
votes
2answers
2k views

Using Unicorn to Generate Glass Mapper Models

How can I use Unicorn to generate Glass Mapper models for my Sitecore items?
6
votes
3answers
4k 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 ...
6
votes
1answer
1k 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 ...
6
votes
1answer
353 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 (...
5
votes
2answers
4k 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 ...
5
votes
2answers
109 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' ...
5
votes
2answers
221 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 ...
5
votes
1answer
288 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-...
5
votes
2answers
1k 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 ...
5
votes
1answer
391 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 ...
5
votes
1answer
290 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 ...
5
votes
2answers
2k 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 ...
4
votes
1answer
809 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 ...
4
votes
1answer
670 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="...
4
votes
1answer
31 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 ...
3
votes
1answer
2k 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 ...
3
votes
1answer
70 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 ...
3
votes
1answer
387 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 ...
3
votes
1answer
50 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 ...
3
votes
1answer
309 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 ...
3
votes
1answer
192 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 ...
3
votes
0answers
38 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 the ...
2
votes
2answers
764 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 ...
2
votes
2answers
2k 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/...
2
votes
2answers
770 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 ...
2
votes
1answer
335 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 ...
2
votes
1answer
78 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 ...
2
votes
1answer
255 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 ...
2
votes
1answer
451 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?
2
votes
1answer
2k 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\...
2
votes
2answers
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' ...
2
votes
1answer
52 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 ...
2
votes
1answer
179 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 ...
2
votes
1answer
126 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 ...
2
votes
1answer
603 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. (...
1
vote
2answers
500 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 ...
1
vote
3answers
80 views

Creating a patch config file for Rainbow.SFS.SerializationFolderPathMaxLength

How can I add a patch file for Rainbow.Config? Is there a naming convention that I need to follow? I need to modify below setting, but don't want to change the main Rainbow.Config file. <setting ...
1
vote
1answer
81 views

Is there any need to use patch:after with Unicorn configuration files

I'm working in a Helix solution and have noticed things like: <configuration name="Feature.MyModuleName" dependencies="Foundation.SomethingElse" patch:after="...
1
vote
2answers
383 views

How can we give the relative path in unicorn configuration file?

For Unicorn serialization currently i have given path like <targetDataStore physicalRootPath="C:\SitecoreProjects\Unicorn1\src\Project\Unicorn_Test\serialization" However its absolute source ...
1
vote
1answer
138 views

Is it possible to reserialize all via an URL call

I have a helix project configured to use unicorn. on our production environment the marketing team have been adding content for around 2 months so there are thousands of changes to the master database....
1
vote
1answer
34 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
1
vote
1answer
44 views

What should my Leprechaun Configuration look like in a non-Helix project?

I'm trying to configure Sitecore Leprechaun to generate Glass models for my project, but no matter what I do, I can't seem to get it to work. My project folder structure looks like: /sitecore /...
1
vote
1answer
72 views

Copy just new content and BLOBs from Live Master to another Environment

We have a UAT and LIVE Sitecore environment that hosts multiple websites and we use unicorn to sync data. The solutions uses Helix and for each project we have transforms for unicorn serialization ...