All Questions
12,036
questions
70
votes
7
answers
46k
views
How do you setup a 404 and 500 error page for missing files and media items?
When navigating to a url such as www.website.com/missing.pdf and www.website.com/-/media/missing.pdf you will either receive the IIS 404 Server Error message or a Sitecore document not found page.
...
50
votes
3
answers
5k
views
Sitecore, personal data and General Data Protection Regulation (GDPR)
Across Europe new privacy legislation has been introduced; GDPR.
In a nutshell it says that the following are the responsibility of not only the customer but also the supplier:
Seeking consent from ...
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 ...
46
votes
1
answer
4k
views
How can I connect with the Sitecore Community?
I'm looking to get more involved in the Sitecore community. I'm interested in any local, regional or global Sitecore User Groups, events, online resources, anywhere where the community is active and ...
45
votes
5
answers
32k
views
Is there a way to reset Sitecore admin password from database level?
I forgot my Sitecore admin password and was thinking a way to reset from database level.
Is there a SQL query to reset Sitecore admin password ?
42
votes
5
answers
4k
views
How can I programmatically add a rendering to all of my content items?
I need to add a rendering to all of the pages in my Sitecore tree (i.e., items that have renderings, have a layout set, and live under /sitecore/Content). Content items that don't have renderings or a ...
41
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 ...
41
votes
3
answers
4k
views
How to become a Sitecore MVP?
The Sitecore MVP program is mentioned everywhere. What factors do Sitecore consider for MVPs, and how would I go about working to become one myself? And what is the process?
40
votes
3
answers
2k
views
What should I expect in the MVP nomination or first-time application process?
There has been a considerable amount of traffic on Sitecore Slack Chat, Sitecore Stack Exchange, and even Twitter as to what should people experience when submitting applications or nominations for ...
39
votes
5
answers
6k
views
Best approach for Dependency Injection in Sitecore 8.2
I see a fair few approaches in blog posts for using DI with 8.2, particularly around the registration. Is there an approach which would be recommended - particularly with a Helix compatible ...
36
votes
6
answers
9k
views
What is the purpose of keepalive.aspx?
I know that this the page is called every 15 minutes (by default) by a scheduled task.
<agent type="Sitecore.Tasks.UrlAgent" method="Run" interval="00:15:00">
<param desc="url">/service/...
36
votes
2
answers
6k
views
What are the differences between TDS Classic and Unicorn?
Disclaimer: I'm not looking for an opinion on which is better. My assumption is that the comparison is not apples to apples but there are obvious similarities.
I've not found consolidated information ...
35
votes
4
answers
2k
views
Is there a way to disable a config patch file without renaming or deleting it?
Let's say you want to temporarily exclude a .config file from being applied as a patch by Sitecore. Normally, you would either:
Delete the file;
Or rename it to have an extension different from ....
34
votes
11
answers
37k
views
How to get Solr to run as a service?
I have a Sitecore 8.1 instance and we are using Solr 4.10 for search. I followed the Solr installation guide found here - https://sitecore-community.github.io/docs/search/solr/fast-track-solr-for-lazy-...
34
votes
3
answers
3k
views
Publishing items in bulk
I need to publish around 100K items in Sitecore 8.1 programmatically. They don't have a common parent, they are spread out in several folders but I have their IDs.
I tried using PublishOptions:
...
33
votes
3
answers
2k
views
How do I reference Sitecore binaries from NuGet?
I've heard through the grapevine that Sitecore DLL's can be referenced through the use of NuGet Packages. I found Sitecore.NuGet, but I don't think that's the right option. I also found this blog ...
33
votes
2
answers
1k
views
Thread scope of switchers, disablers and contexts
A while back I surprised to find that objects in Sitecore context are specific to the current thread. So, for example, if I run a parallel loop I can't rely on Sitecore context from inside that loop.
...
32
votes
6
answers
2k
views
How to delete a Sitecore module?
Is there any simple way to remove a Sitecore module from an instance? I am trying to remove WFFM and ECM from a 7.5 instance. The guidance I got from a Sitecore engineer was to look at the ...
31
votes
5
answers
6k
views
What does the "Publish related items" checkbox do in Sitecore?
When you publish an item in Sitecore through the Publish item dialog, you are offered several options. You can choose between Smart publish or Republish, you can also choose whether to Publish ...
30
votes
9
answers
11k
views
How to Uninstall an instance created using the Sitecore Install Framework
I've been playing with the creation of Sitecore 9 instances, however I keep running into issues (which is not related to my question), but as I fix various things related to my local configuration, I ...
27
votes
5
answers
2k
views
How to be Recommended to be a Sitecore MVP?
Currently I do not personally know any Sitecore MVP's or employees to recommend me for this honor. I feel like I've given back to the community (although I'm looking to expand this even further in ...
27
votes
5
answers
5k
views
How to change item templates and retain existing data
We are refactoring our project and are trying to clean up the usages of templates throughout the project. There are a number of templates that are very similar that could all be using the same data ...
27
votes
3
answers
3k
views
Sitecore IP Geo location Service-Personalization with Geo-based conditions does not work
Sitecore Personalization using GEO IP is not executed .
I have activated "Sitecore IP Geo location Service" and followed all steps needed to activate the service for Sitecore instance (8.1 update 1)
...
27
votes
9
answers
9k
views
No forms are displaying in Sitecore 9 Forms area
Let me start by saying that I have had this happen before and typically I have only had to reindex the Master index. However, nothing is working to display the 15 forms that we have created. I have ...
27
votes
2
answers
903
views
Restricting Item Access Rights to Roles - Prevent Users from being assigned Access Rights directly
Best practice is to assign access rights to roles rather than users. So I would like to block changes that apply access rights for users. Sitecore does not seem to trigger the saveUI pipeline on ...
26
votes
2
answers
614
views
How do I get my section icons in the Content Editor to show again?
It used to be, that next to the collapsible sections in the Content Editor tab; the section icon would display on the tab. This made it very easy for me to identify the section I was looking for.
To ...
26
votes
1
answer
793
views
How to package a Helix solution using powershell
Following the Helix modular architecture, my solution is divided into a large amount of separate projects. To deploy the solution as a single package, we need to package all assets, configuration ...
25
votes
9
answers
6k
views
Publish at very specific time
I have a request from a customer to publish (some) content at a very specific time. The content will be generated up front (can be day before, we don't actually know) and will get publish restrictions ...
25
votes
7
answers
6k
views
Is it possible to get a list of all locked items?
Our editors would like to be able to see all locked items at a glance to be able to clean up locks.
There is of course the option to show locked items in the Quick Action Bar in the content tree, but ...
25
votes
2
answers
3k
views
How do I create an NSubstitute Sitecore item?
Is it possible to create a mock Sitecore (using Sitecore 8.2) item using NSubstitute? I would like to write a unit test to cover the following pipeline processor code, which adds a child folder item ...
24
votes
5
answers
8k
views
How do I disable /sitecore access on a Content Delivery Server?
I have 2 servers:
Content Delivery - the live site pointing to the web database.
Content Management - the internal only site pointing to the master database.
I want to prevent access to /sitecore on ...
24
votes
3
answers
8k
views
Installing 9.1 XP0 - Sorry, there was an error : unauthorized_client
After installing 9.1 I see the following error on the login screen:
Steps I followed:
Updated XP0-SingleDeveloper with ".dev.sc.local" to the site names
Ran the installation using XP0-...
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. ...
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 ...
24
votes
12
answers
21k
views
You must have a user with the same password in master or target server
I'm installing the Sitecore 9 XP0 locally and struggling with the following problem:
installation process fails with the following error:
Unable to connect to master or target server '...
24
votes
2
answers
6k
views
How do I implement Accelerated Mobile Pages (AMP) with Sitecore?
This is just a general question. Has anyone implemented AMP with Sitecore before?
Is it possible, how difficult and could you point me in the direction of documentation?
23
votes
2
answers
7k
views
How does the "Clean up databases" feature work?
In the Control Panel, there is a "Clean up databases" button. How does it work? What operations are carried out during a database cleanup?
23
votes
2
answers
3k
views
Is it possible to use any personalisation rules without xDB
Is it possible to make use of any of the component personalisation rules without xDB being enabled? e.g. to swap/hide a component depending on the current date? I'm not interested in tracking the ...
23
votes
2
answers
626
views
Can I encrypt the Sitecore Publishing Service connection strings?
Is there a way to encrypt the connection strings of the Sitecore Publishing Service? I don't want the connection strings to stay in clear text on the server, nor leave the system in Sitecore support ...
22
votes
1
answer
23k
views
How can I get started learning Sitecore?
I'm about to start on a Sitecore project in 6-8 weeks time. I have extensive ASP.NET MVC experience (4 years) and know the ins-and-outs of web development fairly well.
I am scheduled for official ...
22
votes
4
answers
7k
views
How can I disable xDB?
If I don't have a working connection to MongoDB and I don't want to use xDB functionality. Currently, my logs are being filled with errors.
What is the configuration needed to disable xDB?
22
votes
5
answers
3k
views
OnPublishEndAsync not triggering on CD Server
I am setting up an existing site to use separate authoring and delivery servers. We have configured the onPublishEndAsync event to use the web database, and check for threshold is set to true. When I ...
22
votes
3
answers
5k
views
URL Redirects, When to use Sitecore vs. when to use IIS UrlRewrite Rules
For the purpose of this conversation, let's leave URL rewriting that doesn't result in a browser redirect off the table.
Here are a number of URL Redirect scenarios that are regularly encountered for ...
22
votes
5
answers
2k
views
What is the impact to a Sitecore instance while rebuilding the links database?
I am referring specifically the Links database, stored in the "Links" table, as defined here:
<!-- LINK DATABASE -->
<LinkDatabase type="Sitecore.Data.$(database).$(database)LinkDatabase,
...
22
votes
2
answers
1k
views
How can I copy roles between environments using TDS?
Normally I use TDS to move Sitecore items from one environment to the next (e.g. dev to QA to stage to prod). For many sites, being able to move items is sufficient. However, some sites have specific ...
22
votes
6
answers
6k
views
The HTTP response was not successful: Forbidden
I have tried Sitecore 9 update 1 installation on my local Windows 10 and encountered this error:
Exception: Sitecore.XConnect.XdbCollectionUnavailableException
Message: The HTTP response was not ...
21
votes
8
answers
14k
views
What is the fastest way to delete thousands of items in the content tree?
We are trying to delete tens of thousands of items in the content tree. However, it is taking a VERY long time to do that. We have tried to delete through the Sitecore Experience Editor and it is ...
21
votes
3
answers
7k
views
Global.asax Application_Start not hit after upgrade to Sitecore 8.2
We noticed the Application_Start in the Global asax is no longer hit after the upgrade to Sitecore 8.2.
Does anyone have an idea what may have caused this?
My global.asax.cs:
public class Global : ...
21
votes
3
answers
4k
views
Access denied security roles on media attach
I created a specific role inheriting the following sitecore roles :
I gave it the access to my media library folder and inheritance but i still can't click on the attach button, while i can detach ...
21
votes
4
answers
4k
views
When should I use the "NoReferences" NuGet packages?
I'm converting a Habitat solution using DLLs checked into source control over to NuGet packages using the Sitecore package source feed.
When should I use the packages marked NoReferences (so that I ...