Questions tagged [helix]

Question regarding Helix: a set of overall design principles and conventions for Sitecore development on helix.sitecore.net

Filter by
Sorted by
Tagged with
6 votes
4 answers
338 views

Content search related to feature

I am working on Helix based project. I've already implemented Foundation.Indexing project and also I've implemented news search and blog search based on Foundation.Indexing. Now I am working on site ...
0 votes
0 answers
32 views

Generic interface in foundation, implementation in Feature - does this break Helix principles?

If I had a foundation project which needed to call multiple features and I achieved this by creating a generic interface that was implemented in those features would this break Helix principles? Only ...
1 vote
1 answer
457 views

Custom regex validator on display name field with helix in mind and unicorn sync

I want to use the display name to generate my URLs. That works so far, but I need to be sure, that the names have no vowels in it and so on. So I want to create a custom regex Validation rule that I ...
0 votes
1 answer
101 views

An invalid request was sent to the Sitecore layout service

I have a Sitecore 10.3 XP installation and a Visual Studio solution with Helix, where we are implementing components. My local Sitecore CM installation is running perfectly fine. However, when I am ...
0 votes
0 answers
43 views

Not able to debug Sitecore solution from Visual Studio [duplicate]

Our Sitecore solution is on Helix architecture and JSS. Published Foundation, Feature, Project dlls and referenced dlls also. I'm trying to debug one rendering content resolver but the breakpoint is ...
1 vote
1 answer
72 views

Leprechaun custom field mapping not working, always outputs field type as string

I'm using Leprechaun for code generation and the custom field mapping I'm trying to implement isn't working. The field is generated as type String in every case, so I know the custom mapping is ...
0 votes
2 answers
164 views

How to architect a Helix solution where features are interdependent [closed]

This is regarding how to plan (or anticipate) and architect the code with Helix, where I'm unaware of the project roadmap. I'm working on a project which has two projects - Feature.Accounts and ...
1 vote
2 answers
100 views

Accessing data from two different features in Sitecore Helix

I'm currently working on a Sitecore 10 project using Helix. We currently trying to implement Helix as closely as possible. We have two feature modules, Consultants and Hospitals. Consultants can work ...
1 vote
1 answer
80 views

Sitecore: Foundation Project - Views Folder is not getting deployed during solution rebuild

During local solution rebuild or in Dev/QA deployments, one of my Foundation project's Views folder is not getting deployed to the webroot. Note: All the views folder from all the feature projects ...
0 votes
1 answer
161 views

Visual Studio Project purpose & templates for ASP.NET Rendering SDK application

This is how the Helix example is structured and I'm trying to understand it. The *.rendering in the Project layer looks like an ASP.NET Core template but the *.rendering projects in the Feature layer ...
0 votes
1 answer
99 views

How to create containers for Helix example

I'm trying to setup the code solution & the Sitecore instance in docker for a helix example, following this article. https://github.com/Sitecore/Helix.Examples/tree/master/examples/helix-basic-...
8 votes
4 answers
14k 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 ...
0 votes
1 answer
123 views

Sitecore Helix .Net Core example publishing/build errors

When making any edits to the cshtml files. I get a bad gateway error on CD and on CM I get a The operation has timed out error. So far the only way to get the sites working again, is doing a docker-...
0 votes
1 answer
72 views

Sitecore Helix .Net Core example CSS not showing up in CM

I am hoping someone has encountered this before. I am working with this helix example - https://github.com/Sitecore/Helix.Examples/blob/master/examples/helix-basic-aspnetcore/README.md and I have a ...
0 votes
0 answers
152 views

Sitecore Helix Template(Anders Laub) Azure DevOps Pipeline builds not bringing Views from Feature projects

I have a Sitecore 9.3 installation on a VM and have Visual Studio Code on the host machine. When we build, then code gets pushed from host to VM IIS. This works fine on local to VM. I have a pipeline ...
0 votes
1 answer
64 views

Seeking Wisdom on Automated Integration Testing Through all Environments, from Local Dev to Production

I want to run tests in all of My Environments, that are not unit tests but Integration tests to confirm Well in this case that Security is setup correctly on all items and that the users we in Roles ...
0 votes
0 answers
179 views

