Quantcast
Channel: briancaos – Brian Pedersen's Sitecore and .NET Blog
Browsing all 277 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

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...

View Article


C# Mask email address for GDPR reasons

UPDATE 2018-08-10: See this post SHA256 hashing email addresses for GDPR reasons for an even better masking approcah. Thanks to Inspector Cluedget for the tip. This is a C# extension method that will...

View Article


SHA256 hashing email addresses for GDPR reasons

This is a followup on the previous post C# Mask email address for GDPR reasons, where user Inspector Cluedget pointed out that masking (replacing characters with *) an email address in the log file is...

View Article

Image may be NSFW.
Clik here to view.

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”...

View Article

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...

View Article


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...

View Article

Image may be NSFW.
Clik here to view.

Using Notepad++ to mask email address for GDPR reasons

With the new GDPR rules enforced in Europe, shipping log files containing personal information (including email addresses) to 3rd parties are a no-go. Unless you have a signed controller/processor...

View Article

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...

View Article


Sitecore The “placeholder” placeholder was not rendered in the “page” item

Do you get this error in Sitecore 9? 9952 2018:10:23 12:56:42 WARN The “xxxxx” placeholder was not rendered in the “xxxxx” item ({00000000-0000-0000-0000-000000000000}) rendering context. Possible...

View Article


Sitecore 9 Dependency Injection – Extend the Sitecore Logging

With the extended use of Dependency Injection (DI) in Sitecore 9, you have yet another tool to extend the Sitecore functionality. With DI you can basically replace or extend standard Sitecore...

View Article

Solr delete document using UI and querystring

How do you delete a document from Solr? You can use query string parameters to do the delete:...

View Article

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

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...

View Article

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...

View Article


c# Async fire and forget

Often in application development you want a process to call another thread and continue the process flow, without waiting for a response from the called thread. This pattern is called the “fire and...

View Article

Image may be NSFW.
Clik here to view.

Azure Application Insights – Multiple services from same server

This trick enables you to have multiple services from the same server log to the same Application Insights instance, and at the same time distinguish between each service. Application Insights...

View Article


Image may be NSFW.
Clik here to view.

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...

View Article

SQL Cannot resolve the collation conflict between “xxx” and “xxx” in the...

When joining 2 tables from different databases, the following error might occur: Cannot resolve the collation conflict between “SQL_Latin1_General_CP1_CI_AS” and “Danish_Norwegian_CI_AS” in the equal...

View Article


Image may be NSFW.
Clik here to view.

Using emojis in Sitecore

Because people younger than me stopped communicating with words and instead adopted a modern version of hieroglyphs, emojis have become a part of every modern OS and Browser, and have even been adopted...

View Article

Image may be NSFW.
Clik here to view.

Improve Sitecore Experience Editor Performance by Disabling Number of Locked...

The Sitecore Experience Editor is not the fastest tool in the shed, but you can improve the performance slightly by disabling the counter on the “My items” button that shows how many items you...

View Article

Sitecore create packages using PowerShell

The Sitecore PowerShell Extensions is a very powerful module what allows you to automate a lot of the trivial Sitecore tasks. The Export-Package command will create a Sitecore package. This script will...

View Article
Browsing all 277 articles
Browse latest View live