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
9
votes
2answers
2k 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 ...
24
votes
4answers
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. ...
15
votes
1answer
1k 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 ...
13
votes
2answers
1k 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 ...
12
votes
1answer
1k 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 ...
7
votes
1answer
979 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, ...
6
votes
2answers
822 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 ...
46
votes
11answers
1k 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 ...
12
votes
3answers
2k 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 ...
41
votes
9answers
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 ...
17
votes
3answers
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 ...
16
votes
6answers
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 ...
13
votes
1answer
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 ...
7
votes
2answers
1k 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 ...
4
votes
1answer
533 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 ...
17
votes
2answers
630 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 ...
12
votes
3answers
2k 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 ...
23
votes
6answers
967 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 ...
7
votes
2answers
914 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?
5
votes
1answer
596 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 ...
3
votes
3answers
3k 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 ...
3
votes
1answer
486 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 ...