Skip to main content

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
0 votes
1 answer
1k 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=...
PVM's user avatar
  • 973
2 votes
2 answers
4k 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. ...
user3928256's user avatar
0 votes
2 answers
669 views

Custom Error page in Habitat [duplicate]

We have a habitat application with multi-site. If any error occurred, it has to redirect to error page item of specific site. We were planning to implement by https://community.sitecore.net/...
PVM's user avatar
  • 973
7 votes
3 answers
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 ...
Steve Ward's user avatar
3 votes
1 answer
670 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?
PVM's user avatar
  • 973
18 votes
1 answer
697 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: $...
Fred's user avatar
  • 281
1 vote
2 answers
410 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....
Vincent Bernard's user avatar
0 votes
1 answer
4k views

How to fix msbuild path detection from Enterprise to Community edition

I'm facing issue running gulp successfully for installing Habitat with VS2017 Community edition. I've checked the Node version, msbuild version and all is fine. But when I run gulp it automatically ...
Paritosh Tripathi's user avatar
4 votes
1 answer
1k 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-...
Kim's user avatar
  • 123
2 votes
0 answers
79 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 ...
Yiangos's user avatar
  • 21
2 votes
1 answer
53 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 ...
PVM's user avatar
  • 973
0 votes
4 answers
2k views

Sitecore Habitat Installation issue

I tried to install Habitat and followed all the instructions mentioned at: https://github.com/Sitecore/Habitat/wiki/01-Getting-Started When I run the default task as mentioned in step 5 of wiki, I ...
Nicks's user avatar
  • 31
5 votes
2 answers
392 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 ...
Harsh Baid's user avatar
  • 2,172
1 vote
1 answer
239 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 ...
stuartw87's user avatar
  • 113
3 votes
2 answers
549 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 ...
Blue Clouds's user avatar
6 votes
1 answer
746 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 ...
peaks's user avatar
  • 537
3 votes
1 answer
2k 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 ...
PVM's user avatar
  • 973
1 vote
1 answer
195 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 ...
Mohit Dharmadhikari's user avatar
0 votes
1 answer
178 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 ...
PVM's user avatar
  • 973
2 votes
1 answer
81 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....
peaks's user avatar
  • 537
9 votes
1 answer
2k 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 ...
Jay's user avatar
  • 305
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
893 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. (...
Teeknow's user avatar
  • 2,477
3 votes
1 answer
337 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 ...
Jeeby's user avatar
  • 251
4 votes
6 answers
12k 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/...
Selwyn's user avatar
  • 141
0 votes
1 answer
2k views

Habitat Install Issue - System.InvalidOperationException: contextDatabase [closed]

Another issue with Habitat install... getting this error when trying to log into Sitecore (after entering credentials). No idea what it's about, any clues? contextDatabase Description: An ...
Jeeby's user avatar
  • 251
5 votes
3 answers
4k 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. ...
Jeeby's user avatar
  • 251
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
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
14 votes
1 answer
733 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 ...
clickatwill's user avatar
18 votes
2 answers
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 ...
jaggedaz's user avatar
  • 191

1
2