How to store/output dlls of a separately created project in Sitecore Helix compliant solution?

I am using Sitecore 8.1 update 3. Due to conflicts between different versions of the same dependent assembly , I want to create a separate project in same Sitecore Helix compliant solution. I am ...
0 votes
0 answers
45 views

Helix Sample ASPCore using Docker

I tried to run the Helix Sample for ASPCore using docker but I get an error that says MsBuild timeout out while trying to get project to project references. The command 'powershell -Command $...
2 votes
1 answer
517 views

Is there a way to develop on Sitecore 10 using ASP.NET Core without Docker

All the Helix.Examples use docker containers. Can I develop Dot Net Core based solution without using docker for Sitecore 10?
0 votes
1 answer
205 views

Could not load type 'Sitecore.HealthCheck.DependencyInjection.HealthChecksBuilder'

I have 1 solution for Sitecore 9.3 with 4 projects (ASP .Net 4.7.1 MVC) using the Helix principles. I added references Sitecore.Kernel.NoReferences (9.0.180604), Sitecore.MVC.NoReferences (9.0.180604) ...
7 votes
4 answers
2k views

Habitat / Helix - Is it OK to have dependencies between Foundation level modules

Looking through the Habitat solution, I noticed that the Sitecore.Foundation.Theming module references the Sitecore.Foundation.SitecoreExtensions module. I thought modules were meant only to reference ...
0 votes
1 answer
155 views

How to organize Rest api consuming project following helix principles

I am building a sample asp.net application for learning purposes which should follow helix principles. The aplication is going to consume restful api results (searching car models). I have already ...
3 votes
1 answer
88 views

Helix principles when using different page templates

While working on various Helix project implementations, I heard different opinions on how to deal with different page types in a Feature. I have these two examples: Let's say that we have the ...
2 votes
1 answer
102 views

Following Helix Principles, which Project to place tile and icon fields in a multi site configuration?

I'm very new to Helix Principles. I'm having a multisite configured Helix Project Setup having all the layers defined. I have currently placed all the Site Icon fields, Title, Analytics fields inside ...
1 vote
0 answers
155 views

Next.js Sample Site Installation Failed

I am trying to install Next.js Helix Example site: Everything looks good until items are serialized: Successfully built ec6606563cd4 Successfully tagged basic-company-nextjs-rendering:latest Starting ...
-2 votes
1 answer
46 views

Adding Edit frames while following Helix Guidelines

I want to create a TDS package to include the edit frames related to my components and I want to make sure that I am following the helix guidelines. The edit frames are added in the core database but ...
1 vote
0 answers
58 views

How to build Sitecore Application with Visual Studio 2017 with MVC pattern OR HELIX methodology? [closed]

As i am new to sitecore and though i have basic understanding on how to create site through sitecore's content editor and using CMS. Now, i want to create a web application/website using Visual ...
1 vote
1 answer
628 views

Patching a custom patch config file to change the order

I am trying to patch a file (already a patch) so that it can be loaded after that, but the patching is not working. Below is the scenario: Create a patch config file for loading the DI configurator ...
1 vote
0 answers
192 views

How do I configure Leprechaun field/type mapping at a feature level?

I've added the below configuration to a CodeGen.config file at the Feature level. The code is generated and put into the feature Template.cs file, but the mapping I've added isn't picked up. If I add ...
1 vote
1 answer
300 views

Helix Assembly Hell

How have others solved the problem of assembly hell in Helix? I am facing this issue in a current client and looking to for ideas on how to solve it. I have my own ideas but would like to hear other ...
21 votes
1 answer
2k views

Sitecore Helix/Habitat and Visual Studio structure

The general trend these days is to limit the number of projects in a visual studio solution: The two project solution Project antipattern Multiple projects considered harmful Evolutionary project ...
-2 votes
1 answer
233 views

What could be the best way to make one site’s code independent of other while using sitecore multisite with helix code architecture?

We have three sites which were initially developed using sitecore (version 9.0.2) multisite with helix and sites are running live. We have these three sites and two domains so our final urls for three ...
1 vote
0 answers
103 views

