Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [habitat]

Questions on Habitat - the implementation (https://github.com/Sitecore/Habitat/). For questions on the Helix guidelines themselves, use the helix tag.

Filter by
Sorted by
Tagged with
18
votes
2answers
1k views

How do you create a site modeled after the Habitat solution when starting from scratch?

I recently discovered Habitat and I really like the modular design and how it provides an end-to-end sort of pattern and process for organizing your Sitecore site, but the Habitat solution includes so ...
17
votes
1answer
377 views

Broken Links when using Tokens

I have a Sitecore 8.1 multisite environment and when I scan for broken links all items that are using tokens are falsely reported as having broken links. For example: A datasource of an item is: $...
15
votes
2answers
1k views

Should Habitat be used as a starter kit?

I have seen some really great examples at how to build a website using Habitat. In many ways it contains a good percentage of features that I need. Is this something that is production-ready and ...
14
votes
1answer
642 views

Habitat TDS Version - Sync Items to Sitecore

Keep in mind I'm a relative newbie to TDS, but looking through some of the documentation, I'm not sure I have found an answer that solidifies I'm doing something wrong. I've got TDS installed and ...
10
votes
1answer
169 views

Initialize service in pipeline to be available through one httprequest

We're using Sitecore 8.2, habitat. I have a service that I need to use throughout a full HTTP Request. This service should be instantiated once (we use dependancy injection) and then be available ...
9
votes
1answer
1k views

Working on Habitat with VS 2017

Set up the habitat solution all nice and smooth. However when trying to run the gulp task to get unicorn to sync I get a bunch of errors like this in the gulp output: error MSB4019: The imported ...
8
votes
3answers
389 views

Benefit of dynamic binding for components like header and footer

Is there really any benefit of having header and footer assembled through dynamic binding (placeholder) in comparison to static binding. Sitecore habitat project based on helix uses a lot of common ...
7
votes
3answers
3k views

Sitecore 9 and Habitat

We are considering using Sitecore 9.0 on a new project but we have a requirement to use Habitat. The Habitat example is designed for Sitecore 8. What do you see as the main pain points in using ...
7
votes
1answer
149 views

Is there any way to avoid duplicated TDS files/items in Helix based solution?

We have a solution based on Helix principles and we have separated TDS projects per Feature. For instance like this: Search sitecore/templates/Feature/Search/ Navigation sitecore/templates/Feature/...
6
votes
3answers
5k views

Excluding files like web.config when using publishing in VS 2017

I am trying to find out how to exclude files when using the publishing feature in VS (2017 to be exact). The documentation is not great, but it seems adding <ItemGroup> <Content ...
6
votes
1answer
591 views

Publish single Habitat project

In Habitat, we have gulp tasks for: Publish All Projects Publish-Foundation-Projects Publish-Feature-Projects Publish-Project-Projects I want to publish a single Project. I can use msbuild, as ...
5
votes
2answers
305 views

Does the package.xml file in Habitat project help to deploy to server and how?

I'm able to update the package.xml using below script in command-line: gulp -b "D:\projects\Habitat" --color --gulpfile "D:\projects\Habitat\Gulpfile-ci.js" CI-Do-magic package.xml is located here ...
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
762 views

Helix Feature references to Feature(s)

I am new with the Sitecore and Helix as well. I'm studying the Helix and its example - Habitat. I think it's missing the example of Feature get references from other Features. Regarding the Feature-...
4
votes
1answer
807 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
130 views

Install Sitecore 9.0 update 2 encountered warnings

I'm trying to install Habitat on my machine, according to this instruction 01-Getting-Started. However when I look back the script log, I got as bellow message Should we skip these warning messages ...
4
votes
5answers
4k views

Unable to resolve serialized item error during Unicorn sync task while setting up Habitat

I am trying to setup Sitecore Habitat but getting some wiered issue when the Unicorn sync starts. I have all the steps performed as mentioned in the below link, https://github.com/Sitecore/Habitat/...
4
votes
1answer
371 views

Could not get pipeline: canShowEditor (domain: ExperienceEditor) [closed]

I am getting the following error after installing the Habitat solution for Sitecore 9, from https://github.com/sitecore/habitat/tree/feature/v9 , and pointing it at a clean Sitecore install... Could ...
3
votes
1answer
304 views

Habitat TDS version with Sitecore 8.1.151003

Does anybody have any advice on how to get Habitat running with Sitecore 8.1 Initial Release (revision 151003)? Obviously I'd need to use an older version of Habitat, but having trouble finding which ...
3
votes
1answer
1k views

Language locale not getting added to URL

After configuring the sitecore Habitat based on the instruction from GIThub, we could see sometimes locale code is getting added and not added to the URL. This is happening inconsistently.But the ...
3
votes
1answer
240 views

How to set workflows in a Sitecore environment with SXA and Helix?

We are working on a Sitecore 8.2 project which is based on Helix and SXA. Now we want to implement Sitecore workflows. As of definition of Helix, you set them on page/data templates in the project ...
3
votes
2answers
404 views

Habitat setup host name confusion

In the wiki it states that default url is http://habitat.dev.local/ and in App_Config\Include\Project\z.Habitat.DevSettings.config, it states that rootHostName = "dev.local" If we implement default ...
3
votes
1answer
152 views

LocalDatasource computed field feature not working for particular template

We're making use of the LocalDatasource module in our build. It works fine apart from one particular template. The local_datasource_content field gets populated on the master index, but it is empty ...
3
votes
1answer
186 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
1answer
435 views

Setting the ConnectionStrings.config transformation in Habitat

We are using habitat in our project for a multisite implementation. Can we setup the ConnectionStrings.config transformation in the Project/common layer of the habitat framework. Is this doable?
3
votes
3answers
2k views

Helix Install Issue - Permissions on serialization folder [closed]

Having a problem on a fresh Habitat setup... followed all steps, publish projects etc, but now I'm getting this error: Access to the path '$(sourceFolder)\feature\accounts\serialization' is denied. ...
2
votes
1answer
306 views

Habitat multisite solution structure example

I've created my own helix based solution on the habitat project and I need to support multiple sites in this solution. But I don't know how to structure the Project folder here I need to create is the ...
2
votes
2answers
2k views

Unicorn sync error when installing Habitat

I'm trying to install Habitat the first time under the instruction from the Habitat Wiki page. I've installed the correct version of the instance and WFFM module, and also have the MongoDB running. ...
2
votes
1answer
50 views

Is it good approach to have one common functionality in Habitat (feature layer)

In our application we have different pages like Employee List, Product List, Voting List, FAQ list. Is it good approach to have different Views to display the List mentioned above OR can we create ...
2
votes
1answer
69 views

Why does Habitat need to compare User Profile information?

In Habitat, the UserProfileService class has a method for validating users, which is called on login. public bool ValidateUser(User user) { if (!string.Equals(user.Domain.Name, Context.Site....
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
180 views

Sitecore 9 as offline installer

I have to setup Sitecore 9 Update 1 on the VM machine where no internet is available due to company policies. I have installed rest of the dependent tools like VS 2017, SQL Server 2017, SOLR and other ...
2
votes
0answers
110 views

Habitat gulp default task copies all files

After downloading the habitat feature branch from github, running the gulp task 'default' copies over every file within a project file (.cs, .csproj, etc) into the web root rather than just the files ...
2
votes
1answer
602 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
196 views

Multiple fields with the same name in Habitat

In Habitat, I defined two templates: _idenity and _footer, and each of them has the same field name but different ID values,for example IDA and IDB. The start root item inherits both these templates. ...
1
vote
1answer
1k views

Habitat Gulpfile.js error in Visual Studio but OK on Cmd Line

In the Task Runner Explorer, gulpfile.js is failing to load, and in the output window I'm seeing gulp.task('CI-html', () => { ^ SyntaxError: Unexpected token ) If I comment ...
1
vote
1answer
32 views

Install-SitecoreConfiguration : One or more errors returned from Solr request

I have cloned following Habitat project on my local environment: https://github.com/Sitecore/Habitat/ And here is the link stating that solr 7.2.1 is supported https://github.com/Sitecore/Habitat/...
1
vote
1answer
1k views

Could not find configuration node: databases/database[@id='core']

Im new to Sitecore and I'm trying to get create a new instance for a existing solution. I think I have it almost built but I'm running into a issue when I use the default route of "/sitecore". Im ...
1
vote
1answer
36 views

Base Controller in Habitat

We are using habitat in our project. In most of our controller class of each feature, we are doing a same service call. So we are planning to have a Base Controller to avoid duplicates. Since we ...
1
vote
1answer
488 views

Unable to Update Data Templates in Sitecore Commerce 9

I just installed a fresh instance of Sitecore Commerce 9.0 Update 1 and then start to play with Habitat Home (content and commerce). After installing all stuff when I go to the Content Editor under ...
1
vote
1answer
99 views

Is Habitat Implementation using ReactJs, for all (3) Sitecore Headless Modes available?

Is there any reference implementation available from Sitecore or 3rd Party for Sitecore Headless Mode (API Mode, Integrated Mode, SSR Mode) & React Js. I am expecting a sample project like ...
1
vote
1answer
325 views

DOT NET framework version in Habitat 1.7 for Sitecore 9.1

I installed Habitat 1.7 for Sitecore 9.1. Whenever I open web.config file of any module, its showing DOT NET framework as <system.web> <compilation debug="true" targetFramework="4.6.2" /...
1
vote
1answer
169 views

Habitat Login Process

Looking at the way the Habitat site logs users in has got me thinking. It seems overly complex to me. I presume I'm missing some important concept, but what? The feature accounts controller calls ...
1
vote
1answer
208 views

Catalog Management is empty after HabitatHome Commerce Setup

I do no see the Catalog Management(sitecore > Commerce > Catalog Management) showing up any data. This is after done with the setup of Habitat Home commerce on Sitecore commerce 9 update 2. All the ...
1
vote
0answers
51 views

What does mean of “You have not been profiled yet”? How to list user into any profile?

How we can assign one profile/pattern to logged-in/non loggedin user of sitecore As I understood , if we set the Profile card on any Sitecore page and then use personalization by pattern card and ...
1
vote
2answers
378 views

Issue with habitat.commerceengin.dev.local:5000/Api [closed]

Hi I'm working on a POC using Sitecore Retail demo. Yesterday I imported all the images for every product, and now this error is showing on every page. Any idea? 4464 19:58:16 ERROR Application error....
1
vote
0answers
72 views

Publish performance for Habitat VS 2017 and VS 2015

We are two developers working together on a Sitecore project, based on Habitat. I'm using VS 2017, while my colleague is using VS 2015. Our computers are roughly the same, with mine having more memory ...
1
vote
1answer
166 views

Sitecore Habitat Demo Repsitory [closed]

I have cloned Sitecore Demo repository from github. I have also cloned Sitecore Habitat repository with TDS from here. I have followed the steps mentioned for habitat and able to deploy solution ...
0
votes
1answer
169 views

Sitecore Habitat Performance

We are about to push a site to live developed using habitat. There are chances that more localization and multi-sites would be developed in future. But some of the default habitat feature will not ...
0
votes
1answer
598 views

Site definition for multi-site in Sitecore habitat

Currently we have a one Sitecore instance on Sitecore 8.1 with 9 sites hosted using habitat framework. The site definitions are mentioned as follows: site name="Site1" loginPage="/home" requireLogin=...