Category Archives: Sitecore 8

Sitecore Security: Roles in Roles – What it is and how it works

The Sitecore Roles-In-Roles is an extension to the basic authorization that have been around ever since Sitecore 5. WHAT IS ROLES-IN-ROLES? Roles-In-Roles allows you to have nested roles, so when you add a role to a user, the user is … Continue reading

Posted in Sitecore 5, Sitecore 6, Sitecore 7, Sitecore 8, Sitecore 9 | Tagged , , , , | 1 Comment

Sitecore check access and roles programatically

The Sitecore security model have changed over time, but the general API to check security access and roles have been stable for many many years. CHECK IF USER HAS ACCESS TO AN ITEM: To check if a user have access … Continue reading

Posted in .net, c#, General .NET, Sitecore 6, Sitecore 7, Sitecore 8, Sitecore 9 | Tagged , , , | 1 Comment

Sitecore 9 Caching – Sitecore.Caching.CacheManager.GetAllCaches() changed from Sitecore 8

With the increased use of dependency injection, in Sitecore, some classes do no longer return concrete classes, but interfaces instead. You therefore need to change your code, if you use the Sitecore.Caching.CacheManager. The Sitecore.Caching.Cache class is retired and have been replaced … Continue reading

Posted in Sitecore 8, Sitecore 9 | Tagged , , | Leave a comment

Sitecore 8.2 changed maxInvalidPasswordAttempts from 256 to 5

I noticed that some of my users got locked out of my solution after I upgraded from Sitecore 8.0 to Sitecore 9.0. That’s because Sitecore have decided to change the default value of the membership maxInvalidPasswordAttempts property from 256 attempts to … Continue reading

Posted in Sitecore 8, Sitecore 9 | Tagged , | 2 Comments

Sitecore find Unused Sublayouts

Long lived Sitecore solutions tend to build up unused renderings and sublayouts as design, features and functions evolve. Finding those unused sublayouts it not just a matter of checking the Sitecore Link Database for sublayouts with no references because: You will … Continue reading

Posted in c#, General .NET, Sitecore 5, Sitecore 6, Sitecore 7, Sitecore 8, Sitecore 9 | Leave a comment

Sitecore find unused templates

Long lived Sitecore projects tend to build up dead templates and renderings as design, features and functions evolve. Finding those unused templates is not always just a matter of checking the Sitecore link database for templates with no references because: … Continue reading

Posted in Sitecore 5, Sitecore 6, Sitecore 7, Sitecore 8, Sitecore 9 | Tagged , | 1 Comment

Sitecore from Rendering to Experience Editor

In Sitecore, how do you set up a template  and a rendering that works in the Experience editor? Here is the checklist: STEP 1: CREATE A TEMPLATE Create the template. For each field, use the “Title” field for all of … Continue reading

Posted in General .NET, Sitecore 7, Sitecore 8, Sitecore 9 | Tagged , , , , , | Leave a comment

Sitecore Display Name not Shown

My display names went missing from Sitecore. But only in my development environment, not the test or production environment. Some googling lead me to this article from Stackexchange, but my database were in good condition. It turns out, that even … Continue reading

Posted in Sitecore 7, Sitecore 8, Sitecore 9 | Tagged , | Leave a comment

Sitecore and WebApi

So you have some legacy WebApi code that needs to run in your Sitecore solution? Or are just just a WebApi expert and need to use your favorite tool in the toolbox? Fear not, WebApi will run fine in your … Continue reading

Posted in .net, c#, General .NET, Sitecore 7, Sitecore 8, Sitecore 9 | Tagged , | Leave a comment

Sitecore open internal links in new window

Frequent users of Sitecore have already noticed that the “Insert Sitecore Link” dialog does not have a target selector: Yes it’s true, if you wish to open an internal link in a new windows, it’s a 2 step process. First … Continue reading

Posted in Sitecore 5, Sitecore 6, Sitecore 7, Sitecore 8, Sitecore 9 | Tagged , , | Leave a comment