Richard Seal
Moderator
  • Member for 5 years, 4 months
  • Last seen this week
Sitecore Item - Generated HTML
Accepted answer
6 votes

While both answers so far will work. I believe it would be far simpler to setup the email as a "campaign" style page on the site. Most emails that contain html should have a "cannot view this page? ...

View answer
How to inhibit reaching other site content using domain of first site
Accepted answer
7 votes

The simplest way would be with security. If you give each site a unique domain and then simply deny read access to the {sitedomain}/Anonymous user it would give you what you want. So the site ...

View answer
Facebook latest page content in the share dialog
5 votes

There is nothing OOTB built into Sitecore for this. To clear the Facebook cache you have 2 options: Manual Cache Clear You can manually clear the cache by going to the Facebook Debug Tool and enter ...

View answer
Working on Habitat with VS 2017
Accepted answer
10 votes

You need to change 2 things to get the gulp script to use v15.0 tools for MSBuild. First, in the gulp.js file, you need to change everywhere you see this toolsVersion: 14.0 to toolsVersion: 15.0. ...

View answer
Many hours to delete 670 old versions of an item - Sitecore 7.2
7 votes

If you use Sitecore PowerShell Extensions you can make this process faster by wrapping it in an EventDisabler SPE has a Remove-ItemVersion cmdlet that lets you select the language(s) versions and ...

View answer
Handle all Custom Errors in Sitecore MVC
11 votes

So for Sitecore - a global error handler in the global.asax will not work properly. The better way to do it is to override the code that calls each rendering and handle the errors there. ...

View answer
Is it possible to use any personalisation rules without xDB
Accepted answer
23 votes

Yes its actually very simple. You need to set the following settings: Xdb.Enabled set to false Xdb.Tracking.Enabled set to true That will disable Xdb, but still allow the personalization rules to ...

View answer
Should Foundation.Abstractions be a single module or a grouping of granular modules?
Accepted answer
4 votes

Let's look at what Feature/Foundation layers are defined as (I'll ignore Project for now as the question focuses on Feature/Foundation): Feature The concrete features of the solution, grouped by the ...

View answer
Object reference at application initialize after changing to solr search provider
Accepted answer
2 votes

This is because of your version of Solr. Changes in the default schema.xml file that ship with 4.8+ can cause this issue. To Resolve this use the following steps: Make the following changes in the ...

View answer
How to load partial view
Accepted answer
2 votes

You can't submit an MVC form in the standard MVC way when using Sitecore. You have to do some specific things. Method 1: Sitecore().FormHandler First, your razor view needs to change from using Ajax....

View answer
How Sitecore 8.2 controls the communication with SQL Server Always On?
Accepted answer
4 votes

Sitecore just uses the standard .net SqlClient data provider. So these values are part of the standard .net connection string properties for 4.5+ According to the docs, The ConnectRetryCount and ...

View answer
Understanding Search Based on _content field
Accepted answer
6 votes

If you look at the _content field definition in the Solr schema.xml file you see this: <field name="_content" type="text_general" indexed="true" stored="false" /> The field is indexed and has ...

View answer
Patch attribute does not replace patch:source
0 votes

It looks like its just the order that Sitecore is processing the include files. Your file InitializeGlobalFilters.config will be processed before the Sitecore.Mvc.config, because it processes them in ...

View answer
Associate custom data to sitecore languages
3 votes

Agreed - the first 2 approaches are risky because you are changing core Sitecore templates and in upgrades you could lose those changes easily. One option would be to create a template with a field ...

View answer
Run serialize command from outside the Sitecore as a service
Accepted answer
3 votes

There isn't anything OOTB that will allow you to hit a rest service. You have a couple of options: Sitecore PowerShell Extensions You could use Sitecore PowerShell Extensions remoting to do that ...

View answer
Add a new template type to existing bucket
Accepted answer
1 votes

Make sure you have set Is Bucketable on the standard values for templates that you want to be able to store inside a bucket. A bucket can have items based on many number of content templates. For ...

View answer
MVC Routing with Language Variant in Sitecore
1 votes

You could add your language as a parameter to the route. Something like this: routes.MapRoute("FormsApiWithLanguage", "{languageCode}/api/sitecore/Forms/SubmitForm", new { controller = "Forms"...

View answer
Unlocking items via Sitecore PowerShell Extensions scheduled task
3 votes

It sounds like you are running into a permissions issue. You could try wrapping the whole script in a security disabler like this: New-UsingBlock(New-Object -TypeName "Sitecore.SecurityModel....

View answer
Set relative datasource for rendering
Accepted answer
7 votes

I'm going to try and make this not a link only answer. What you are trying will not work because the renderings fields (shared and final) want to store the ID of the data source item. If you just type ...

View answer
Sitecore API to get Browser, Device and OS details
2 votes

Sitecore will capture information about the request in the analytics, but if you are just sending the data to the 3rd party analytics API you can probably just use the Request.Browser object that is ...

View answer
Create Sitecore Link with Powershell
Accepted answer
7 votes

With PowerShell you can use the New-UsingBlock cmdlet to mimick C#'s using statement. So assuming that you can use ancestors of the item to get the Site Root and then get the SiteContext from that ...

View answer
Lucene search in load balance environment is not showing proper results
4 votes

The best way to fix this would be to move to SOLR - really its the safest way to ensure that the index is the same for all delivery servers. On top of that you get additional things like the query ...

View answer
When are Sitecore Pages created?
Accepted answer
7 votes

Pages are "Created" when a user requests that page, but that doesn't mean that the content is new each time. You can setup caching on your renderings to limit the load on the server each time a page ...

View answer
How to use Dynamic Placeholders
Accepted answer
8 votes

It sounds like you have added the component to a placeholder key called section - with dynamic placeholders there will be an extra bit of data appended to that. Depending on the version of dynamic ...

View answer
Adding new sitecore handler to web.config
3 votes

you just need to create a patch file that adds an entry to the <customHandlers> section. Something like this: <?xml version="1.0"?> <configuration xmlns:patch="http://www.sitecore.net/...

View answer
Creating seo friendly URLs
Accepted answer
8 votes

The simplest way would be to separate the navigation from the content structure. So create your navigation to work from a Datasource root item that defines how your nav is built. Each item can then ...

View answer
Is it possible to limit the "sitecore\Sitecore Client Account Managing" role?
Accepted answer
5 votes

You can do this by changing the security on the application in the core database. The Role Manager located here: /sitecore/content/Applications/Security/Role Manager. The default security on it has /...

View answer
How to resolve this error when using 'LinqPad Driver for Sitecore' with Sitecore 8.1?
Accepted answer
2 votes

If you look at the source on GitHub - the Sitecore8AppConfigReader.cs file, it does a simple check on the version number: public override bool IsSupportedVersion(Version version) { if (version == ...

View answer
Solr search with stemming
Accepted answer
7 votes

You can do this on the SOLR configuration site. To setup stemming in SOLR you just need to set the tokenizer and analyzer for the field. For example. Say you have a field in your template called Body ...

View answer
Template standard values final layout
Accepted answer
5 votes

This is really an opinion based answer, but the only advantage I see is the ability to have different presentation per language variant on the standard values of the template. This could have ...

View answer