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
13 votes
2 answers
2k views

Sorting Pages by most views

I have a requirement in our 8.1 update 2 solution to provide a sorting mechanism for pages based on the number of views. This data lives in the analytics database and I'm looking for a way to retrieve ...
BillCacy's user avatar
  • 383
12 votes
1 answer
2k views

Setting up multiple CM servers

We are setting up multiple Sitecore CM servers. Do we need to do anything more then what is covered in this documentation for setting up CMs. The documentation covers just giving each instance of CM a ...
Owen Niblock's user avatar
  • 1,512
6 votes
2 answers
2k views

Does SXA support page specific content with Partial Design?

When I build my page in SXA I use components like Rich Text to implement page elements. Content I entered is stored in component data-source on page level. This is exactly what typical content author ...
Dmitry Harnitski's user avatar
47 votes
11 answers
2k views

What are some appropriate uses for Sitecore Data Providers?

Data Providers are difficult to develop, given the performance and data mapping challenges they can present. But they are powerful when done correctly: Allowing real-time integration with external ...
nickwesselman's user avatar
24 votes
4 answers
1k views

When should I define a new publish target?

This is a follow up to Should I configure multiple publish targets to publish to multiple environments? In that question, I asked if I should define publish targets to publish between environments. ...
Kyle Trauberman's user avatar
16 votes
1 answer
2k views

Creating new renderings that are compatible with SXA

I've been playing with SXA and some of the out of the box renderings and rendering variants that come with it. I understand how to create my own rendering variants, and I understand how to create my ...
Derek C's user avatar
  • 783
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
43 votes
9 answers
2k views

What's the best migration strategy for 6.5 to 8.2?

In a few weeks, I'll start a migration project of a Sitecore 6.5 site to an 8.2 site. At that time the Express Migration Tool will only support 7.2 to 8.2, so the rest will be a manual process. I ...
Ruben Verschueren's user avatar
24 votes
6 answers
2k views

"Unpublishing" a Language from a site

There are currently five languages defined in a v7.2 site: en, en-GB, fr-FR, de-DE, en-AU, and zh-CN. Marketing has decided they no longer want to translate to fr-FR and would like to remove it from ...
Derek Dysart's user avatar
  • 2,519
17 votes
2 answers
825 views

What are options for archiving xDB data?

I've ran into a number of different scenarios lately around xDB and data retention and archiving. What is the best practice for archiving data in xDB in general? For example, is there a best practice ...
sestocker's user avatar
  • 1,697
17 votes
3 answers
1k views

Where should I store data source items?

I've seen two schools of thought on structuring the content tree as it relates to datasource items: Store datasource items in a folder underneath the context item Store data source items in a folder ...
Derek Dysart's user avatar
  • 2,519
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
14 votes
1 answer
2k views

How to create a custom theme in SXA?

SXA is coming with two predefined themes - Basic and Wireframe. They are stored in /sitecore/media library/Themes media folder and cannot be modified in Creative Exchange. What is the best way to ...
Dmitry Harnitski's user avatar
13 votes
3 answers
4k views

What is the difference between IsExperienceEditor and IsExperienceEditorEditing

What is the difference between Sitecore.Context.PageMode.IsExperienceEditor and Sitecore.Context.PageMode.IsExperienceEditorEditing? I've always used Sitecore.Context.PageMode.IsExperienceEditor in my ...
Corey Smith's user avatar
  • 2,728
13 votes
3 answers
3k views

When to store content on the Context Item vs. a Rendering's Datasource Item

This is a best practices question. When designing the templates and content tree for a Sitecore installation, what determines whether a given field should be part of the "Page's" fields vs stored on ...
sitecorerick's user avatar
  • 2,329
10 votes
2 answers
3k views

Options for handling user-generated content

This is pretty much a duplicate from Alex's question on stack overflow, but I was wondering if there had been any developments in the 6 years since that question was asked... We have a need to store ...
LonghornTaco's user avatar
  • 2,536
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
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
7 votes
2 answers
1k views

Template standard values final layout

Which purposes can be reached by using final layout in template standard values? What are advantages and disadvantages to use final layout in template standard values?
Vlad's user avatar
  • 1,420
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
5 votes
1 answer
1k views

Most reliable way to detect if running in live site?

Normally we do things like Sitecore.Context.PageMode.IsExperienceEditorEditing to detect if the experience editor is running. I want to do something similar, but detect if the live site is running ...
jdylanmc's user avatar
  • 1,492
5 votes
1 answer
754 views

Should I configure multiple publish targets to publish to multiple environments?

We have several environments: Our production / live site. Our staging / QA site. Our development site. Local developer's machines. I know sitecore supports several ways to publish, including ...
Kyle Trauberman'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
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