Skip to main content

Questions tagged [best-practices]

Questions about community-accepted best practices. Indicates that the question seeks guidance on Sitecore best practices. These questions have somewhat more latitude to be "broad" than normal questions.

Filter by
Sorted by
Tagged with
1 vote
0 answers
44 views

How to patch javascript code in SXA SearchTheme

I am using Sitecore XP 10.2 with SXA. I encountered an issue in sxa search checklist filter. I have a facet that contains the '&' character and this is breaking the filtering of results. This ...
user3564042's user avatar
7 votes
2 answers
935 views

How should security be handled for XM Cloud/Headless with Experience Edge?

In the Sitecore documentation for Experience Edge (used by XM Cloud), it states: Experience Edge for XM does not enforce security constraints on Sitecore content. You must apply publishing ...
Richard Seal's user avatar
  • 20.8k
0 votes
1 answer
102 views

Has the Sitecore Hotfix 379282 been fixed in later versions of Sitecore (coming from 9.3)

We have Sitecore Hotfix 379282 installed in our 9.3 Sitecore environment (it has two nuget packages, Sitecore.Client.Hotfix.379282 and Sitecore.ContentSearch.Hotfix.379282). We're in the process of ...
Dan Sinclair's user avatar
  • 5,465
2 votes
1 answer
269 views

How to configure Telerik controls in a secure way for Sitecore?

I'm tuning my Sitecore setup: review configs and settings, analyse use of external services and assess security gaps. And found that Telerik controls are enabled on CD instances but not sure how they ...
Anna Bastron's user avatar
  • 2,053
8 votes
2 answers
790 views

How should a sitecore hotfix be applied to a Sitecore Docker image?

Assume the hotfix contains both files and items. If the hotfix is installed via the Sitecore shell, it works as expected until the next build where some or all of the dlls are replaced with the the ...
Paul George's user avatar
1 vote
1 answer
440 views

Sitecore optimization for local development

We have big Sitecore solution that is taking long time to load. We need to optimize the code obviously. But from pure Sitecore configuration point of view, what we can adjust for local development ? ...
gringo_dave's user avatar
0 votes
3 answers
366 views

Should ConnectionStrings.config be in source control/VS?

Or alternatively should ConnectionStrings.config just be left up to the server environment and never part of your VS publish?
Don Cheadle's user avatar
1 vote
2 answers
336 views

Best practices - Sitecore website in Prod - local or remote Sitecore databases?

Judging by how SIM works, and how pervasive SIM is... I assume the most common practice for QA and Prod, is the Database is local/on the same machine as the website. Is this indeed the suggested/...
Don Cheadle's user avatar
0 votes
2 answers
878 views

Prevent language code in URL

We have a Sitecore 9.1.1 site with SXA 1.8.1. We're getting duplicate results in analytics because the urls will appear there with and without the \en part. We only have 1 language in the site. I ...
Jen's user avatar
  • 1,403
3 votes
1 answer
264 views

Accessing Page Rendering Datasources in workflow action

Using Sitecore 9.1, SXA 1.8.1. I have a page with a link list clone. When I delete a link from that list and then publish via workflow the deletion is not propogated properly through to the web ...
Jen's user avatar
  • 1,403
9 votes
5 answers
2k views

How to manage Sitecore Hotfixes

While building solutions bases on Sitecore I have to deal also with Sitecore hotfixes. For my current project I already have about 20 different hotfixes. They override default Sitecore files in most ...
i123fr3's user avatar
  • 372
0 votes
3 answers
355 views

Does SXA provide a plain text rendering for a snippet?

I have a snippet where I am using an accordion and want a plain text field above the accordion to be able allow them to set a title (with set formatting). I am only finding the Rich Text option - ...
Jen's user avatar
  • 1,403
2 votes
1 answer
581 views

Where to store data in Sitecore?

I am learning Sitecore and I would like to know best practices on where should I store user specific data For example: I am implementing "TODO List" website. Where should I store "Task" models? ...
Sitecore Minsk's user avatar
1 vote
1 answer
656 views

Display list of items with a dynamic query set by content editors

I would like to have a listing module where content editor could select from a list of article types (custom field on a custom template). The list should then query all articles for the selected ...
Jen's user avatar
  • 1,403
6 votes
1 answer
448 views

Can you use Azure DevOps with Sitecore Managed Cloud

When implementing Sitecore Managed Cloud, what deployment or technical considerations need to be thought about? As an example: in modern deployments, using Azure DevOps is a viable deployment ...
Pete Navarra's user avatar
  • 14.7k
1 vote
0 answers
710 views

Best practice for adding a div with class around a couple of renderings [closed]