Nuget package to publish Helix config files

OK, I'm probably getting my methodologies mixed up here! We have a central library solution of code which is shared across Sitecore sites ... Inside of this, we have a Foundation project containing ...
2 votes
1 answer
1k views

Publishing/Deploying with Helix Publishing Pipeline

I need to implement a publishing step in a TFS Build deployment process to generate the Build artifacts. We are using Gulp for our local build/publishing process, but want to try and use HPP for TFS ...
5 votes
2 answers
612 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' ...
-1 votes
1 answer
129 views

Can we deploy helix structure on azure appservice without using teamcity

My team is deploying Sitecore 9.0.2 application to azure appservice for the first time since we got the project. So while reading the ways to deploy the helix website we found that we will need to ...
0 votes
0 answers
209 views

Sharing Sitecore content as a NuGet package

Background In our Sitecore 9 solution, we follow Helix principles, when structuring our code and we wish to create NuGet packages that can be re-used across multiple projects. The NuGet packages ...
0 votes
1 answer
152 views

Creating a custom Sitecore NuGet package containing Unicorn files

Background We have a Sitecore 9.1.1 project following Helix principles and wish to create Nuget packages from some of the custom layer projects (e.g. Customer.Foundation.Dictionary, Customer....
0 votes
1 answer
67 views

Which layer do I place my TDS codegen in?

I have a old 8.x solution that I am upgrading to version 9.1 and also converting from a non helix methodology to a helix methodology (unraveling the spaghetti code has been a huge challenge and it ...
2 votes
1 answer
213 views

In which project should we override item:publish event

I am very new to helix principles. I have created the project structure following sample habitat project. My requirement is to call an external api when any item ( of a specific template) is ...
1 vote
1 answer
217 views

How to structure a helix based component requiring two individual features as datasource?

Scenario: There is an existing Listing component which displays the selected list of "article items". Change Request: Client now wants that the "News item" or other pages should be selectable as ...
5 votes
3 answers
8k views

When using Gulp to build a Helix based solution, what does "MSBuild failed with code 1" mean?

I bought the Professional Sitecore 8 Development book and I am following the Sitecore Helix architecture approach. And following the examples in the book and online I am using Gulp in the Task Runner ...
2 votes
1 answer
953 views

Can we use helix principle into JSS application?

We can apply Helix principles for back-end(C# MVC) application for modular architecture. Can we use Helix principles for JSS application? Is it recommended to use Helix for front-end application(JSS)...
2 votes
1 answer
364 views

JSS sitecore multiple projects under same solution

Hi i am following Helix principle in JSS sitecore first approach. I am new to react. I need to have a multiple projects under same solution setup. Here my solution sample. SafariZoo is my project ...
2 votes
1 answer
556 views

Patching custom database EF database first connection String in sitecore

We are using Sitecore 9.0.x on Azure PaaS We need to create a custom database for some of our application flows, we intend to use Entity Framework Database first with API controllers for our CRUD ...
2 votes
1 answer
66 views

TDS classic 5.7 'Sync all projects with Sitecore' feature warning

I have upgraded TDS version from 5.5 to 5.7 for the tedious procedure of manual project sync. But when i do 'Sync all projects with Sitecore' I got the following warning Is there any restriction of ...
4 votes
1 answer
772 views

Automatically create data source's for controls when user adds page from experience editor

Hello I'm trying to override the AddFromTemplate pipeline to manually create datasources for the components inside the template that i'm using. What I would like to accomplish When a user clicks the ...
3 votes
4 answers
1k views

Sitecore helix pattern and where to place your business logic

I've a new sitecore helix Solution and currently I am a bit unsure where I can place my business logic? currently I think I need to extract the business logic into some external services is that the "...
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 ...
1 vote
1 answer
1k views

Upgrade Helix 8.2 Update 5 to Sitecore 9.0.1 - Unable to load one or more of the requested types [closed]

I am in the process of trying to upgrade a Helix based 8.2 update 5 project to Sitecore 9.0.1. I have updated all projects to .NET 4.7 and have removed all Sitecore 8.2 DLLs that have no update to 9 ...