Sergeant Sitecore
  • Member for 5 years, 4 months
  • Last seen this week
Requests stop being served due to Lucene Deadlock
Accepted answer
22 votes

We had a similar problem in a production installation that had a significant number of calculated Lucene fields, plus a number of very active content authors with a lot of publishing and index ...

View answer
How do I implement Accelerated Mobile Pages (AMP) with Sitecore?
Accepted answer
21 votes

Because Sitecore supports server-side responsive rendering, it's very easy to use the Device feature of the CMS to support AMP. AMP Layout (using Razor) This example is adapted from Google's example ...

View answer
How to get the correct SiteContext for an Item when you only have the Item
Accepted answer
16 votes

Probably the most terse: string itemPath = item.Paths.FullPath; SiteInfo site = SiteContextFactory.Sites .Where (s => s.RootPath !="" & itemPath.StartsWith(s.RootPath, StringComparison....

View answer
"Unpublishing" a Language from a site
Accepted answer
16 votes

Because you want to keep the content in the Master database, but you do not want to publish it to the web database, this may be a good opportunity to use Workflow. If you're using Workflow on these ...

View answer
Restricting Item Access Rights to Roles - Prevent Users from being assigned Access Rights directly
7 votes

Because Sitecore does not provide you the hooks to validate the transaction you're after, your best bet is to hide the security features and manage them in code. Here's a few suggestions that aren't ...

View answer
Multilist source query to exclude items whose parent has a specific template id
5 votes

I would suggest switching your field technology from a Multilist to a Treelist. The treelist allows the user to see the context of the object they're selecting. Considering that you're offering to ...

View answer
How to Add Anchor Tag with Internal Link in The RTE Field?
4 votes

I just attempted this in Sitecore 8.2 Update 5 with no issues. Here are the steps. Step 1 Open an Item with a Rich Text field and enter some text. Step 2 Select the text you want to use for your ...

View answer
How to revoke publishing of sub-items for a role?
4 votes

What you are trying to do here is actually better accomplished through Workflow. Using Workflow Remove the target users from the Sitecore Client Publishing role(s). Add a Workflow Action to the ...

View answer
Restriction of Pages using sitecore domain
Accepted answer
3 votes

Separate Site Strategy Given your clarifications, have you considered creating a separate site on which to host this protected content? In the site definition you can specify the security domain, and ...

View answer
What is the best way to generate a self-referencing canonical tag?
3 votes

You're taking the correct approach by using LinkManager to generate the URL for the canonical tag. LinkManager should always generate the canonical everywhere a content item is referenced. It's ...

View answer
Add Component buttons positioned offscreen after upgrade
3 votes

It is common for there to be stylesheet and javascript changes with new Sitecore updates. Make sure: You have cleared your browser cache and any Sitecore cookies. Your deployment method successfully ...

View answer
How do I get my section icons in the Content Editor to show again?
3 votes

The simple answer is that when Sitecore redesigned the content editor for 8.0, they removed icons from the sections, probably to keep the design cleaner.

View answer
Remove rootpath in Internal Link Field
Accepted answer
3 votes

Internal Link is a System field type. Unless you're creating new Sitecore features, I'd recommend you switch to one of the following: *Generallink Use this if your users can select both Sitecore ...

View answer
What are some appropriate uses for Sitecore Data Providers?
3 votes

If you have data in a back-end system that has network access limitations, using a Data Provider allows Sitecore to publish the data as Items, sparing you the need to worry about VPNs or latency when ...

View answer
Content authors to see their own items only in workbox, not from other authors
2 votes

No, there is not. Sitecore's security (of which Workflow is an integral part) is Role-based, not individual based. The ability to "see" and "act" on an Item in the workbox is determined by the ...

View answer
What is the difference between default value of a template and it's standard value in Sitecore?
2 votes

Default Value is obsolete. It dates back to the days before Standard Values (Sitecore 5.0-5.2 series if I recall correctly). You should stick with Standard Values if at all possible.

View answer
Analytics location - no data follow-up
Accepted answer
2 votes

As far as I can tell from my own installation (we ran without GeoIP for a week or so) the answer is no, it does not go back in time. However, if a visitor returns to the site, their Geo will be ...

View answer
How to refactor duplicated fields?
2 votes

The best approach to this will require some data grooming. At its simplest, it can be done with nothing besides stock Sitecore and the Sitecore Powershell module. If you're not comfortable with ...

View answer
Securing a page with item permissions without redirecting the user away
2 votes

Based on your description, I would assume that you have a page that contains a significant amount of content that is visible to anonymous users (and search engines) but you also want to be able to ...

View answer
Why do I get an error when trying to open the Rebuild Reporting Database page in Sitecore 8.1?
2 votes

Whenever dialogs stop working after Sitecore Upgrades, there are two things you should check: Did you clear your browser cache (& cookies) as requested during the upgrade? Does your deployment ...

View answer
What is the difference between IsExperienceEditor and IsExperienceEditorEditing
2 votes

The IsExperienceEditorEditing flag indicates that the user is actively engaged in changing the Item being edited (either the Item, the Presenatation Details, or one of the Datasource Items on page). ...

View answer
How to make a history record of the website in Sitecore?
1 votes

If you have a legal obligation to produce the physical appearance of any URL on your site at any point in the past, do not rely on Sitecore, or any dynamically-assembled archive. It may not be ...

View answer
Are there any reasons to start a new Sitecore project today, using Webforms?
1 votes

If you're brand new to Sitecore, and you're brand new to MVC, I would use MVC for your first Sitecore project. It will allow you to get embedded in the current direction the product is going without ...

View answer
Using Sitecore.Services.Client to provide XML Feeds
1 votes

Frankly, if you're looking to produce an RSS or ATOM style document, I would use Sitecore's Presentation Device strategy and create an RSS layout of the root page of your News section (for example). ...

View answer
Sitecore field with standard values not reflecting on item
1 votes

Judging from the screenshots, it appears that the English version doesn't have a Standard Values. I understand for a Shared field this seems counter-intuitive, but I'd like to see a screenshot of the ...

View answer
providing pop-up while publishing to Web data base
1 votes

As stated by your question, No, not without significant programming and disabling default Sitecore screens. (You'd basically have to replace the publishing dialog with an alternate. Not impossible, ...

View answer
Sitecore 8.2 Automatically assigning profile cards to subitems in a folder
1 votes

As mentioned in the comments, there are two solutions: Solution 1: Standard Values Assuming the contents of your folder all share a Data Template (or inherit from one) you can assign the profile ...

View answer
How can I personalize content within a JSON endpoint served by Sitecore?
1 votes

Considering that any Sitecore Item can have any number of presentation settings based on "device", it's possible to create output that emits JSON, (say, using a Controller Rendering). Given that you'd ...

View answer
Validator bar not appearing for general link field
1 votes

The Sitecore RequiredFieldValidator checks to see if the supplied field value is null or empty. With XML-type fields (General Link fits in this type) this validator seldom works because merely ...

View answer
Sitecore index update jobs getting stuck
1 votes

I strongly suggest you look at this post, because you're probably having a similar problem: Lucene Deadlock

View answer