In SXA 1.8 how do I implement having a div with classes and aria labelling around two components (eg. a link list and search box). eg. I want: <div id="menu" class="header-content menu-...
Jen's user avatar
  • 1,403
0 votes
0 answers
145 views

Can I add out of the box renderings to custom component

If I had specific html structure that I needed for a header for mobile responsiveness but inside it seemed appropriate to use the out of the box renderings such as image, linked list, search, link, ...
Jen's user avatar
  • 1,403
1 vote
2 answers
385 views

Is creating a Model under /sitecore/layout/Models a best pratice?

I was wondering if there was something more modern than having to create a Model item under /sitecore/layout/Models for every view rendering I have. If I'm informing the view the namespace and type I ...
Hugo Santos's user avatar
  • 2,311
15 votes
2 answers
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 ...
Michael West's user avatar
  • 18.6k
2 votes
1 answer
555 views

Recommended Server specs for multi developer VM - Sitecore 9 development

Our company have a team (14 developers) working in a Sitecore based solution. Currently for every dev we have i7 16gb ram 500gb SSD installation in each dev machine. But now we want to move to a ...
Md Nazmoon Noor's user avatar
3 votes
5 answers
2k views

Same Solr Service for multiple Sitecore instances

Can I use same Solr service to install or use for different vanilla Sitecore 9.0.2 instances? What is the best practice?
Pratik Wasnik's user avatar
4 votes
1 answer
142 views

Reversed Insert Options

Has anyone implemented a feature like Reversed Insert Options? Meaning a template should know where it should be added as an Insert Option rather than what it can add?
alinulms's user avatar
  • 143
3 votes
1 answer
731 views

What is the best way to create seed dynamically for Dynamic placeholder in Sitecore 9

I am creating a Materialize-UI based Grid (CMS authorable) to reduce no of fixed/static layouts in the application. CMS side - I've created Row & Column templates, One grid rendering & ...
Kuldeep Sharma's user avatar
1 vote
0 answers
933 views

Sitecore 9 httpBeginRequest pipeline reuse?

In my content delivery instance I have user information that is used in multiple componentized view renderings, which is sourced from REST services (some of this I want to pre-fill, some will be done ...
Watson's user avatar
  • 207
4 votes
1 answer
412 views

Unintentional parallel minions

If the workload of a minion takes longer time than it's WakeupInterval, in order to avoid getting a second copy of the same minion processing the same list, is there a way to know if there is a ...
Thomas Wegebrand's user avatar
1 vote
1 answer
704 views

Custom component in SXA hidden in toolbox

I am having issue adding new custom feature to page in SXA. Steps I followed: Created custom area for toolbox by adding feature in system->settings->features->custom features. Next, I cloned ...
Discovery's user avatar
  • 293
1 vote
1 answer
1k views

How to pass values from the rendering parameters in custom sxa rendeing variants component

I'm creating a custom component in sxa with rendering variants. I had a look at many examples where most of them are using the field name that's available in the page item. <div @Html.Sxa()....
arjunan's user avatar
  • 408
1 vote
0 answers
340 views

When to use a component from SXA library vs component customization?

I am new to SXA and am looking for guidelines and best practices on when to use "SXA components" and when use "custom components". Based on my understanding at this point in time, I think that we ...
S Keshav's user avatar
4 votes
1 answer
763 views

How to use rendering variants as reusable component?

I am looking to create reusable container section with promo rendering variants. This section should include multiple variant rendering. For example, a section with partners logo which I can reuse ...
Discovery's user avatar
  • 293
7 votes
2 answers
2k views

What are the available methods for local development when using Azure Search in a PAAS setup?

Utilizing Azure Search as the Sitecore search provider has various pro's and con's. One question that immediately comes up is how to develop against Azure Search. SOLR and Lucene can be run locally ...
jrap's user avatar
  • 4,991
6 votes
3 answers
455 views

SXA custom css priority level

How do I set the priority of css files so when it optimized all css files, custom css file gets higher priority?
Discovery's user avatar
  • 293
1 vote
1 answer
501 views

Custom features with custom rendering section in Sitecore SxA Toolbox [duplicate]

What is the best practice to create a custom toolbox section in SXA? I am looking to reuse promo rendering under this custom components section. Is this something which can be achieved without ...
Discovery's user avatar
  • 293
2 votes
2 answers
1k views

Hide page from navigation in SXA

How to hide page created under 'Home' node, so that it doesn't appear in the navigation menu in SXA? For example, page like search result or error doesn't need to be included in navigation menu. ...
Discovery's user avatar
  • 293
1 vote
1 answer
401 views

Sitecore SxA Sites - Best Practices [closed]

Are there any Sitecore demos or other sites built using Sitecore SxA, keeping best practices in mind? Any information would be help.
Discovery's user avatar
  • 293
1 vote
0 answers
451 views

How do we transfer a Sitecore/ASP.NET session between domains on the same delivery cluster?

A bit about our setup. We have 3 Sitecore 8.2U5 Content Delivery Servers across one Analytics node. We have SSO through a 3rd party provider (PING), a main site, and some portal sites. The portal ...
Pete Navarra's user avatar
  • 14.7k
4 votes
1 answer
251 views

Sitecore's Publishing setting vs. a Custom field

I'm using Sitecore 8.2 - update 2. Scenario: I like to list all of the articles sorted by a Publish Date. Which is the best practice/approach? Sitecore's Publishing Setting: Use Sitecore's OOTB ...
Ali Khakpouri's user avatar
2 votes
2 answers
839 views

Setting up dynamic content

I have a list of "modules" that I want to load depending on what template the current item is based on. This selection needs to be overridable. So I created a module loader component that has a ...
Kevin's user avatar
  • 951
16 votes
6 answers
2k views

Are there any reasons to start a new Sitecore project today, using Webforms?

Should I stick with Webforms? I currently work for a Digital Agency and I have been tasked with building a new website for one of our clients based on Sitecore. I have a couple of years of experience ...
Mark Cassidy's user avatar
  • 25.4k
8 votes
1 answer
1k views

Updating Presentation details and Template Inheritance (Rendering Inheritance)

I am using the Sitecore 8.2 I have a template T1 which has rendering R1 set on its Standard Values (set a long time ago, maybe at the age of Sitecore 7 or earlier). There is a set of templates T2, ...
Andrey Bobrov's user avatar
5 votes
2 answers
3k views

How to get the path to the temp folder

I need to create a temporary file. I'd like to save it in the temp folder, but I'm not sure what's the best way of getting the full path of this folder. If I use Sitecore.Configuration.Settings....
Vicent Galiana's user avatar
6 votes
1 answer
572 views

Is there a way to deploy assembly bindings out using the gulpfile

We are setting up a new Helix based system, and are looking at making the development process as easy as possibly from a devOps point of view, I seem to have a disconnect however in assembly versions ...
Henry Tait's user avatar
1 vote
1 answer
633 views

What is best way to create a localized site?

We had started the sitecore development in the Version 8.1 update 3 using Habitat. There are plan to have localization more localization in feature. In this what will be the best option for creating ...
PVM's user avatar
  • 973
6 votes
3 answers
2k views

Best Practice around <applicationInitialization> for Sitecore WebApps

Is there any best practice or recommendation around applicationIntialization? Should we use this? What is the best way to warm up or improve start up time of CMS and CD website after swap deployment ...
Santosh Poojari's user avatar
0 votes
2 answers
919 views

Dynamic rendering of sublayouts

I have a dropdown list which contains: product a product b product c If I have chosen "product a" it should render the corresponding sublayout for product a Current code: I have item called ...
keerthi's user avatar
  • 31
8 votes
3 answers
2k views

What's an efficient Frontend development process / workflow for Sitecore?

Does anyone have a Frontend development/prototyping process/workflow that has proven to be effective and efficient? I have multiple sites running on Sitecore. We are also MVC based. As a Frontend ...
Cienwen's user avatar
  • 81
3 votes
4 answers
988 views

Running asynchronous tasks to update user profile

I am looking for the best way to synchronize profile data from an external system. We authenticate users using an external authentication service. We use the Sitecore virtual user mechanism to log ...
Joost Hollander's user avatar
2 votes
2 answers
2k views

What is the recommended approach for storing custom data within Sitecore?

Our Sitecore project needs to store some custom data (results from a user poll). Is there some sort of a built-in functionality for storing that data on Sitecore sites? The obvious solution is to ...
user avatar
3 votes
3 answers
4k views

Is there an API for item creation?

We're in the process of integrating with a product management tool to automate the process of item/product creation within our system. I know that Sitecore has the ability to pass back the objects ...
Jon's user avatar
  • 133
0 votes
1 answer
263 views

Loading specific stylesheets and css (bundling) depending on included controls? [duplicate]

I'm new in Sitecore and I need to know how to manage the styling and javascript files for the controls. I have a control that can be many times on the website, so if I place the bundle on the cshtml ...
Phoenix_uy's user avatar
3 votes
2 answers
2k views

Why we should keep all user profile data in Sitecore?

I had a good debate with friends at work to decide where we should keep user profile and why? As the discussion goes on we had these key points below which I feel our competency is up to only a ...
Atit J's user avatar
  • 121